Friday, August 23, 2024

Re: Segmentation fault trying to run gnuradio-companion

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
>

No comments:

Post a Comment