Hello GNURadio’ers Release 3.8.1 installed from source on ubuntu 18.04 qa_qtgui (Failed) with Segmentation fault as below (It was run on a native X server access Terminal )
testing with xvfb-run ctest -V -R qa_qtgui ends with Segmentation fault as well 349/365 Testing: qa_qtgui 349/365 Test: qa_qtgui Command: "/bin/sh" "/Applications/gnuradio/build/gr-qtgui/python/qtgui/qa_qtgui_test.sh" Directory: /Applications/gnuradio/build/gr-qtgui/python/qtgui "qa_qtgui" start time: Apr 26 16:58 AEST Output: ---------------------------------------------------------- Segmentation fault (core dumped) <end of output> Test time = 0.83 sec ---------------------------------------------------------- Test Failed. "qa_qtgui" end time: Apr 26 16:58 AEST "qa_qtgui" time elapsed: 00:00:00 ---------------------------------------------------------- Practically , cannot use any QT instrumentation block in GRC as it crashes GRC with Segmentation fault Attached a valgrind log Thanks! Joe
root@ubuntu-srv-10:/Applications/gnuradio/build/gr-qtgui/python/qtgui# root@ubuntu-srv-10:/Applications/gnuradio/build/gr-qtgui/python/qtgui# valgrind -v ctest -V -R qa_qtgui ==21388== Memcheck, a memory error detector ==21388== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==21388== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==21388== Command: ctest -V -R qa_qtgui ==21388== --21388-- Valgrind options: --21388-- -v --21388-- Contents of /proc/version: --21388-- Linux version 4.15.0-96-generic (buildd@lgw01-amd64-004) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 --21388-- --21388-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-rdtscp-sse3-avx --21388-- Page sizes: currently 4096, max supported 4096 --21388-- Valgrind library directory: /usr/lib/valgrind --21388-- Reading syms from /usr/local/bin/ctest --21388-- Reading syms from /lib/x86_64-linux-gnu/ld-2.27.so --21388-- Considering /lib/x86_64-linux-gnu/ld-2.27.so .. --21388-- .. CRC mismatch (computed 1b7c895e wanted 2943108a) --21388-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.27.so .. --21388-- .. CRC is valid --21388-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux --21388-- Considering /usr/lib/valgrind/memcheck-amd64-linux .. --21388-- .. CRC mismatch (computed 41ddb025 wanted 9972f546) --21388-- object doesn't have a symbol table --21388-- object doesn't have a dynamic symbol table --21388-- Scheduler: using generic scheduler lock implementation. --21388-- Reading suppressions file: /usr/lib/valgrind/default.supp ==21388== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-21388-by-root-on-??? ==21388== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-21388-by-root-on-??? ==21388== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-21388-by-root-on-??? ==21388== ==21388== TO CONTROL THIS PROCESS USING vgdb (which you probably ==21388== don't want to do, unless you know exactly what you're doing, ==21388== or are doing some strange experiment): ==21388== /usr/lib/valgrind/../../bin/vgdb --pid=21388 ...command... ==21388== ==21388== TO DEBUG THIS PROCESS USING GDB: start GDB like this ==21388== /path/to/gdb ctest ==21388== and then give GDB the following command ==21388== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=21388 ==21388== --pid is optional if only one valgrind process is running ==21388== --21388-- REDIR: 0x401f2f0 (ld-linux-x86-64.so.2:strlen) redirected to 0x580608c1 (???) --21388-- REDIR: 0x401f0d0 (ld-linux-x86-64.so.2:index) redirected to 0x580608db (???) --21388-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so --21388-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so .. --21388-- .. CRC mismatch (computed 50df1b30 wanted 4800a4cf) --21388-- object doesn't have a symbol table --21388-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so --21388-- Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so .. --21388-- .. CRC mismatch (computed f893b962 wanted 95ee359e) --21388-- object doesn't have a symbol table ==21388== WARNING: new redirection conflicts with existing -- ignoring it --21388-- old: 0x0401f2f0 (strlen ) R-> (0000.0) 0x580608c1 ??? --21388-- new: 0x0401f2f0 (strlen ) R-> (2007.0) 0x04c32db0 strlen --21388-- REDIR: 0x401d360 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c33ee0 (strcmp) --21388-- REDIR: 0x401f830 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c374f0 (mempcpy) --21388-- Reading syms from /lib/x86_64-linux-gnu/librt-2.27.so --21388-- Considering /lib/x86_64-linux-gnu/librt-2.27.so .. --21388-- .. CRC mismatch (computed 16979484 wanted f9e041e3) --21388-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/librt-2.27.so .. --21388-- .. CRC is valid --21388-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.27.so --21388-- Considering /usr/lib/debug/.build-id/28/c6aade70b2d40d1f0f3d0a1a0cad1ab816448f.debug .. --21388-- .. build-id is valid --21388-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.27.so --21388-- Considering /lib/x86_64-linux-gnu/libdl-2.27.so .. --21388-- .. CRC mismatch (computed bd82fa02 wanted d1fdccc9) --21388-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.27.so .. --21388-- .. CRC is valid --21388-- Reading syms from /usr/lib/x86_64-linux-gnu/libssl.so.1.1 --21388-- object doesn't have a symbol table --21388-- Reading syms from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 --21388-- object doesn't have a symbol table --21388-- Reading syms from /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28 --21388-- object doesn't have a symbol table --21388-- Reading syms from /lib/x86_64-linux-gnu/libm-2.27.so --21388-- Considering /lib/x86_64-linux-gnu/libm-2.27.so .. --21388-- .. CRC mismatch (computed 7feae033 wanted b29b2508) --21388-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.27.so .. --21388-- .. CRC is valid --21388-- Reading syms from /lib/x86_64-linux-gnu/libgcc_s.so.1 --21388-- object doesn't have a symbol table --21388-- Reading syms from /lib/x86_64-linux-gnu/libc-2.27.so --21388-- Considering /lib/x86_64-linux-gnu/libc-2.27.so .. --21388-- .. CRC mismatch (computed b1c74187 wanted 042cc048) --21388-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.27.so .. --21388-- .. CRC is valid --21388-- REDIR: 0x65e7c70 (libc.so.6:memmove) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e6d40 (libc.so.6:strncpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e7f50 (libc.so.6:strcasecmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e6790 (libc.so.6:strcat) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e6d70 (libc.so.6:rindex) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e97c0 (libc.so.6:rawmemchr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e7de0 (libc.so.6:mempcpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e7c10 (libc.so.6:bcmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e6d00 (libc.so.6:strncmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e6800 (libc.so.6:strcmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e7d40 (libc.so.6:memset) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x66050f0 (libc.so.6:wcschr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e6ca0 (libc.so.6:strnlen) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e6870 (libc.so.6:strcspn) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e7fa0 (libc.so.6:strncasecmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e6840 (libc.so.6:strcpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e80e0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e6da0 (libc.so.6:strpbrk) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e67c0 (libc.so.6:index) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e6c70 (libc.so.6:strlen) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65f16c0 (libc.so.6:memrchr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e7ff0 (libc.so.6:strcasecmp_l) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e7be0 (libc.so.6:memchr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x6605eb0 (libc.so.6:wcslen) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e7050 (libc.so.6:strspn) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e7f20 (libc.so.6:stpncpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e7ef0 (libc.so.6:stpcpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e97f0 (libc.so.6:strchrnul) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e8040 (libc.so.6:strncasecmp_l) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x667a8a0 (libc.so.6:__memcpy_chk) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65e7b20 (libc.so.6:strstr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x667a970 (libc.so.6:__memmove_chk) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) ==21388== WARNING: new redirection conflicts with existing -- ignoring it --21388-- old: 0x06604450 (__memcpy_chk_sse2_un) R-> (2030.0) 0x04c375e0 __memcpy_chk --21388-- new: 0x06604450 (__memcpy_chk_sse2_un) R-> (2024.0) 0x04c36fa0 __memmove_chk --21388-- REDIR: 0x6605df0 (libc.so.6:wcscpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper) --21388-- REDIR: 0x65fa330 (libc.so.6:__strrchr_sse2) redirected to 0x4c32790 (__strrchr_sse2) --21388-- REDIR: 0x65e0070 (libc.so.6:malloc) redirected to 0x4c2faa0 (malloc) --21388-- REDIR: 0x65fa620 (libc.so.6:__strlen_sse2) redirected to 0x4c32d30 (__strlen_sse2) --21388-- REDIR: 0x5c64d10 (libstdc++.so.6:operator new(unsigned long)) redirected to 0x4c30110 (operator new(unsigned long)) --21388-- REDIR: 0x6604460 (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4c34060 (memcpy@GLIBC_2.2.5) --21388-- REDIR: 0x5c63040 (libstdc++.so.6:operator delete(void*)) redirected to 0x4c311d0 (operator delete(void*)) --21388-- REDIR: 0x66d8fc0 (libc.so.6:__memcmp_sse4_1) redirected to 0x4c35d50 (__memcmp_sse4_1) --21388-- REDIR: 0x6604440 (libc.so.6:__mempcpy_sse2_unaligned) redirected to 0x4c37130 (mempcpy) --21388-- REDIR: 0x65f4970 (libc.so.6:__memchr_sse2) redirected to 0x4c33f80 (memchr) --21388-- REDIR: 0x66ce510 (libc.so.6:__strncmp_sse42) redirected to 0x4c33570 (__strncmp_sse42) --21388-- REDIR: 0x65f2e70 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x4c33da0 (strcmp) --21388-- REDIR: 0x65e3030 (libc.so.6:calloc) redirected to 0x4c31a70 (calloc) --21388-- REDIR: 0x5c64d60 (libstdc++.so.6:operator new[](unsigned long)) redirected to 0x4c30830 (operator new[](unsigned long)) --21388-- REDIR: 0x6604870 (libc.so.6:__memset_sse2_unaligned) redirected to 0x4c365d0 (memset) --21388-- REDIR: 0x66d3070 (libc.so.6:__strcspn_sse42) redirected to 0x4c378d0 (strcspn) --21388-- REDIR: 0x658bc50 (libc.so.6:setenv) redirected to 0x4c37de0 (setenv) --21388-- REDIR: 0x65f9f00 (libc.so.6:__strchr_sse2) redirected to 0x4c328d0 (__strchr_sse2) --21388-- REDIR: 0x65e1c30 (libc.so.6:realloc) redirected to 0x4c31cb0 (realloc) UpdateCTestConfiguration from :/Applications/gnuradio/build/gr-qtgui/python/qtgui/DartConfiguration.tcl --21388-- REDIR: 0x65fa120 (libc.so.6:__strchrnul_sse2) redirected to 0x4c37020 (strchrnul) --21388-- REDIR: 0x5c63070 (libstdc++.so.6:operator delete[](void*)) redirected to 0x4c316d0 (operator delete[](void*)) UpdateCTestConfiguration from :/Applications/gnuradio/build/gr-qtgui/python/qtgui/DartConfiguration.tcl Test project /Applications/gnuradio/build/gr-qtgui/python/qtgui --21388-- REDIR: 0x65e7590 (libc.so.6:__GI_strstr) redirected to 0x4c37760 (__strstr_sse2) Constructing a list of tests --21388-- REDIR: 0x65e0950 (libc.so.6:free) redirected to 0x4c30cd0 (free) --21388-- REDIR: 0x65ff540 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4c32dd0 (strcpy) Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end --21388-- REDIR: 0x5c64d40 (libstdc++.so.6:operator new(unsigned long, std::nothrow_t const&)) redirected to 0x4c303a0 (operator new(unsigned long, std::nothrow_t const&)) --21388-- REDIR: 0x5c63060 (libstdc++.so.6:operator delete(void*, std::nothrow_t const&)) redirected to 0x4c313b0 (operator delete(void*, std::nothrow_t const&)) test 1 Start 1: qa_qtgui 1: Test command: /bin/sh "/Applications/gnuradio/build/gr-qtgui/python/qtgui/qa_qtgui_test.sh" 1: Test timeout computed to be: 10000000 --21388-- REDIR: 0x658bcb0 (libc.so.6:unsetenv) redirected to 0x4c37d40 (unsetenv) 1: Segmentation fault (core dumped) 1/1 Test #1: qa_qtgui .........................***Failed 0.65 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 1.41 sec The following tests FAILED: 1 - qa_qtgui (Failed) Errors while running CTest ==21388== ==21388== HEAP SUMMARY: ==21388== in use at exit: 0 bytes in 0 blocks ==21388== total heap usage: 1,705 allocs, 1,705 frees, 673,654 bytes allocated ==21388== ==21388== All heap blocks were freed -- no leaks are possible ==21388== ==21388== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==21388== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) root@ubuntu-srv-10:/Applications/gnuradio/build/gr-qtgui/python/qtgui#