[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#980472: cubicsdr: CubicSDR crashes after lauch! (same effect on 2 clean bullseye OS)



Re: LH
> Receivers:
> - HackRF One
> - DX Patrol Mk4
> 
> SDR enumerator starting.
> SoapySDR init..
>     API Version: v0.7.1
>     ABI Version: v0.7
>     Install root: /usr
>     Loading modules...
>     Available factories...airspy, audio, bladerf, hackrf, lime, null,
> osmosdr, redpitaya, remote, rtlsdr, uhd
> Hash collision!!! Fatal error!!

That's a message from hamlib:

https://sources.debian.org/src/hamlib/4.0-4/src/register.c/?hl=215#L215

Does startup work if you first disconnect one of the receivers?

Do you have anything configured for hamlib radio control?

> [INFO] [UHD] linux; GNU C++ version 10.2.1 20201207; Boost_107400;
> UHD_3.15.0.0-4+b1
> Detached kernel driver
> Available vertical sync SwapInterval functions:
>     glxSwapIntervalEXT: Yes
>     DRI2SwapInterval: No
>     glxSwapIntervalMESA: Yes
>     glxSwapIntervalSGI: Yes
> Using glxSwapIntervalEXT.
> 
> Loaded font 'Bitstream Vera Sans Mono' from
> '/usr/share/cubicsdr/fonts/vera_sans_mono12_0.png', parsed 255 characters.
> Loaded font 'Bitstream Vera Sans Mono' from
> '/usr/share/cubicsdr/fonts/vera_sans_mono16_0.png', parsed 255 characters.
> Loaded font 'Bitstream Vera Sans Mono' from
> '/usr/share/cubicsdr/fonts/vera_sans_mono18_0.png', parsed 255 characters.
> Found Rafael Micro R820T tuner
> Speicherzugriffsfehler

Hmm. Can exit() lead to segfaults in threaded programs?

Re: LH
> Backtrace:
> After Reading https://wiki.debian.org/HowToGetABacktrace ... sorry, this is
> beyond my knowledge, I'm a user only.
> And I was not able to find a 'cubicsdr-dbgsym' that works on my
> bullseye-system (https://packages.debian.org/sid/cubicsdr-dbgsym) ?
> Or is there an easier way to get the desired 'backtrace'?

The -dbgsym packages are in a separate archive, /debian-debug/:
https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols

Also install gdb. Then:

gdb CubicSDR
r
... and once it has crashed:
bt f

Christoph


Reply to: