pothosware / SoapyUHD

Soapy SDR plugins for UHD supported SDR devices
https://github.com/pothosware/SoapyUHD/wiki
GNU General Public License v3.0
55 stars 29 forks source link

Logger-related crash when probing USRP B200mini #54

Open ncorgan opened 1 year ago

ncorgan commented 1 year ago

Given that the crash is in a UHD class, it's possible the issue is there, but this doesn't happen with uhd_usrp_probe, so something different is happening along the way.

ncorgan@lagann:~$ gdb --arg SoapySDRUtil --probe=driver=uhd
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from SoapySDRUtil...
(No debugging symbols found in SoapySDRUtil)
(gdb) run
Starting program: /usr/local/bin/SoapySDRUtil --probe=driver=uhd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Probe device driver=uhd

(normal probe output here)

Thread 1 "SoapySDRUtil" received signal SIGSEGV, Segmentation fault.
0x00007fffed6b2a40 in ?? ()
(gdb) bt
#0  0x00007fffed6b2a40 in ?? ()
#1  0x00007ffff758ecb9 in log_resource::~log_resource() () from /usr/local/lib/libuhd.so.4.1.0
#2  0x00007ffff7b538d7 in __run_exit_handlers (status=0, listp=0x7ffff7cf9718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
#3  0x00007ffff7b53a90 in __GI_exit (status=<optimized out>) at exit.c:139
#4  0x00007ffff7b310ba in __libc_start_main (main=0x55555555a020 <main>, argc=2, argv=0x7fffffffe048, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe038)
    at ../csu/libc-start.c:342
#5  0x000055555555c11e in _start ()