Thanks Marcus and Vasil, you were spot on regarding Qt4
I still had residue of Qt4 packages, once these purged and GNURadio rebuilt , no more crashes with segmentation fault
Cheers
Joe
On Sun, Apr 26, 2020 at 10:56 PM Vasil Velichkov <vvvelichkov@gmail.com> wrote:
Hi Joe,
On 26/04/2020 15.13, Joe D wrote:
> Regarding gdb , is there any additional steps to load the symbols or the
> instruction on https://wiki.gnuradio.org/index.php/TutorialsDebugging will
> suffice
I'm not familiar with this tutorial, for gnuradio's symbols it should be enough to rebuild in "RelWithDebInfo" or "Debug" mode.
rm CMakeCache.txt
cmake -D CMAKE_BUILD_TYPE=RelWithDebInfo ..
make clean
make
For debug symobols of external libraries you need to install their dbg or dbgsym packages:
https://wiki.ubuntu.com/DebuggingProgramCrash
https://wiki.debian.org/HowToGetABacktrace
>
> ==22123== Process terminating with default action of signal 11 (SIGSEGV):
> dumping core
> ==22123== Bad permissions for mapped region at address 0x104C66C0
> ==22123== at 0x13B1D604: ref (qlist.h:121)
> ==22123== by 0x13B1D604: QList (qlist.h:121)
> ==22123== by 0x13B1D604: QPrinterInfoPrivate (qprinterinfo_p.h:71)
> ==22123== by 0x13B1D604: __static_initialization_and_destruction_0
> (qprinterinfo.cpp:35)
> ==22123== by 0x13B1D604: _GLOBAL__sub_I_qprinterinfo.cpp
> (qprinterinfo.cpp:163)
> ==22123== by 0x4010732: call_init (dl-init.c:72)
> ==22123== by 0x4010732: _dl_init (dl-init.c:119)
> ==22123== by 0x40151FE: dl_open_worker (dl-open.c:522)
> ==22123== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196)
> ==22123== by 0x40147C9: _dl_open (dl-open.c:605)
> ==22123== by 0x544CF95: dlopen_doit (dlopen.c:66)
> ==22123== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196)
> ==22123== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215)
> ==22123== by 0x544D734: _dlerror_run (dlerror.c:162)
> ==22123== by 0x544D050: dlopen@@GLIBC_2.2.5 (dlopen.c:87)
> ==22123== by 0x5F7DBC: _PyImport_FindSharedFuncptr (in
> /usr/bin/python3.6)
> ==22123== by 0x5FB027: _PyImport_LoadDynamicModuleWithSpec (in
> /usr/bin/python3.6)
This looks like https://github.com/gnuradio/gnuradio/issues/3215 and https://github.com/gnuradio/gnuradio/issues/2895
If you have libqt4-dev installed on your system and you don't need it for something else you may try to uninstall it.
Regards,
Vasil
No comments:
Post a Comment