Friday, August 23, 2024

Re: Segmentation fault trying to run gnuradio-companion

Thank you Marcus. It's not running, did I type something wrong?...



Also our IT saw this earlier which pointed to the gtk3 library:

... gnuradio-companion is a python script, so the python interpreter is crashing.

 gnuradio-compan[38828]: segfault at 7ffd5a46dff8 ip 000072ee877923bb sp 00007ffd5a46e000 error 6 in libgtk-3.so.0.2404.29[72ee87684000+38300

In the gtk3 library, which is graphics related - which could be a difference between a console and remote X11 session.

Thank you!

Grace

On 8/23/24 8:04 AM, Marcus Müller wrote:
Hi Grace,

this happens when one of the libraries that gnuradio-companion needs to load crashes. Sadly, it's kind of hard to guess which one that would be, but on long-term expectation, it's a version mismatch somewhere.

But why guess when we can find out? The segfault error message looks like Linux, so if you have `gdb` installed, you can:

$ gdb --args $(which gnuradio-companion)
(gdb) set logging file gdblog.txt
(gdb) set logging enabled
(gdb) run
… wait for the crash to happen
(gdb) thread apply all backtrace
(gdb) quit

and share the resulting gdblog.txt with us :)

Gdb might ask you underway whether to enable debuginfo downloads, don't let yourself be irritated by that, "y" is fine.

Best regards,
Marcus

On 22.08.24 22:35, Grace Yeung wrote:
Hi, I am getting a segmentation fault trying to run gnuradio-companion from the command-line. Any advise what to look into? Thanks.

$ gnuradio-companion &
[1] 6671
$ >>> Warning: vocoder_codec2_decode_ps - option_attributes are for enums only, ignoring
 >>> Warning: vocoder_codec2_encode_sp - option_attributes are for enums only, ignoring

[1]+  Segmentation fault      (core dumped) gnuradio-companion


Grace

-- 
Grace K. Yeung, MS
Research Support Scientist
NorthWest Research Associates
139 Bonifacio Pl, Suite 200
Monterey, CA 93940
grace@nwra.com
https://www.nwra.com



--   Grace K. Yeung, MS  Research Support Scientist  NorthWest Research Associates  139 Bonifacio Pl, Suite 200  Monterey, CA 93940  grace@nwra.com  https://www.nwra.com

No comments:

Post a Comment