Saturday, August 24, 2024

Re: Segmentation fault trying to run gnuradio-companion

Interesting! Could you run `gnuradio-config-info --version` and `gnuradio-config-info
--prefix` for me and also `python3 -c 'import gi; print(gi.__file__, gi.version_info)'`?

Thanks,
Marcus

On 24.08.24 17:36, Grace Yeung wrote:
> Thanks Marcus as always!
>
> I upgraded from Ubuntu 20 to 22 April 2023 and everything has been working since until
> this week. And it happened after a hard reboot. I don't recall manually installing gnuradio…
>
> Thanks.
>
> 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
> ------------------------------------------------------------------------------------------
> *From:* discuss-gnuradio-bounces+grace=nwra.com@gnu.org
> <discuss-gnuradio-bounces+grace=nwra.com@gnu.org> on behalf of Marcus Müller
> <mmueller@gnuradio.org>
> *Sent:* Friday, August 23, 2024 6:14 PM
> *To:* discuss-gnuradio@gnu.org <discuss-gnuradio@gnu.org>
> *Subject:* Re: Segmentation fault trying to run gnuradio-companion
> Hey, I just saw that your mail where you figured out the command line, and it was too big
> for our mail server to forward.
>
> Indeed, the crash log is 3.4 MB of the GTK functions calling themselves in a recursive
> ring. Since that's a GTK bug we've never encountered: What operating system exactly are
> you on, and how did you install GNU Radio? And: did you perhaps install GTK or pygtk
> manually somehow?
>
> Best,
> Marcus
>
> On 23.08.24 19:50, Grace Yeung wrote:
>> 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 <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 <https://www.nwra.com>
>>
>

No comments:

Post a Comment