Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SoapySDR Segmentation Fault With USRP #190

Open
rajgark opened this issue Sep 12, 2022 · 24 comments
Open

SoapySDR Segmentation Fault With USRP #190

rajgark opened this issue Sep 12, 2022 · 24 comments

Comments

@rajgark
Copy link

rajgark commented Sep 12, 2022

Hello,
I'm trying to get SigDigger up and going and have built everything from source on an Ubuntu 20.04 VM. Everything seems to be running well until I start running after loading the UHD profile. I ran the debug steps with gdb and here are the results:

:/usr/local/bin$ gdb ./SigDigger
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 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 ./SigDigger...
(No debugging symbols found in ./SigDigger)
(gdb) run
Starting program: /usr/local/bin/SigDigger
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff1eb9700 (LWP 25645)]
[New Thread 0x7fffebfff700 (LWP 25646)]
[New Thread 0x7fffeb7fe700 (LWP 25647)]
[New Thread 0x7fffeaffd700 (LWP 25648)]
[New Thread 0x7fffea42e700 (LWP 25650)]
[New Thread 0x7fffe9a0a700 (LWP 25651)]
[New Thread 0x7fffe9209700 (LWP 25652)]
[New Thread 0x7fffe8a08700 (LWP 25653)]
[New Thread 0x7fffcbfff700 (LWP 25654)]
[New Thread 0x7fffcb7fe700 (LWP 25655)]
[New Thread 0x7fffc8ffa700 (LWP 25656)]
[New Thread 0x7fffb594d700 (LWP 25657)]
[Thread 0x7fffb594d700 (LWP 25657) exited]
[New Thread 0x7fffb514c700 (LWP 25658)]
[New Thread 0x7fffb594d700 (LWP 25659)]
[New Thread 0x7fffb494b700 (LWP 25660)]
[Thread 0x7fffb494b700 (LWP 25660) exited]
[New Thread 0x7fffa7fff700 (LWP 25661)]
[New Thread 0x7fffa77fe700 (LWP 25662)]
[New Thread 0x7fffa6ffd700 (LWP 25663)]
[New Thread 0x7fffa67fc700 (LWP 25664)]
[New Thread 0x7fff9ffff700 (LWP 25665)]
[New Thread 0x7fffa57fa700 (LWP 25666)]
[New Thread 0x7fffa5ffb700 (LWP 25668)]
[New Thread 0x7fffa4ff9700 (LWP 25667)]
[New Thread 0x7fff9f7fe700 (LWP 25669)]
[New Thread 0x7fff9effd700 (LWP 25670)]
[New Thread 0x7fff9dffb700 (LWP 25671)]
[New Thread 0x7fff9e7fc700 (LWP 25672)]
[New Thread 0x7fff9d7fa700 (LWP 25673)]
[Thread 0x7fffa7fff700 (LWP 25661) exited]
[New Thread 0x7fff9cff9700 (LWP 25674)]
[Thread 0x7fff9cff9700 (LWP 25674) exited]
[New Thread 0x7fff73fff700 (LWP 25675)]
[Thread 0x7fff73fff700 (LWP 25675) exited]
[Thread 0x7fff9d7fa700 (LWP 25673) exited]
[Thread 0x7fff9dffb700 (LWP 25671) exited]
[Thread 0x7fff9f7fe700 (LWP 25669) exited]
[Thread 0x7fffa57fa700 (LWP 25666) exited]
[Thread 0x7fff9e7fc700 (LWP 25672) exited]
[Thread 0x7fff9ffff700 (LWP 25665) exited]
[Thread 0x7fffa77fe700 (LWP 25662) exited]
[Thread 0x7fffa4ff9700 (LWP 25667) exited]
[Thread 0x7fff9effd700 (LWP 25670) exited]
[Thread 0x7fffa6ffd700 (LWP 25663) exited]
[Thread 0x7fffb594d700 (LWP 25659) exited]
[Thread 0x7fffb514c700 (LWP 25658) exited]
[New Thread 0x7fffb514c700 (LWP 25676)]
[New Thread 0x7fff9cff9700 (LWP 25677)]
[New Thread 0x7fff9d7fa700 (LWP 25678)]
[Thread 0x7fff9cff9700 (LWP 25677) exited]
[New Thread 0x7fff9e7fc700 (LWP 25679)]
[Thread 0x7fff9d7fa700 (LWP 25678) exited]
[New Thread 0x7fffb594d700 (LWP 25680)]
[New Thread 0x7fffb494b700 (LWP 25681)]
[Thread 0x7fffb594d700 (LWP 25680) exited]
[New Thread 0x7fffa7fff700 (LWP 25682)]
[Thread 0x7fffa7fff700 (LWP 25682) exited]
[New Thread 0x7fffa77fe700 (LWP 25683)]
[Thread 0x7fffa77fe700 (LWP 25683) exited]
[Thread 0x7fffb514c700 (LWP 25676) exited]
[Thread 0x7fff9e7fc700 (LWP 25679) exited]
[Thread 0x7fffb494b700 (LWP 25681) exited]
[New Thread 0x7fffa77fe700 (LWP 25684)]
[New Thread 0x7fffa7fff700 (LWP 25685)]
[Thread 0x7fffa7fff700 (LWP 25685) exited]
[Thread 0x7fffa77fe700 (LWP 25684) exited]
[New Thread 0x7fffa77fe700 (LWP 25686)]
[New Thread 0x7fffa7fff700 (LWP 25687)]
[Thread 0x7fffa7fff700 (LWP 25687) exited]
[New Thread 0x7fffb494b700 (LWP 25688)]
[New Thread 0x7fffb594d700 (LWP 25689)]
[New Thread 0x7fffb514c700 (LWP 25690)]
[New Thread 0x7fffa6ffd700 (LWP 25691)]
[New Thread 0x7fffa4ff9700 (LWP 25692)]
[New Thread 0x7fffa57fa700 (LWP 25693)]
[Thread 0x7fffb494b700 (LWP 25688) exited]
[New Thread 0x7fff9ffff700 (LWP 25694)]
[New Thread 0x7fff9f7fe700 (LWP 25695)]
[New Thread 0x7fff9effd700 (LWP 25696)]
[New Thread 0x7fff9e7fc700 (LWP 25697)]
[Thread 0x7fff9e7fc700 (LWP 25697) exited]
[New Thread 0x7fff9dffb700 (LWP 25698)]
[New Thread 0x7fff9d7fa700 (LWP 25699)]
[New Thread 0x7fff9cff9700 (LWP 25700)]
[Thread 0x7fffa4ff9700 (LWP 25692) exited]
[Thread 0x7fffa6ffd700 (LWP 25691) exited]
[Thread 0x7fff9cff9700 (LWP 25700) exited]
[Thread 0x7fffb514c700 (LWP 25690) exited]
[Thread 0x7fff9ffff700 (LWP 25694) exited]
[Thread 0x7fffa57fa700 (LWP 25693) exited]
[Thread 0x7fffb594d700 (LWP 25689) exited]
[Thread 0x7fff9effd700 (LWP 25696) exited]
[Thread 0x7fff9f7fe700 (LWP 25695) exited]
[Thread 0x7fff9dffb700 (LWP 25698) exited]
[Thread 0x7fff9d7fa700 (LWP 25699) exited]
[Thread 0x7fffa77fe700 (LWP 25686) exited]
[INFO] [x300_impl.cpp:212] [X300] X300 initialization sequence...
[INFO] [X300] X300 initialization sequence...
[New Thread 0x7fff9e7fc700 (LWP 25701)]
[INFO] [x300_eth_mgr.cpp:648] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [x300_impl.cpp:413] [X300] Radio 1x clock: 200 MHz
[INFO] [X300] Radio 1x clock: 200 MHz
[New Thread 0x7fff9ffff700 (LWP 25705)]
[Thread 0x7fff9ffff700 (LWP 25705) exited]
[Thread 0x7fff9e7fc700 (LWP 25701) exited]
[Thread 0x7fffc8ffa700 (LWP 25656) exited]
[New Thread 0x7fffc8ffa700 (LWP 25706)]
[New Thread 0x7fff9e7fc700 (LWP 25709)]
[New Thread 0x7fff9ffff700 (LWP 25710)]
[Thread 0x7fff9ffff700 (LWP 25710) exited]
[New Thread 0x7fffa57fa700 (LWP 25711)]
[Thread 0x7fffa57fa700 (LWP 25711) exited]
[New Thread 0x7fffb594d700 (LWP 25712)]
[New Thread 0x7fffb4c8c700 (LWP 25713)]
[Thread 0x7fffb4c8c700 (LWP 25713) exited]
[New Thread 0x7fffa7fff700 (LWP 25714)]
[New Thread 0x7fffa77fe700 (LWP 25715)]
[Thread 0x7fffa77fe700 (LWP 25715) exited]
[New Thread 0x7fffa6ffd700 (LWP 25716)]
[Thread 0x7fffa6ffd700 (LWP 25716) exited]
[Thread 0x7fffb594d700 (LWP 25712) exited]
[Thread 0x7fff9e7fc700 (LWP 25709) exited]
[Thread 0x7fffa7fff700 (LWP 25714) exited]
[INFO] [x300_impl.cpp:212] [X300] X300 initialization sequence...
[INFO] [X300] X300 initialization sequence...
[New Thread 0x7fffa6ffd700 (LWP 25717)]
[INFO] [x300_eth_mgr.cpp:648] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [x300_impl.cpp:413] [X300] Radio 1x clock: 200 MHz
[INFO] [X300] Radio 1x clock: 200 MHz
[New Thread 0x7fffa77fe700 (LWP 25718)]
[WARNING] [multi_usrp_rfnoc.cpp:1245] [MULTI_USRP] Could not set RX rate to 0.196 MHz. Actual rate is 0.196 MHz
[WARNING] [MULTI_USRP] Could not set RX rate to 0.196 MHz. Actual rate is 0.196 MHz
--Type for more, q to quit, c to continue without paging--c

Thread 1 "SigDigger" received signal SIGSEGV, Segmentation fault.
0x00007ffff7d66e68 in SoapySDRDevice_setupStream () from /usr/local/lib/libSoapySDR.so.0.8-2
(gdb) bt
#0 0x00007ffff7d66e68 in SoapySDRDevice_setupStream () at /usr/local/lib/libSoapySDR.so.0.8-2
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/local/bin/SigDigger
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff1eb9700 (LWP 25769)]
[New Thread 0x7fffebfff700 (LWP 25770)]
[New Thread 0x7fffeb7fe700 (LWP 25771)]
[New Thread 0x7fffeaffd700 (LWP 25772)]
[New Thread 0x7fffea42e700 (LWP 25774)]
[New Thread 0x7fffe9a0a700 (LWP 25775)]
[New Thread 0x7fffe9209700 (LWP 25776)]
[New Thread 0x7fffe8a08700 (LWP 25777)]
[New Thread 0x7fffcbfff700 (LWP 25778)]
[New Thread 0x7fffcb7fe700 (LWP 25779)]
[New Thread 0x7fffc8ffa700 (LWP 25780)]
[New Thread 0x7fffb594d700 (LWP 25781)]
[New Thread 0x7fffb514c700 (LWP 25782)]
[Thread 0x7fffb594d700 (LWP 25781) exited]
[New Thread 0x7fffb594d700 (LWP 25783)]
[New Thread 0x7fffb494b700 (LWP 25784)]
[New Thread 0x7fffaffff700 (LWP 25785)]
[Thread 0x7fffb494b700 (LWP 25784) exited]
[New Thread 0x7fffaf7fe700 (LWP 25786)]
[New Thread 0x7fffaeffd700 (LWP 25787)]
[New Thread 0x7fffae7fc700 (LWP 25789)]
[New Thread 0x7fffadffb700 (LWP 25788)]
[New Thread 0x7fffad7fa700 (LWP 25790)]
[New Thread 0x7fffacff9700 (LWP 25791)]
[New Thread 0x7fff9b7fe700 (LWP 25793)]
[New Thread 0x7fff9bfff700 (LWP 25792)]
[New Thread 0x7fff9affd700 (LWP 25794)]
[New Thread 0x7fff99ffb700 (LWP 25796)]
[New Thread 0x7fff9a7fc700 (LWP 25795)]
[Thread 0x7fffaffff700 (LWP 25785) exited]
[New Thread 0x7fff997fa700 (LWP 25797)]
[New Thread 0x7fff98ff9700 (LWP 25798)]
[Thread 0x7fff98ff9700 (LWP 25798) exited]
[New Thread 0x7fff8bfff700 (LWP 25799)]
[Thread 0x7fff99ffb700 (LWP 25796) exited]
[Thread 0x7fff9bfff700 (LWP 25792) exited]
[Thread 0x7fff8bfff700 (LWP 25799) exited]
[Thread 0x7fffad7fa700 (LWP 25790) exited]
[Thread 0x7fff997fa700 (LWP 25797) exited]
[Thread 0x7fff9a7fc700 (LWP 25795) exited]
[Thread 0x7fffadffb700 (LWP 25788) exited]
[Thread 0x7fffacff9700 (LWP 25791) exited]
[Thread 0x7fffaeffd700 (LWP 25787) exited]
[Thread 0x7fffaf7fe700 (LWP 25786) exited]
[Thread 0x7fff9affd700 (LWP 25794) exited]
[Thread 0x7fffb594d700 (LWP 25783) exited]
[Thread 0x7fffb514c700 (LWP 25782) exited]
[New Thread 0x7fffb514c700 (LWP 25800)]
[New Thread 0x7fff98ff9700 (LWP 25801)]
[Thread 0x7fff98ff9700 (LWP 25801) exited]
[New Thread 0x7fff997fa700 (LWP 25802)]
[Thread 0x7fff997fa700 (LWP 25802) exited]
[New Thread 0x7fff9a7fc700 (LWP 25803)]
[New Thread 0x7fffb594d700 (LWP 25804)]
[Thread 0x7fffb594d700 (LWP 25804) exited]
[New Thread 0x7fffb494b700 (LWP 25805)]
[New Thread 0x7fffaffff700 (LWP 25806)]
[Thread 0x7fffaffff700 (LWP 25806) exited]
[New Thread 0x7fffaf7fe700 (LWP 25807)]
[Thread 0x7fffaf7fe700 (LWP 25807) exited]
[Thread 0x7fff9a7fc700 (LWP 25803) exited]
[Thread 0x7fffb514c700 (LWP 25800) exited]
[Thread 0x7fffb494b700 (LWP 25805) exited]
[New Thread 0x7fffaf7fe700 (LWP 25808)]
[New Thread 0x7fffaffff700 (LWP 25809)]
[Thread 0x7fffaffff700 (LWP 25809) exited]
[Thread 0x7fffaf7fe700 (LWP 25808) exited]
[New Thread 0x7fffaf7fe700 (LWP 25810)]
[New Thread 0x7fffaffff700 (LWP 25811)]
[Thread 0x7fffaffff700 (LWP 25811) exited]
[New Thread 0x7fffb494b700 (LWP 25812)]
[New Thread 0x7fffb594d700 (LWP 25813)]
[New Thread 0x7fffb514c700 (LWP 25814)]
[New Thread 0x7fffadffb700 (LWP 25816)]
[New Thread 0x7fffaeffd700 (LWP 25815)]
[New Thread 0x7fff9bfff700 (LWP 25817)]
[New Thread 0x7fffacff9700 (LWP 25818)]
[New Thread 0x7fffad7fa700 (LWP 25819)]
[Thread 0x7fffb594d700 (LWP 25813) exited]
[New Thread 0x7fff9a7fc700 (LWP 25821)]
[New Thread 0x7fff9affd700 (LWP 25820)]
[New Thread 0x7fff99ffb700 (LWP 25822)]
[New Thread 0x7fff997fa700 (LWP 25823)]
[Thread 0x7fff997fa700 (LWP 25823) exited]
[New Thread 0x7fff98ff9700 (LWP 25824)]
[Thread 0x7fffacff9700 (LWP 25818) exited]
[Thread 0x7fff9bfff700 (LWP 25817) exited]
[Thread 0x7fff98ff9700 (LWP 25824) exited]
[Thread 0x7fffadffb700 (LWP 25816) exited]
[Thread 0x7fff99ffb700 (LWP 25822) exited]
[Thread 0x7fff9affd700 (LWP 25820) exited]
[Thread 0x7fffb514c700 (LWP 25814) exited]
[Thread 0x7fffb494b700 (LWP 25812) exited]
[Thread 0x7fffaeffd700 (LWP 25815) exited]
[Thread 0x7fffad7fa700 (LWP 25819) exited]
[Thread 0x7fff9a7fc700 (LWP 25821) exited]
[Thread 0x7fffaf7fe700 (LWP 25810) exited]
[INFO] [x300_impl.cpp:212] [X300] X300 initialization sequence...
[INFO] [X300] X300 initialization sequence...
[New Thread 0x7fff997fa700 (LWP 25825)]
[INFO] [x300_eth_mgr.cpp:648] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [x300_impl.cpp:413] [X300] Radio 1x clock: 200 MHz
[INFO] [X300] Radio 1x clock: 200 MHz
[New Thread 0x7fff99ffb700 (LWP 25826)]
[Thread 0x7fff99ffb700 (LWP 25826) exited]
[Thread 0x7fff997fa700 (LWP 25825) exited]
[Thread 0x7fffc8ffa700 (LWP 25780) exited]
[New Thread 0x7fffc8ffa700 (LWP 25827)]
[New Thread 0x7fff997fa700 (LWP 25828)]
[New Thread 0x7fff99ffb700 (LWP 25829)]
[New Thread 0x7fff9affd700 (LWP 25830)]
[Thread 0x7fff99ffb700 (LWP 25829) exited]
[Thread 0x7fff9affd700 (LWP 25830) exited]
[New Thread 0x7fffb4c8c700 (LWP 25831)]
[New Thread 0x7fffaffff700 (LWP 25832)]
[Thread 0x7fffaffff700 (LWP 25832) exited]
[New Thread 0x7fffaf7fe700 (LWP 25833)]
[New Thread 0x7fffaeffd700 (LWP 25834)]
[Thread 0x7fffaeffd700 (LWP 25834) exited]
[New Thread 0x7fffadffb700 (LWP 25835)]
[Thread 0x7fffadffb700 (LWP 25835) exited]
[Thread 0x7fff997fa700 (LWP 25828) exited]
[Thread 0x7fffb4c8c700 (LWP 25831) exited]
[Thread 0x7fffaf7fe700 (LWP 25833) exited]
[INFO] [x300_impl.cpp:212] [X300] X300 initialization sequence...
[INFO] [X300] X300 initialization sequence...
[New Thread 0x7fffadffb700 (LWP 25836)]
[INFO] [x300_eth_mgr.cpp:648] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [x300_impl.cpp:413] [X300] Radio 1x clock: 200 MHz
[INFO] [X300] Radio 1x clock: 200 MHz
[New Thread 0x7fffaeffd700 (LWP 25837)]
[WARNING] [multi_usrp_rfnoc.cpp:1245] [MULTI_USRP] Could not set RX rate to 0.196 MHz. Actual rate is 0.196 MHz
[WARNING] [MULTI_USRP] Could not set RX rate to 0.196 MHz. Actual rate is 0.196 MHz
--Type for more, q to quit, c to continue without paging--

Thread 1 "SigDigger" received signal SIGSEGV, Segmentation fault.
0x00007ffff7d66e68 in SoapySDRDevice_setupStream ()
from /usr/local/lib/libSoapySDR.so.0.8-2
(gdb) bt
#0 0x00007ffff7d66e68 in SoapySDRDevice_setupStream ()
at /usr/local/lib/libSoapySDR.so.0.8-2
#1 0x00007ffff7ed9171 in suscan_source_open_sdr (source=0x555556e6b770)
at /home/bhml/suscan/analyzer/source.c:1892
#2 0x00007ffff7eda6a5 in suscan_source_new (config=0x7fffc0107400)
at /home/bhml/suscan/analyzer/source.c:2513
#3 0x00007ffff7eb7cd5 in suscan_local_analyzer_source_init
(self=0x555556e6b2f0, config=0x7fffc0107400)
at /home/bhml/suscan/analyzer/impl/local.c:508
#4 0x00007ffff7eb85f8 in suscan_local_analyzer_ctor
(parent=0x5555569f7050, ap=0x7fffffffc8e0)
at /home/bhml/suscan/analyzer/impl/local.c:689
#5 0x00007ffff7eafea9 in suscan_analyzer_new_from_interface
(params=0x7fffffffcb88, mq_out=0x555556679238, iface=0x7ffff7f14280 )
at /home/bhml/suscan/analyzer/analyzer.c:606
#6 0x00007ffff7eaffbf in suscan_analyzer_new
(params=0x7fffffffcb88, config=0x7fffc0107400, mq=0x555556679238)
at /home/bhml/suscan/analyzer/analyzer.c:636
#7 0x000055555571e180 in Suscan::Analyzer::Analyzer(Suscan::AnalyzerParams&, Suscan::Source::Config const&) ()
#8 0x0000555555624326 in SigDigger::Application::startCapture() ()
#9 0x00005555557728a8 in ()
#10 0x00007ffff691f1d0 in QMetaObject::activate(QObject*, int, int, void**) ()
at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x0000555555774e8d in ()
#12 0x00007ffff691f1d0 in QMetaObject::activate(QObject*, int, int, void**) ()
at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ffff74c63e6 in QAction::triggered(bool) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff74c8aa2 in QAction::activate(QAction::ActionEvent) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff75c2e10 in () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff75c3035 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff76b65fe in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
--Type for more, q to quit, c to continue without paging--
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff750f2b6 in QWidget::event(QEvent*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff76b66a8 in QToolButton::event(QEvent*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff74cca66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff74d6343 in QApplication::notify(QObject*, QEvent*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff68f380a in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
at /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007ffff74d5457 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool, bool) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff752b35d in () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff752e1ec in () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff74cca66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff74d60f0 in QApplication::notify(QObject*, QEvent*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5

and here is my sources.yaml:
%TAG ! tag:actinid.org,2022:suscan:

  • !source_config
    type: SDR
    label: Default source
    interface: remote
    freq: 433920000.00000000
    lnb_freq: 0.00000000
    bandwidth: 1000000.00000000
    iq_balance: false
    dc_remove: true
    ppm: 0.00000000
    start_time: 1662660310.980782
    loop: true
    samp_rate: 1000000
    average: 1
    channel: 0
    sdr_args:
    driver: null
    host: 10.0.10.141
    port: 0
    user: anonymous
    password:
    mc_if:
    label: User-defined remote profile
    gains: {}
  • !source_config
    type: SDR
    label: Dummy device
    interface: local
    freq: 433000000.00000000
    lnb_freq: 0.00000000
    bandwidth: 0.00000000
    iq_balance: false
    dc_remove: true
    ppm: 0.00000000
    start_time: 1663005228.121743
    loop: true
    samp_rate: 0
    average: 1
    channel: 0
    sdr_args:
    driver: null
    gains: {}
  • !source_config
    type: SDR
    label: Audio input (default)
    interface: local
    freq: 433000000.00000000
    lnb_freq: 0.00000000
    bandwidth: 4000.00000000
    iq_balance: false
    dc_remove: true
    ppm: 0.00000000
    start_time: 1663005228.121750
    loop: true
    samp_rate: 4000
    average: 1
    channel: 0
    sdr_args:
    default_input: True
    default_output: True
    device_id: 0
    driver: audio
    label: default
    gains: {}
  • !source_config
    type: SDR
    label: uhd (X310 3253FAC)
    interface: local
    freq: 433000000.00000000
    lnb_freq: 0.00000000
    bandwidth: 0.00000000
    iq_balance: false
    dc_remove: true
    ppm: 0.00000000
    start_time: 1663005229.349289
    loop: true
    samp_rate: 0
    average: 1
    channel: 0
    sdr_args:
    addr: 10.0.10.141
    driver: uhd
    fpga: HG
    label: X310 3253FAC
    name:
    product: X310
    serial: 3253FAC
    type: x300
    gains: {}
  • !source_config
    type: SDR
    label: Dummy device
    interface: remote
    freq: 433000000.00000000
    lnb_freq: 0.00000000
    bandwidth: 0.00000000
    iq_balance: false
    dc_remove: true
    ppm: 0.00000000
    start_time: 1663005229.349310
    loop: true
    samp_rate: 0
    average: 1
    channel: 0
    sdr_args:
    driver: null
    host: 10.0.10.141
    port: 0
    user: anonymous
    password:
    mc_if:
    label: User-defined remote profile
    gains: {}
  • !source_config
    type: SDR
    label: uhd (Unlabeled device)
    interface: local
    freq: 433000000.00000000
    lnb_freq: 0.00000000
    bandwidth: 0.00000000
    iq_balance: false
    dc_remove: true
    ppm: 0.00000000
    start_time: 1663005230.980343
    loop: true
    samp_rate: 0
    average: 1
    channel: 0
    sdr_args:
    driver: uhd
    host: 10.0.10.141
    gains: {}
@BatchDrake
Copy link
Owner

This looks like a driver issue to me. Can you reproduce this crash with other applications too?

@rajgark
Copy link
Author

rajgark commented Sep 15, 2022

Hey thanks for the reply. I'm unable to produce this crash with other applications. However, I'm only using Gnu Radio and UHD build otherwise to interact with an Ettus x310 USRP. I was attempting to build SigDigger & all of it's dependencies such that it will work as a Gnu Radio alternative for spectrum analysis.

When you say driver issue you mean SoapyUHD driver, correct?

@BatchDrake
Copy link
Owner

Yes, SoapyUHD. I am asking because, if you see here:

0x00007ffff7d66e68 in SoapySDRDevice_setupStream () from /usr/local/lib/libSoapySDR.so.0.8-2

The crash happens inside SoapySDR, when the device was already initialized, and the sample stream was being configured.

There is something suspicious here though. I see the -2 in libSoapySDR.so.0.8-2. Could it be that you built SoapySDR by hand, and you are loading the corresponding SoapySDR module from a previous build? Since you are un GNU/Linux, post the output of the following command, so we can start to rule things out:

$ find /usr 2> /dev/null | grep SoapySDR | grep '0.8'

@rajgark
Copy link
Author

rajgark commented Sep 16, 2022

thanks for the reply. Ah okay, yes I see... interesting. I did build SoapySDR by hand, but as far as I know there wasn't a previous build. But, could be because one of the debugging steps I saw was just to recompile?

I ran the command and unfortunately there was no output :(

@rajgark
Copy link
Author

rajgark commented Sep 16, 2022

I did run find /usr | grep SoapySDR for an overall view, here is the output for that, if it helps at all:

bhml@bhml-sdr:~$ find /usr | grep SoapySDR
/usr/lib/x86_64-linux-gnu/SoapySDR
/usr/lib/x86_64-linux-gnu/SoapySDR/libSoapyOsmoSDR.so.0.7
/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7
/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/librtlsdrSupport.so
/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libuhdSupport.so
/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libHackRFSupport.so
/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libremoteSupport.so
/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libbladeRFSupport.so
/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libosmosdrSupport.so
/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libRedPitaya.so
/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libLMS7Support.so
/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libairspySupport.so
/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libaudioSupport.so
/usr/lib/x86_64-linux-gnu/libSoapySDR.so.0.7
/usr/lib/x86_64-linux-gnu/libSoapySDR.so
/usr/lib/x86_64-linux-gnu/pkgconfig/SoapySDR.pc
/usr/lib/x86_64-linux-gnu/libSoapySDR.so.0.7.2
/usr/include/SoapySDR
/usr/include/SoapySDR/Constants.h
/usr/include/SoapySDR/Device.h
/usr/include/SoapySDR/Formats.hpp
/usr/include/SoapySDR/ConverterRegistry.hpp
/usr/include/SoapySDR/Time.h
/usr/include/SoapySDR/Modules.h
/usr/include/SoapySDR/Registry.hpp
/usr/include/SoapySDR/Device.hpp
/usr/include/SoapySDR/Logger.hpp
/usr/include/SoapySDR/Errors.hpp
/usr/include/SoapySDR/Version.h
/usr/include/SoapySDR/Errors.h
/usr/include/SoapySDR/Time.hpp
/usr/include/SoapySDR/Modules.hpp
/usr/include/SoapySDR/Config.h
/usr/include/SoapySDR/Logger.h
/usr/include/SoapySDR/ConverterPrimitives.hpp
/usr/include/SoapySDR/Version.hpp
/usr/include/SoapySDR/Formats.h
/usr/include/SoapySDR/Config.hpp
/usr/include/SoapySDR/Types.h
/usr/include/SoapySDR/Types.hpp
/usr/local/lib/libSoapySDR.so.0.8-2
/usr/local/lib/python2.7/dist-packages/_SoapySDR.so
/usr/local/lib/python2.7/dist-packages/SoapySDR.py
/usr/local/lib/SoapySDR
/usr/local/lib/SoapySDR/modules0.8-2
/usr/local/lib/SoapySDR/modules0.8-2/libuhdSupport.so
/usr/local/lib/libSoapySDR.so.0.8.1
/usr/local/lib/libSoapySDR.so
/usr/local/lib/pkgconfig/SoapySDR.pc
/usr/local/lib/python3.8/dist-packages/_SoapySDR.so
/usr/local/lib/python3.8/dist-packages/SoapySDR.py
/usr/local/include/SoapySDR
/usr/local/include/SoapySDR/Converters.h
/usr/local/include/SoapySDR/Constants.h
/usr/local/include/SoapySDR/Device.h
/usr/local/include/SoapySDR/Formats.hpp
/usr/local/include/SoapySDR/ConverterRegistry.hpp
/usr/local/include/SoapySDR/Time.h
/usr/local/include/SoapySDR/Modules.h
/usr/local/include/SoapySDR/Registry.hpp
/usr/local/include/SoapySDR/Device.hpp
/usr/local/include/SoapySDR/Logger.hpp
/usr/local/include/SoapySDR/Errors.hpp
/usr/local/include/SoapySDR/Version.h
/usr/local/include/SoapySDR/Errors.h
/usr/local/include/SoapySDR/Time.hpp
/usr/local/include/SoapySDR/Modules.hpp
/usr/local/include/SoapySDR/Config.h
/usr/local/include/SoapySDR/Logger.h
/usr/local/include/SoapySDR/ConverterPrimitives.hpp
/usr/local/include/SoapySDR/Version.hpp
/usr/local/include/SoapySDR/Formats.h
/usr/local/include/SoapySDR/Config.hpp
/usr/local/include/SoapySDR/Types.h
/usr/local/include/SoapySDR/Types.hpp
/usr/local/bin/SoapySDRUtil
/usr/local/share/lua/5.1/SoapySDR
/usr/local/share/lua/5.1/SoapySDR/Time.lua
/usr/local/share/lua/5.1/SoapySDR/Logger.lua
/usr/local/share/lua/5.1/SoapySDR/Lib.lua
/usr/local/share/lua/5.1/SoapySDR/Device.lua
/usr/local/share/lua/5.1/SoapySDR/Utility.lua
/usr/local/share/lua/5.1/SoapySDR/init.lua
/usr/local/share/doc/gr-osmosdr/xml/namespaceSoapySDR.xml
/usr/local/share/doc/gr-osmosdr/html/namespaceSoapySDR.html
/usr/local/share/cmake/SoapySDR
/usr/local/share/cmake/SoapySDR/SoapySDRExport-release.cmake
/usr/local/share/cmake/SoapySDR/SoapySDRConfig.cmake
/usr/local/share/cmake/SoapySDR/SoapySDRExport.cmake
/usr/local/share/cmake/SoapySDR/SoapySDRConfigVersion.cmake
/usr/local/share/cmake/SoapySDR/SoapySDRUtil.cmake
/usr/local/share/man/man1/SoapySDRUtil.1
/usr/share/cmake/SoapySDR
/usr/share/cmake/SoapySDR/SoapySDRConfig.cmake
/usr/share/cmake/SoapySDR/SoapySDRConfigVersion.cmake
/usr/share/cmake/SoapySDR/SoapySDRUtil.cmake

@BatchDrake
Copy link
Owner

Okay, what happens when you run this? (The full path is important)

/usr/local/bin/SoapySDRUtil --probe --args 'driver=uhd'

@rajgark
Copy link
Author

rajgark commented Sep 19, 2022

Hey sorry for the delay. When I run that, this happens:

bhml@bhml-sdr:~$ /usr/local/bin/SoapySDRUtil --probe --args 'driver=uhd'
######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Probe device
[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.3.0.0-release
[INFO] [x300_impl.cpp:212] [X300] X300 initialization sequence...
[INFO] [X300] X300 initialization sequence...
[INFO] [x300_eth_mgr.cpp:648] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Maximum frame size: 1472 bytes.

However, it gets stuck here and does not successfully probe the USRP. Been stuck at this for about 3-4 minutes now. Interesting, so this must be the error in initializing the stream that results in the segmentation fault...

@rajgark
Copy link
Author

rajgark commented Sep 19, 2022

interestingly enough, when I run /usr/local/bin/SoapySDRUtil --probe without driver specified, I get a successful probe (same with uhd_usrp_probe):

bhml@bhml-sdr:~$ /usr/local/bin/SoapySDRUtil --probe
######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Probe device
[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.3.0.0-release
[INFO] [x300_impl.cpp:212] [X300] X300 initialization sequence...
[INFO] [X300] X300 initialization sequence...
[INFO] [x300_eth_mgr.cpp:648] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [x300_impl.cpp:413] [X300] Radio 1x clock: 200 MHz
[INFO] [X300] Radio 1x clock: 200 MHz


-- Device identification

driver=x300
hardware=X310
fpga_version=39.0
fw_version=6.0
mboard_id=X310
mboard_name=
mboard_serial=3253FAC
rx0_antenna=RX1
rx0_id=TwinRX Rev C (0x0095)
rx0_ref_power_key=x3xx_pwr_twinrx_rx_rx1
rx0_ref_power_serial=3247771#0
rx0_serial=3247771
rx0_subdev_name=TwinRX RX0
rx0_subdev_spec=A:0 A:1 B:0 B:1
rx1_antenna=RX2
rx1_id=TwinRX Rev C (0x0095)
rx1_ref_power_key=x3xx_pwr_twinrx_rx_rx2
rx1_ref_power_serial=3247771#1
rx1_serial=3247771
rx1_subdev_name=TwinRX RX1
rx1_subdev_spec=A:0 A:1 B:0 B:1
rx2_antenna=RX1
rx2_id=TwinRX Rev C (0x0095)
rx2_ref_power_key=x3xx_pwr_twinrx_rx_rx1
rx2_ref_power_serial=31E878F#0
rx2_serial=31E878F
rx2_subdev_name=TwinRX RX0
rx2_subdev_spec=A:0 A:1 B:0 B:1
rx3_antenna=RX2
rx3_id=TwinRX Rev C (0x0095)
rx3_ref_power_key=x3xx_pwr_twinrx_rx_rx2
rx3_ref_power_serial=31E878F#1
rx3_serial=31E878F
rx3_subdev_name=TwinRX RX1
rx3_subdev_spec=A:0 A:1 B:0 B:1


-- Peripheral summary

Channels: 4 Rx, 0 Tx
Timestamps: YES
Clock sources: internal, external, gpsdo
Time sources: internal, external, gpsdo
Sensors: ref_locked
* ref_locked (Ref): true locked
GPIOs: FP0A, RXA, TXA, FP0B, RXB, TXB


-- RX Channel 0

Full-duplex: NO
Supports AGC: NO
Stream formats: CS8, CS12, CS16, CF32, CF64
Native format: CS16 [full-scale=32768]
Stream args:
* Samples per packet - The number of samples per packet.
[key=spp, units=samples, default=0, type=int]
* Bus format - The format of samples over the bus.
[key=WIRE, type=string, options=(sc8, sc16)]
* Peak value - The peak value for scaling in complex byte mode.
[key=peak, default=1.0, type=float]
* Receive socket buffer size - The size of the kernel socket buffer in bytes. Use 0 for automatic.
[key=recv_buff_size, units=bytes, default=0, type=int]
* Receive frame buffer size - The size an individual datagram or frame in bytes.
[key=recv_frame_size, units=bytes, type=int]
* Receive number of buffers - The number of available buffers.
[key=num_recv_frames, units=buffers, type=int]
* Full-scale amplitude - Specifies the full-scale amplitude when using floats (not supported for all devices).
[key=fullscale, default=1.0, type=float]
Antennas: RX1, RX2
Full gain range: [0, 99, 0.5] dB
ADC-digital gain range: [0, 6, 0.5] dB
all gain range: [0, 93, 1] dB
Full freq range: [0, 6040] MHz
RF freq range: [0, 6040] MHz
BB freq range: [-100, 100] MHz
Tune args:
* N divider - Whether the daughterboard tune code should use an integer N divider or fractional N divider (not supported for all devices).
[key=mode_n, type=string, options=(integer, fractional)]
* Integer-N tuning step - The step between valid tunable frequencies when using integer-N tuning (not supported for all devices).
[key=int_n_step, type=float]
Sample rates: 0.196078, 0.19685, 0.197628, 0.198413, 0.199203, ..., 40, 50, 66.6667, 100, 200 MSps
Filter bandwidths: 80 MHz
Sensors: lo_locked
* lo_locked (LO): true locked


-- RX Channel 1

Full-duplex: NO
Supports AGC: NO
Stream formats: CS8, CS12, CS16, CF32, CF64
Native format: CS16 [full-scale=32768]
Stream args:
* Samples per packet - The number of samples per packet.
[key=spp, units=samples, default=0, type=int]
* Bus format - The format of samples over the bus.
[key=WIRE, type=string, options=(sc8, sc16)]
* Peak value - The peak value for scaling in complex byte mode.
[key=peak, default=1.0, type=float]
* Receive socket buffer size - The size of the kernel socket buffer in bytes. Use 0 for automatic.
[key=recv_buff_size, units=bytes, default=0, type=int]
* Receive frame buffer size - The size an individual datagram or frame in bytes.
[key=recv_frame_size, units=bytes, type=int]
* Receive number of buffers - The number of available buffers.
[key=num_recv_frames, units=buffers, type=int]
* Full-scale amplitude - Specifies the full-scale amplitude when using floats (not supported for all devices).
[key=fullscale, default=1.0, type=float]
Antennas: RX1, RX2
Full gain range: [0, 99, 0.5] dB
ADC-digital gain range: [0, 6, 0.5] dB
all gain range: [0, 93, 1] dB
Full freq range: [0, 6040] MHz
RF freq range: [0, 6040] MHz
BB freq range: [-100, 100] MHz
Tune args:
* N divider - Whether the daughterboard tune code should use an integer N divider or fractional N divider (not supported for all devices).
[key=mode_n, type=string, options=(integer, fractional)]
* Integer-N tuning step - The step between valid tunable frequencies when using integer-N tuning (not supported for all devices).
[key=int_n_step, type=float]
Sample rates: 0.196078, 0.19685, 0.197628, 0.198413, 0.199203, ..., 40, 50, 66.6667, 100, 200 MSps
Filter bandwidths: 80 MHz
Sensors: lo_locked
* lo_locked (LO): true locked


-- RX Channel 2

Full-duplex: NO
Supports AGC: NO
Stream formats: CS8, CS12, CS16, CF32, CF64
Native format: CS16 [full-scale=32768]
Stream args:
* Samples per packet - The number of samples per packet.
[key=spp, units=samples, default=0, type=int]
* Bus format - The format of samples over the bus.
[key=WIRE, type=string, options=(sc8, sc16)]
* Peak value - The peak value for scaling in complex byte mode.
[key=peak, default=1.0, type=float]
* Receive socket buffer size - The size of the kernel socket buffer in bytes. Use 0 for automatic.
[key=recv_buff_size, units=bytes, default=0, type=int]
* Receive frame buffer size - The size an individual datagram or frame in bytes.
[key=recv_frame_size, units=bytes, type=int]
* Receive number of buffers - The number of available buffers.
[key=num_recv_frames, units=buffers, type=int]
* Full-scale amplitude - Specifies the full-scale amplitude when using floats (not supported for all devices).
[key=fullscale, default=1.0, type=float]
Antennas: RX1, RX2
Full gain range: [0, 99, 0.5] dB
ADC-digital gain range: [0, 6, 0.5] dB
all gain range: [0, 93, 1] dB
Full freq range: [0, 6040] MHz
RF freq range: [0, 6040] MHz
BB freq range: [-100, 100] MHz
Tune args:
* N divider - Whether the daughterboard tune code should use an integer N divider or fractional N divider (not supported for all devices).
[key=mode_n, type=string, options=(integer, fractional)]
* Integer-N tuning step - The step between valid tunable frequencies when using integer-N tuning (not supported for all devices).
[key=int_n_step, type=float]
Sample rates: 0.196078, 0.19685, 0.197628, 0.198413, 0.199203, ..., 40, 50, 66.6667, 100, 200 MSps
Filter bandwidths: 80 MHz
Sensors: lo_locked
* lo_locked (LO): true locked


-- RX Channel 3

Full-duplex: NO
Supports AGC: NO
Stream formats: CS8, CS12, CS16, CF32, CF64
Native format: CS16 [full-scale=32768]
Stream args:
* Samples per packet - The number of samples per packet.
[key=spp, units=samples, default=0, type=int]
* Bus format - The format of samples over the bus.
[key=WIRE, type=string, options=(sc8, sc16)]
* Peak value - The peak value for scaling in complex byte mode.
[key=peak, default=1.0, type=float]
* Receive socket buffer size - The size of the kernel socket buffer in bytes. Use 0 for automatic.
[key=recv_buff_size, units=bytes, default=0, type=int]
* Receive frame buffer size - The size an individual datagram or frame in bytes.
[key=recv_frame_size, units=bytes, type=int]
* Receive number of buffers - The number of available buffers.
[key=num_recv_frames, units=buffers, type=int]
* Full-scale amplitude - Specifies the full-scale amplitude when using floats (not supported for all devices).
[key=fullscale, default=1.0, type=float]
Antennas: RX1, RX2
Full gain range: [0, 99, 0.5] dB
ADC-digital gain range: [0, 6, 0.5] dB
all gain range: [0, 93, 1] dB
Full freq range: [0, 6040] MHz
RF freq range: [0, 6040] MHz
BB freq range: [-100, 100] MHz
Tune args:
* N divider - Whether the daughterboard tune code should use an integer N divider or fractional N divider (not supported for all devices).
[key=mode_n, type=string, options=(integer, fractional)]
* Integer-N tuning step - The step between valid tunable frequencies when using integer-N tuning (not supported for all devices).
[key=int_n_step, type=float]
Sample rates: 0.196078, 0.19685, 0.197628, 0.198413, 0.199203, ..., 40, 50, 66.6667, 100, 200 MSps
Filter bandwidths: 80 MHz
Sensors: lo_locked
* lo_locked (LO): true locked

@BatchDrake
Copy link
Owner

This is quite interesting. If you see, the driver used SoapySDRUtil is not UHD, but x300 instead.

Let's try this: in the source config dialog, in the device tweaks button, add an entry with key driver and value x300, accept, save, and start the capture. Let's see whether that crashes.

@rajgark
Copy link
Author

rajgark commented Sep 19, 2022

Okay so I loaded an existing profile for the USRP and in the SDR config dialog I changed the driver from uhd to x300 and this is the following message after acquisition:

Failed to start capture due to errors:
error: Failed to open SDR device: SoapySDR::Device::make() no match
error: exception in "suscan_source_open_sdr(new)" (analyzer/source.c:2513)
error: exception in "self->source = suscan_source_new(config)" (analyzer/impl/local.c:508)
error: Failed to initialize source
error: exception in "new->impl = (iface->ctor) (new, ap)" (analyzer/analyzer.c:6

@BatchDrake
Copy link
Owner

Actually, you can do it from the GUI, there's a button named "device specific tweaks" for this purpose in the config dialog.

If you prefer to edit config files directly, the one you need is uiconfig.yaml. That's where the default UI profile is stored.

@rajgark
Copy link
Author

rajgark commented Sep 19, 2022

I see, that is easier. So the error is this:

Failed to start capture due to errors:
error: Failed to open SDR device: SoapySDR::Device::make() no match
error: exception in "suscan_source_open_sdr(new)" (analyzer/source.c:2513)
error: exception in "self->source = suscan_source_new(config)" (analyzer/impl/local.c:508)
error: Failed to initialize source
error: exception in "new->impl = (iface->ctor) (new, ap)" (analyzer/analyzer.c:6

And I'll attach the pictures of the config:
Screenshot from 2022-09-19 09-59-41

Screenshot from 2022-09-19 10-00-15

Screenshot from 2022-09-19 10-00-30

@BatchDrake
Copy link
Owner

Try setting these keys too:

driver=x300
hardware=X310
fpga_version=39.0
fw_version=6.0
mboard_id=X310
mboard_name=
mboard_serial=3253FAC

@rajgark
Copy link
Author

rajgark commented Sep 19, 2022

Some progress, after setting the keys I re-tried acquisition and the following happened:

[INFO] [x300_impl.cpp:212] [X300] X300 initialization sequence...
[INFO] [X300] X300 initialization sequence...
[INFO] [x300_eth_mgr.cpp:648] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [x300_impl.cpp:413] [X300] Radio 1x clock: 200 MHz
[INFO] [X300] Radio 1x clock: 200 MHz
[INFO] [x300_impl.cpp:212] [X300] X300 initialization sequence...
[INFO] [X300] X300 initialization sequence...
[INFO] [x300_eth_mgr.cpp:648] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [x300_impl.cpp:413] [X300] Radio 1x clock: 200 MHz
[INFO] [X300] Radio 1x clock: 200 MHz
[WARNING] [multi_usrp_rfnoc.cpp:1245] [MULTI_USRP] Could not set RX rate to 0.196 MHz. Actual rate is 0.196 MHz
[WARNING] [MULTI_USRP] Could not set RX rate to 0.196 MHz. Actual rate is 0.196 MHz
Segmentation fault (core dumped)

@BatchDrake
Copy link
Owner

I've just added a few more changes to Suscan, regarding sample rate stuff. Can you rebuild everything from scratch (sigutils, suscan, SuWidgets and SigDigger, in this order) and, in case this keeps happening, post a stack trace?

@rajgark
Copy link
Author

rajgark commented Sep 19, 2022

Yes will do. Wow that's great, I seriously greatly appreciate this thank you so much

@rajgark
Copy link
Author

rajgark commented Sep 20, 2022

So I did rebuild everything, and the segmentation fault (using uhd driver) is gone, but it gets stuck here:

[INFO] [x300_impl.cpp:212] [X300] X300 initialization sequence...
[INFO] [X300] X300 initialization sequence...
[INFO] [x300_eth_mgr.cpp:648] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [x300_impl.cpp:413] [X300] Radio 1x clock: 200 MHz
[INFO] [X300] Radio 1x clock: 200 MHz
[WARNING] [multi_usrp_rfnoc.cpp:1245] [MULTI_USRP] Could not set RX rate to 0.196 MHz. Actual rate is 0.196 MHz
[WARNING] [MULTI_USRP] Could not set RX rate to 0.196 MHz. Actual rate is 0.196 MHz
^C

So, debugging via gdb:

bhml@bhml-sdr:/usr/local/bin$ gdb ./SigDigger
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 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 ./SigDigger...
(No debugging symbols found in ./SigDigger)
(gdb) run
Starting program: /usr/local/bin/SigDigger
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff1f1d700 (LWP 40125)]
[New Thread 0x7fffebfff700 (LWP 40126)]
[New Thread 0x7fffeb7fe700 (LWP 40127)]
[New Thread 0x7fffeaffd700 (LWP 40128)]
[New Thread 0x7fffea490700 (LWP 40130)]
[New Thread 0x7fffe9a6c700 (LWP 40131)]
[New Thread 0x7fffe926b700 (LWP 40132)]
[New Thread 0x7fffe8a6a700 (LWP 40133)]
[New Thread 0x7fffcbfff700 (LWP 40134)]
[New Thread 0x7fffcb7fe700 (LWP 40135)]
[New Thread 0x7fffc9059700 (LWP 40136)]
[New Thread 0x7fffb594d700 (LWP 40137)]
[Thread 0x7fffb594d700 (LWP 40137) exited]
[New Thread 0x7fffb514c700 (LWP 40138)]
[New Thread 0x7fffb594d700 (LWP 40139)]
[New Thread 0x7fffb494b700 (LWP 40140)]
[New Thread 0x7fffaffff700 (LWP 40141)]
[Thread 0x7fffb494b700 (LWP 40140) exited]
[New Thread 0x7fffaf7fe700 (LWP 40142)]
[New Thread 0x7fffaeffd700 (LWP 40143)]
[New Thread 0x7fffae7fc700 (LWP 40144)]
[New Thread 0x7fffadffb700 (LWP 40145)]
[New Thread 0x7fffad7fa700 (LWP 40146)]
[New Thread 0x7fffacff9700 (LWP 40147)]
[New Thread 0x7fff937fe700 (LWP 40149)]
[New Thread 0x7fff93fff700 (LWP 40148)]
[New Thread 0x7fff92ffd700 (LWP 40150)]
[New Thread 0x7fff927fc700 (LWP 40152)]
[New Thread 0x7fff91ffb700 (LWP 40151)]
[New Thread 0x7fff90ff9700 (LWP 40153)]
[Thread 0x7fff91ffb700 (LWP 40151) exited]
[New Thread 0x7fff917fa700 (LWP 40154)]
[Thread 0x7fffaeffd700 (LWP 40143) exited]
[Thread 0x7fffaffff700 (LWP 40141) exited]
[Thread 0x7fff90ff9700 (LWP 40153) exited]
[Thread 0x7fffad7fa700 (LWP 40146) exited]
[Thread 0x7fff93fff700 (LWP 40148) exited]
[Thread 0x7fffadffb700 (LWP 40145) exited]
[Thread 0x7fffaf7fe700 (LWP 40142) exited]
[Thread 0x7fff927fc700 (LWP 40152) exited]
[Thread 0x7fffae7fc700 (LWP 40144) exited]
[Thread 0x7fff917fa700 (LWP 40154) exited]
[Thread 0x7fffacff9700 (LWP 40147) exited]
[Thread 0x7fffb594d700 (LWP 40139) exited]
[Thread 0x7fffb514c700 (LWP 40138) exited]
[New Thread 0x7fffb514c700 (LWP 40155)]
[New Thread 0x7fff91ffb700 (LWP 40156)]
[Thread 0x7fff91ffb700 (LWP 40156) exited]
[New Thread 0x7fff93fff700 (LWP 40157)]
[Thread 0x7fff93fff700 (LWP 40157) exited]
[New Thread 0x7fffadffb700 (LWP 40158)]
[New Thread 0x7fffb594d700 (LWP 40159)]
[Thread 0x7fffb594d700 (LWP 40159) exited]
[New Thread 0x7fffb494b700 (LWP 40160)]
[New Thread 0x7fffaffff700 (LWP 40161)]
[Thread 0x7fffaffff700 (LWP 40161) exited]
[New Thread 0x7fffaf7fe700 (LWP 40162)]
[Thread 0x7fffaf7fe700 (LWP 40162) exited]
[Thread 0x7fffadffb700 (LWP 40158) exited]
[Thread 0x7fffb514c700 (LWP 40155) exited]
[Thread 0x7fffb494b700 (LWP 40160) exited]
[New Thread 0x7fffaf7fe700 (LWP 40163)]
[New Thread 0x7fffaffff700 (LWP 40164)]
[Thread 0x7fffaffff700 (LWP 40164) exited]
[Thread 0x7fffaf7fe700 (LWP 40163) exited]
[Thread 0x7fffc9059700 (LWP 40136) exited]
[New Thread 0x7fffc9059700 (LWP 40166)]
[New Thread 0x7fffaf7fe700 (LWP 40181)]
[New Thread 0x7fffaffff700 (LWP 40182)]
[Thread 0x7fffaffff700 (LWP 40182) exited]
[New Thread 0x7fffb494b700 (LWP 40183)]
[Thread 0x7fffb494b700 (LWP 40183) exited]
[New Thread 0x7fffb594d700 (LWP 40184)]
[New Thread 0x7fffaeffd700 (LWP 40185)]
[Thread 0x7fffaeffd700 (LWP 40185) exited]
[New Thread 0x7fffae7fc700 (LWP 40186)]
[New Thread 0x7fffadffb700 (LWP 40187)]
[New Thread 0x7fffad7fa700 (LWP 40188)]
[Thread 0x7fffadffb700 (LWP 40187) exited]
[Thread 0x7fffad7fa700 (LWP 40188) exited]
[Thread 0x7fffb594d700 (LWP 40184) exited]
[Thread 0x7fffaf7fe700 (LWP 40181) exited]
[Thread 0x7fffae7fc700 (LWP 40186) exited]
[INFO] [x300_impl.cpp:212] [X300] X300 initialization sequence...
[INFO] [X300] X300 initialization sequence...
[New Thread 0x7fffad7fa700 (LWP 40189)]
[INFO] [x300_eth_mgr.cpp:648] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [x300_impl.cpp:413] [X300] Radio 1x clock: 200 MHz
[INFO] [X300] Radio 1x clock: 200 MHz
[New Thread 0x7fffadffb700 (LWP 40190)]
[WARNING] [multi_usrp_rfnoc.cpp:1245] [MULTI_USRP] Could not set RX rate to 0.196 MHz. Actual rate is 0.196 MHz
[WARNING] [MULTI_USRP] Could not set RX rate to 0.196 MHz. Actual rate is 0.196 MHz
[New Thread 0x7fffae7fc700 (LWP 40191)]
[New Thread 0x7fffaeffd700 (LWP 40192)]
[New Thread 0x7fffb594d700 (LWP 40193)]
[New Thread 0x7fffb4c8c700 (LWP 40194)]
[New Thread 0x7fffaffff700 (LWP 40195)]
[New Thread 0x7fffaf7fe700 (LWP 40196)]
[New Thread 0x7fffacff9700 (LWP 40197)]
[New Thread 0x7fff93fff700 (LWP 40198)]
[New Thread 0x7fff927fc700 (LWP 40199)]
[New Thread 0x7fff91ffb700 (LWP 40200)]
[New Thread 0x7fff917fa700 (LWP 40201)]
[New Thread 0x7fff90ff9700 (LWP 40202)]
[New Thread 0x7fff77fff700 (LWP 40203)]
[New Thread 0x7fff777fe700 (LWP 40204)]
[New Thread 0x7fff76ffd700 (LWP 40205)]
[Thread 0x7fff76ffd700 (LWP 40205) exited]
[Thread 0x7fff777fe700 (LWP 40204) exited]
[Thread 0x7fffae7fc700 (LWP 40191) exited]
[Thread 0x7fffaeffd700 (LWP 40192) exited]
[Thread 0x7fffb594d700 (LWP 40193) exited]
[Thread 0x7fffb4c8c700 (LWP 40194) exited]
[Thread 0x7fffaffff700 (LWP 40195) exited]
[Thread 0x7fffaf7fe700 (LWP 40196) exited]
[Thread 0x7fffacff9700 (LWP 40197) exited]
[Thread 0x7fff93fff700 (LWP 40198) exited]
[Thread 0x7fff927fc700 (LWP 40199) exited]
[Thread 0x7fff91ffb700 (LWP 40200) exited]
[Thread 0x7fff917fa700 (LWP 40201) exited]
[Thread 0x7fff90ff9700 (LWP 40202) exited]
[Thread 0x7fff77fff700 (LWP 40203) exited]
[Thread 0x7fffadffb700 (LWP 40190) exited]
[Thread 0x7fffad7fa700 (LWP 40189) exited]
Saving config...
[Thread 0x7fffcbfff700 (LWP 40134) exited]
[Thread 0x7fffcb7fe700 (LWP 40135) exited]
[Thread 0x7fffe8a6a700 (LWP 40133) exited]
[Thread 0x7fffe926b700 (LWP 40132) exited]
[Thread 0x7fffe9a6c700 (LWP 40131) exited]
[Thread 0x7fffea490700 (LWP 40130) exited]
[Thread 0x7fffc9059700 (LWP 40166) exited]
[Thread 0x7fff92ffd700 (LWP 40150) exited]
[Thread 0x7fff937fe700 (LWP 40149) exited]
[Thread 0x7fffeaffd700 (LWP 40128) exited]
[Thread 0x7fffebfff700 (LWP 40126) exited]
[Thread 0x7ffff1f1d700 (LWP 40125) exited]
[Thread 0x7ffff30dc000 (LWP 40121) exited]

had to exit the program there.

When I switch to x300 driver, I receive the same error as before in the screenshots. Interestingly enough, when I tried setting those keys, immediately upon clicking "ok" it resulted in a segmentation fault.

@BatchDrake
Copy link
Owner

In gdb, instead of exiting the program, hit Ctrl+C when it gets stuck and execute thread apply all bt in the (gdb) prompt. I want to see what it is attempting to do.

@rajgark
Copy link
Author

rajgark commented Sep 20, 2022

got it, here is the stack trace:

bhml@bhml-sdr:/usr/local/bin$ gdb ./SigDigger
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 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 ./SigDigger...
(No debugging symbols found in ./SigDigger)
(gdb) run
Starting program: /usr/local/bin/SigDigger
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff1f1d700 (LWP 40237)]
[New Thread 0x7fffebfff700 (LWP 40238)]
[New Thread 0x7fffeb7fe700 (LWP 40239)]
[New Thread 0x7fffeaffd700 (LWP 40240)]
[New Thread 0x7fffea490700 (LWP 40242)]
[New Thread 0x7fffe9a6c700 (LWP 40243)]
[New Thread 0x7fffe926b700 (LWP 40244)]
[New Thread 0x7fffe8a6a700 (LWP 40245)]
[New Thread 0x7fffcbfff700 (LWP 40246)]
[New Thread 0x7fffcb7fe700 (LWP 40247)]
[New Thread 0x7fffc9059700 (LWP 40248)]
[New Thread 0x7fffb594d700 (LWP 40249)]
[New Thread 0x7fffb514c700 (LWP 40250)]
[Thread 0x7fffb594d700 (LWP 40249) exited]
[New Thread 0x7fffb594d700 (LWP 40251)]
[New Thread 0x7fffb494b700 (LWP 40252)]
[New Thread 0x7fffaffff700 (LWP 40253)]
[Thread 0x7fffb494b700 (LWP 40252) exited]
[New Thread 0x7fffaf7fe700 (LWP 40254)]
[New Thread 0x7fffaeffd700 (LWP 40255)]
[New Thread 0x7fffae7fc700 (LWP 40256)]
[New Thread 0x7fffadffb700 (LWP 40257)]
[New Thread 0x7fffad7fa700 (LWP 40258)]
[New Thread 0x7fffacff9700 (LWP 40259)]
[New Thread 0x7fff9bfff700 (LWP 40260)]
[New Thread 0x7fff9affd700 (LWP 40262)]
[New Thread 0x7fff9b7fe700 (LWP 40261)]
[New Thread 0x7fff9a7fc700 (LWP 40263)]
[Thread 0x7fff9b7fe700 (LWP 40261) exited]
[New Thread 0x7fff99ffb700 (LWP 40264)]
[Thread 0x7fffaffff700 (LWP 40253) exited]
[New Thread 0x7fff997fa700 (LWP 40265)]
[New Thread 0x7fff98ff9700 (LWP 40266)]
[New Thread 0x7fff87fff700 (LWP 40267)]
[Thread 0x7fff9a7fc700 (LWP 40263) exited]
[Thread 0x7fffaeffd700 (LWP 40255) exited]
[Thread 0x7fff87fff700 (LWP 40267) exited]
[Thread 0x7fffacff9700 (LWP 40259) exited]
[Thread 0x7fffad7fa700 (LWP 40258) exited]
[Thread 0x7fffae7fc700 (LWP 40256) exited]
[Thread 0x7fffaf7fe700 (LWP 40254) exited]
[Thread 0x7fff997fa700 (LWP 40265) exited]
[Thread 0x7fff9affd700 (LWP 40262) exited]
[Thread 0x7fffadffb700 (LWP 40257) exited]
[Thread 0x7fff98ff9700 (LWP 40266) exited]
[Thread 0x7fffb594d700 (LWP 40251) exited]
[Thread 0x7fffb514c700 (LWP 40250) exited]
[New Thread 0x7fffb514c700 (LWP 40268)]
[New Thread 0x7fff9b7fe700 (LWP 40269)]
[Thread 0x7fff9b7fe700 (LWP 40269) exited]
[New Thread 0x7fffad7fa700 (LWP 40270)]
[Thread 0x7fffad7fa700 (LWP 40270) exited]
[New Thread 0x7fffae7fc700 (LWP 40271)]
[New Thread 0x7fffb594d700 (LWP 40272)]
[Thread 0x7fffb594d700 (LWP 40272) exited]
[New Thread 0x7fffb494b700 (LWP 40273)]
[New Thread 0x7fffaffff700 (LWP 40274)]
[Thread 0x7fffaffff700 (LWP 40274) exited]
[New Thread 0x7fffaf7fe700 (LWP 40275)]
[Thread 0x7fffaf7fe700 (LWP 40275) exited]
[Thread 0x7fffae7fc700 (LWP 40271) exited]
[Thread 0x7fffb514c700 (LWP 40268) exited]
[Thread 0x7fffb494b700 (LWP 40273) exited]
[New Thread 0x7fffaf7fe700 (LWP 40276)]
[New Thread 0x7fffaffff700 (LWP 40277)]
[Thread 0x7fffaffff700 (LWP 40277) exited]
[Thread 0x7fffaf7fe700 (LWP 40276) exited]
[Thread 0x7fffc9059700 (LWP 40248) exited]
[New Thread 0x7fffc9059700 (LWP 40278)]
[New Thread 0x7fffaf7fe700 (LWP 40281)]
[New Thread 0x7fffaffff700 (LWP 40282)]
[New Thread 0x7fffb494b700 (LWP 40283)]
[Thread 0x7fffaffff700 (LWP 40282) exited]
[Thread 0x7fffb494b700 (LWP 40283) exited]
[New Thread 0x7fffb594d700 (LWP 40284)]
[Thread 0x7fffaf7fe700 (LWP 40281) exited]
[New Thread 0x7fffaeffd700 (LWP 40285)]
[Thread 0x7fffaeffd700 (LWP 40285) exited]
[New Thread 0x7fffae7fc700 (LWP 40286)]
[New Thread 0x7fffadffb700 (LWP 40287)]
[Thread 0x7fffadffb700 (LWP 40287) exited]
[New Thread 0x7fffad7fa700 (LWP 40288)]
[Thread 0x7fffad7fa700 (LWP 40288) exited]
[Thread 0x7fffb594d700 (LWP 40284) exited]
[Thread 0x7fffae7fc700 (LWP 40286) exited]
[INFO] [x300_impl.cpp:212] [X300] X300 initialization sequence...
[INFO] [X300] X300 initialization sequence...
[New Thread 0x7fffad7fa700 (LWP 40289)]
[INFO] [x300_eth_mgr.cpp:648] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [x300_impl.cpp:413] [X300] Radio 1x clock: 200 MHz
[INFO] [X300] Radio 1x clock: 200 MHz
[New Thread 0x7fffadffb700 (LWP 40290)]
[WARNING] [multi_usrp_rfnoc.cpp:1245] [MULTI_USRP] Could not set RX rate to 0.196 MHz. Actual rate is 0.196 MHz
[WARNING] [MULTI_USRP] Could not set RX rate to 0.196 MHz. Actual rate is 0.196 MHz
[New Thread 0x7fffae7fc700 (LWP 40291)]
[New Thread 0x7fffaeffd700 (LWP 40292)]
[New Thread 0x7fffb594d700 (LWP 40293)]
[New Thread 0x7fffb4e19700 (LWP 40294)]
[New Thread 0x7fffaffff700 (LWP 40295)]
[New Thread 0x7fffaf7fe700 (LWP 40296)]
[New Thread 0x7fffacff9700 (LWP 40297)]
[New Thread 0x7fff9b7fe700 (LWP 40298)]
[New Thread 0x7fff9affd700 (LWP 40299)]
[New Thread 0x7fff9a7fc700 (LWP 40300)]
[New Thread 0x7fff997fa700 (LWP 40301)]
[New Thread 0x7fff98ff9700 (LWP 40302)]
[New Thread 0x7fff87fff700 (LWP 40303)]
[New Thread 0x7fff877fe700 (LWP 40304)]
[New Thread 0x7fff86ffd700 (LWP 40305)]
^C--Type for more, q to quit, c to continue without paging--c

Thread 1 "SigDigger" received signal SIGINT, Interrupt.
0x00007ffff621a99f in __GI___poll (fds=0x5555568baf80, nfds=5, timeout=110) at ../sysdeps/unix/sysv/linux/poll.c:29
29 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) thread apply all gdb

Thread 67 (Thread 0x7fff86ffd700 (LWP 40305)):
Undefined command: "gdb". Try "help".
(gdb) thread apply all bt

Thread 67 (Thread 0x7fff86ffd700 (LWP 40305)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x555556238a2c) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555562389d8, cond=0x555556238a00) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x555556238a00, mutex=0x5555562389d8) at pthread_cond_wait.c:647
#3 0x00007ffff7ec4af2 in suscan_mq_wait_unsafe (mq=0x5555562389d8) at /home/bhml/suscan/analyzer/mq.c:140
#4 0x00007ffff7ec521c in suscan_mq_read_msg_internal (mq=0x5555562389d8, with_type=0, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:404
#5 0x00007ffff7ec5292 in suscan_mq_read_internal (mq=0x5555562389d8, ptype=0x7fff86ffc9e8, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:422
#6 0x00007ffff7ec5339 in suscan_mq_read_timeout (mq=0x5555562389d8, type=0x7fff86ffc9e8, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:451
#7 0x00007ffff7eadae9 in suscan_analyzer_read_timeout (self=0x555556cd80b0, type=0x7fff86ffca34, timeout=0x0) at /home/bhml/suscan/analyzer/analyzer.c:508
#8 0x00007ffff7eada91 in suscan_analyzer_read (self=0x555556cd80b0, type=0x7fff86ffca34) at /home/bhml/suscan/analyzer/analyzer.c:493
#9 0x000055555571ca91 in Suscan::Analyzer::AsyncThread::run() ()
#10 0x00007ffff67299d2 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c--Type for more, q to quit, c to continue without paging--
:477
#12 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 66 (Thread 0x7fff877fe700 (LWP 40304)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x555556a2b9e8) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555556a2b998, cond=0x555556a2b9c0) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x555556a2b9c0, mutex=0x555556a2b998) at pthread_cond_wait.c:647
#3 0x00007ffff7ec4af2 in suscan_mq_wait_unsafe (mq=0x555556a2b998) at /home/bhml/suscan/analyzer/mq.c:140
#4 0x00007ffff7ec521c in suscan_mq_read_msg_internal (mq=0x555556a2b998, with_type=0, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:404
#5 0x00007ffff7ec5292 in suscan_mq_read_internal (mq=0x555556a2b998, ptype=0x7fff877fd9fc, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:422
#6 0x00007ffff7ec5303 in suscan_mq_read (mq=0x555556a2b998, type=0x7fff877fd9fc) at /home/bhml/suscan/analyzer/mq.c:442
#7 0x00007ffff7eb5252 in suscan_analyzer_thread (data=0x555556a2b990) at /home/bhml/suscan/analyzer/impl/local.c:314
#8 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
--Type for more, q to quit, c to continue without paging--
#9 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 65 (Thread 0x7fff87fff700 (LWP 40303)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x55555752de00) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555752ddb0, cond=0x55555752ddd8) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x55555752ddd8, mutex=0x55555752ddb0) at pthread_cond_wait.c:647
#3 0x00007ffff7ec4af2 in suscan_mq_wait_unsafe (mq=0x55555752ddb0) at /home/bhml/suscan/analyzer/mq.c:140
#4 0x00007ffff7ec521c in suscan_mq_read_msg_internal (mq=0x55555752ddb0, with_type=0, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:404
#5 0x00007ffff7ec53c5 in suscan_mq_read_msg (mq=0x55555752ddb0) at /home/bhml/suscan/analyzer/mq.c:473
#6 0x00007ffff7eda73a in suscan_worker_thread (data=0x55555752ddb0) at /home/bhml/suscan/analyzer/worker.c:94
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

--Type for more, q to quit, c to continue without paging--
Thread 64 (Thread 0x7fff98ff9700 (LWP 40302)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x55555752daf0) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555752daa0, cond=0x55555752dac8) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x55555752dac8, mutex=0x55555752daa0) at pthread_cond_wait.c:647
#3 0x00007ffff7ec4af2 in suscan_mq_wait_unsafe (mq=0x55555752daa0) at /home/bhml/suscan/analyzer/mq.c:140
#4 0x00007ffff7ec521c in suscan_mq_read_msg_internal (mq=0x55555752daa0, with_type=0, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:404
#5 0x00007ffff7ec53c5 in suscan_mq_read_msg (mq=0x55555752daa0) at /home/bhml/suscan/analyzer/mq.c:473
#6 0x00007ffff7eda73a in suscan_worker_thread (data=0x55555752daa0) at /home/bhml/suscan/analyzer/worker.c:94
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 63 (Thread 0x7fff997fa700 (LWP 40301)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x55555752d7e0) at ../sysdeps/nptl/futex-internal.h:183
--Type for more, q to quit, c to continue without paging--
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555752d790, cond=0x55555752d7b8) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x55555752d7b8, mutex=0x55555752d790) at pthread_cond_wait.c:647
#3 0x00007ffff7ec4af2 in suscan_mq_wait_unsafe (mq=0x55555752d790) at /home/bhml/suscan/analyzer/mq.c:140
#4 0x00007ffff7ec521c in suscan_mq_read_msg_internal (mq=0x55555752d790, with_type=0, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:404
#5 0x00007ffff7ec53c5 in suscan_mq_read_msg (mq=0x55555752d790) at /home/bhml/suscan/analyzer/mq.c:473
#6 0x00007ffff7eda73a in suscan_worker_thread (data=0x55555752d790) at /home/bhml/suscan/analyzer/worker.c:94
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 62 (Thread 0x7fff9a7fc700 (LWP 40300)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x55555752d4d0) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555752d480, cond=0x55555752d4a8) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x55555752d4a8, mutex=0x55555752d480) at pthread_c--Type for more, q to quit, c to continue without paging--
ond_wait.c:647
#3 0x00007ffff7ec4af2 in suscan_mq_wait_unsafe (mq=0x55555752d480) at /home/bhml/suscan/analyzer/mq.c:140
#4 0x00007ffff7ec521c in suscan_mq_read_msg_internal (mq=0x55555752d480, with_type=0, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:404
#5 0x00007ffff7ec53c5 in suscan_mq_read_msg (mq=0x55555752d480) at /home/bhml/suscan/analyzer/mq.c:473
#6 0x00007ffff7eda73a in suscan_worker_thread (data=0x55555752d480) at /home/bhml/suscan/analyzer/worker.c:94
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 61 (Thread 0x7fff9affd700 (LWP 40299)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x55555752d1c0) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555752d170, cond=0x55555752d198) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x55555752d198, mutex=0x55555752d170) at pthread_cond_wait.c:647
#3 0x00007ffff7ec4af2 in suscan_mq_wait_unsafe (mq=0x55555752d170) at /home/bhml/suscan/analyzer/mq.c:140
--Type for more, q to quit, c to continue without paging--
#4 0x00007ffff7ec521c in suscan_mq_read_msg_internal (mq=0x55555752d170, with_type=0, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:404
#5 0x00007ffff7ec53c5 in suscan_mq_read_msg (mq=0x55555752d170) at /home/bhml/suscan/analyzer/mq.c:473
#6 0x00007ffff7eda73a in suscan_worker_thread (data=0x55555752d170) at /home/bhml/suscan/analyzer/worker.c:94
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 60 (Thread 0x7fff9b7fe700 (LWP 40298)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x55555752ceb0) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555752ce60, cond=0x55555752ce88) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x55555752ce88, mutex=0x55555752ce60) at pthread_cond_wait.c:647
#3 0x00007ffff7ec4af2 in suscan_mq_wait_unsafe (mq=0x55555752ce60) at /home/bhml/suscan/analyzer/mq.c:140
#4 0x00007ffff7ec521c in suscan_mq_read_msg_internal (mq=0x55555752ce60, with_type=0, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:404
#5 0x00007ffff7ec53c5 in suscan_mq_read_msg (mq=0x55555752ce60) at /home/bhml/s--Type for more, q to quit, c to continue without paging--
uscan/analyzer/mq.c:473
#6 0x00007ffff7eda73a in suscan_worker_thread (data=0x55555752ce60) at /home/bhml/suscan/analyzer/worker.c:94
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 59 (Thread 0x7fffacff9700 (LWP 40297)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x55555752cba0) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555752cb50, cond=0x55555752cb78) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x55555752cb78, mutex=0x55555752cb50) at pthread_cond_wait.c:647
#3 0x00007ffff7ec4af2 in suscan_mq_wait_unsafe (mq=0x55555752cb50) at /home/bhml/suscan/analyzer/mq.c:140
#4 0x00007ffff7ec521c in suscan_mq_read_msg_internal (mq=0x55555752cb50, with_type=0, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:404
#5 0x00007ffff7ec53c5 in suscan_mq_read_msg (mq=0x55555752cb50) at /home/bhml/suscan/analyzer/mq.c:473
#6 0x00007ffff7eda73a in suscan_worker_thread (data=0x55555752cb50) at /home/bhml/suscan/analyzer/worker.c:94
--Type for more, q to quit, c to continue without paging--
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 58 (Thread 0x7fffaf7fe700 (LWP 40296)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x55555752c890) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555752c840, cond=0x55555752c868) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x55555752c868, mutex=0x55555752c840) at pthread_cond_wait.c:647
#3 0x00007ffff7ec4af2 in suscan_mq_wait_unsafe (mq=0x55555752c840) at /home/bhml/suscan/analyzer/mq.c:140
#4 0x00007ffff7ec521c in suscan_mq_read_msg_internal (mq=0x55555752c840, with_type=0, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:404
#5 0x00007ffff7ec53c5 in suscan_mq_read_msg (mq=0x55555752c840) at /home/bhml/suscan/analyzer/mq.c:473
#6 0x00007ffff7eda73a in suscan_worker_thread (data=0x55555752c840) at /home/bhml/suscan/analyzer/worker.c:94
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:--Type for more, q to quit, c to continue without paging--
95

Thread 57 (Thread 0x7fffaffff700 (LWP 40295)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x55555752bf60) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555752bf10, cond=0x55555752bf38) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x55555752bf38, mutex=0x55555752bf10) at pthread_cond_wait.c:647
#3 0x00007ffff7ec4af2 in suscan_mq_wait_unsafe (mq=0x55555752bf10) at /home/bhml/suscan/analyzer/mq.c:140
#4 0x00007ffff7ec521c in suscan_mq_read_msg_internal (mq=0x55555752bf10, with_type=0, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:404
#5 0x00007ffff7ec53c5 in suscan_mq_read_msg (mq=0x55555752bf10) at /home/bhml/suscan/analyzer/mq.c:473
#6 0x00007ffff7eda73a in suscan_worker_thread (data=0x55555752bf10) at /home/bhml/suscan/analyzer/worker.c:94
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 56 (Thread 0x7fffb4e19700 (LWP 40294)):
--Type for more, q to quit, c to continue without paging--
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x555557528690) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555557528640, cond=0x555557528668) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x555557528668, mutex=0x555557528640) at pthread_cond_wait.c:647
#3 0x00007ffff7ec4af2 in suscan_mq_wait_unsafe (mq=0x555557528640) at /home/bhml/suscan/analyzer/mq.c:140
#4 0x00007ffff7ec521c in suscan_mq_read_msg_internal (mq=0x555557528640, with_type=0, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:404
#5 0x00007ffff7ec53c5 in suscan_mq_read_msg (mq=0x555557528640) at /home/bhml/suscan/analyzer/mq.c:473
#6 0x00007ffff7eda73a in suscan_worker_thread (data=0x555557528640) at /home/bhml/suscan/analyzer/worker.c:94
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 55 (Thread 0x7fffb594d700 (LWP 40293)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x555557537940) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555575378f0, co--Type for more, q to quit, c to continue without paging--
nd=0x555557537918) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x555557537918, mutex=0x5555575378f0) at pthread_cond_wait.c:647
#3 0x00007ffff7ec4af2 in suscan_mq_wait_unsafe (mq=0x5555575378f0) at /home/bhml/suscan/analyzer/mq.c:140
#4 0x00007ffff7ec521c in suscan_mq_read_msg_internal (mq=0x5555575378f0, with_type=0, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:404
#5 0x00007ffff7ec53c5 in suscan_mq_read_msg (mq=0x5555575378f0) at /home/bhml/suscan/analyzer/mq.c:473
#6 0x00007ffff7eda73a in suscan_worker_thread (data=0x5555575378f0) at /home/bhml/suscan/analyzer/worker.c:94
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 54 (Thread 0x7fffaeffd700 (LWP 40292)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x55555748a994) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555748a940, cond=0x55555748a968) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x55555748a968, mutex=0x55555748a940) at pthread_cond_wait.c:647
--Type for more, q to quit, c to continue without paging--
#3 0x00007ffff7ec4af2 in suscan_mq_wait_unsafe (mq=0x55555748a940) at /home/bhml/suscan/analyzer/mq.c:140
#4 0x00007ffff7ec521c in suscan_mq_read_msg_internal (mq=0x55555748a940, with_type=0, type=0, timeout=0x0) at /home/bhml/suscan/analyzer/mq.c:404
#5 0x00007ffff7ec53c5 in suscan_mq_read_msg (mq=0x55555748a940) at /home/bhml/suscan/analyzer/mq.c:473
#6 0x00007ffff7eda73a in suscan_worker_thread (data=0x55555748a940) at /home/bhml/suscan/analyzer/worker.c:94
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 53 (Thread 0x7fffae7fc700 (LWP 40291)):
#0 0x00007ffff621a99f in __GI___poll (fds=0x7fffae7faca0, nfds=1, timeout=100) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007fffb64a3b22 in uhd::transport::recv_link_baseuhd::transport::udp_boost_asio_link::get_recv_buff(int) () at /lib/libuhd.so.4.3.0
#2 0x00007fffb64cc300 in uhd::transport::inline_io_service::recv(uhd::transport::inline_recv_cb*, uhd::transport::recv_link_if*, int) () at /lib/libuhd.so.4.3.0
#3 0x00007fffb64ce322 in virtual thunk to uhd::transport::inline_recv_io::get_recv_buff(int) () at /lib/libuhd.so.4.3.0
--Type for more, q to quit, c to continue without paging--
#4 0x00007fffb5de0385 in uhd::transport::get_aligned_buffs<uhd::rfnoc::chdr_rx_data_xport, false>::operator()(int) () at /lib/libuhd.so.4.3.0
#5 0x00007fffb5de0b14 in uhd::transport::rx_streamer_zero_copy<uhd::rfnoc::chdr_rx_data_xport, false>::get_recv_buffs(std::vector<void const*, std::allocator<void const*> >&, uhd::rx_metadata_t&, uhd::transport::detail::eov_data_wrapper&, int) () at /lib/libuhd.so.4.3.0
#6 0x00007fffb5dda76a in uhd::transport::rx_streamer_impl<uhd::rfnoc::chdr_rx_data_xport, false>::recv(uhd::ref_vector<void*> const&, unsigned long, uhd::rx_metadata_t&, double, bool) () at /lib/libuhd.so.4.3.0
#7 0x00007fffe9c0e64f in SoapyUHDDevice::readStream(SoapySDR::Stream*, void* const*, unsigned long, int&, long long&, long) () at /usr/local/lib/SoapySDR/modules0.8-2/libuhdSupport.so
#8 0x00007ffff7d5bf28 in SoapySDRDevice_readStream () at /usr/local/lib/libSoapySDR.so.0.8-2
#9 0x00007ffff7ed75b8 in suscan_source_read_sdr (source=0x555556a2f550, buf=0x55555752e0c0, max=1024) at /home/bhml/suscan/analyzer/source.c:2048
#10 0x00007ffff7ed77b8 in suscan_source_read (self=0x555556a2f550, buffer=0x55555752e0c0, max=1024) at /home/bhml/suscan/analyzer/source.c:2110
#11 0x00007ffff7ea9711 in suscan_source_channel_wk_cb (mq_out=0x555556a2b998, wk_private=0x555556a2b990, cb_private=0x555556a2f550) at /home/bhml/suscan/analyzer/workers/channel.c:559
#12 0x00007ffff7eda798 in suscan_worker_thread (data=0x55555748a880) at /home/bhml/suscan/analyzer/worker.c:101
--Type for more, q to quit, c to continue without paging--
#13 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#14 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 52 (Thread 0x7fffadffb700 (LWP 40290)):
#0 futex_abstimed_wait_cancelable (private=, abstime=0x7fffadffa670, clockid=, expected=0, futex_word=0x7fffadffa740) at ../sysdeps/nptl/futex-internal.h:320
#1 __pthread_cond_wait_common (abstime=0x7fffadffa670, clockid=, mutex=0x7fffadffa6f0, cond=0x7fffadffa718) at pthread_cond_wait.c:520
#2 __pthread_cond_timedwait (cond=0x7fffadffa718, mutex=0x7fffadffa6f0, abstime=0x7fffadffa670) at pthread_cond_wait.c:665
#3 0x00007fffb5dac6fe in void boost::this_thread::sleep_for<long, boost::ratio<1l, 1000000000l> >(boost::chrono::duration<long, boost::ratio<1l, 1000000000l> > const&) () at /lib/libuhd.so.4.3.0
#4 0x00007fffb5dad448 in chdr_ctrl_endpoint_impl::recv_worker() () at /lib/libuhd.so.4.3.0
#5 0x00007ffff653ade4 in () at /lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#7 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
--Type for more, q to quit, c to continue without paging--

Thread 51 (Thread 0x7fffad7fa700 (LWP 40289)):
#0 0x00007ffff61e523f in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffad7f9850, rem=0x7fffad7f9850) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
#1 0x00007ffff61eaec7 in __GI___nanosleep (requested_time=, remaining=) at nanosleep.c:27
#2 0x00007fffb630fcfd in uhd::usrp::x300::claimer_loop(std::shared_ptruhd::wb_iface) () at /lib/libuhd.so.4.3.0
#3 0x00007fffb634100c in std::_Function_handler<void (), x300_impl::setup_mb(unsigned long, uhd::device_addr_t const&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) () at /lib/libuhd.so.4.3.0
#4 0x00007fffb645c26d in task_impl::task_loop(std::function<void ()> const&) () at /lib/libuhd.so.4.3.0
#5 0x00007ffff653ade4 in () at /lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#7 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 42 (Thread 0x7fffc9059700 (LWP 40278)):
#0 0x00007ffff621a99f in __GI___poll (fds=0x7fffc0bc84f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
--Type for more, q to quit, c to continue without paging--
#1 0x00007ffff4ffd36e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff4ffd4a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff6949435 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff68f03ab in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff6728785 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007ffff67299d2 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 28 (Thread 0x7fff99ffb700 (LWP 40264)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x7fffb6847160 <log_rs()::log_rs+256>) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fffb6847110 <log_rs()::log_rs+176>, cond=0x7fffb6847138 <log_rs()::log_rs+216>) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x7fffb6847138 <log_rs()::log_rs+216>, mutex=0x7fffb6847110 <log_rs()::log_rs+176>) at pthread_cond_wait.c:647
--Type for more, q to quit, c to continue without paging--
#3 0x00007fffb644b0a7 in log_resource::pop_fastpath_task() () at /lib/libuhd.so.4.3.0
#4 0x00007ffff653ade4 in () at /lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#6 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 24 (Thread 0x7fff9bfff700 (LWP 40260)):
#0 futex_wait_cancelable (private=, expected=0, futex_word=0x7fffb68472a4 <log_rs()::log_rs+580>) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fffb6847250 <log_rs()::log_rs+496>, cond=0x7fffb6847278 <log_rs()::log_rs+536>) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x7fffb6847278 <log_rs()::log_rs+536>, mutex=0x7fffb6847250 <log_rs()::log_rs+496>) at pthread_cond_wait.c:647
#3 0x00007fffb644f5b7 in log_resource::pop_task() () at /lib/libuhd.so.4.3.0
#4 0x00007ffff653ade4 in () at /lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#6 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

--Type for more, q to quit, c to continue without paging--
Thread 11 (Thread 0x7fffcb7fe700 (LWP 40247)):
#0 0x00007ffff621a99f in __GI___poll (fds=0x7fffbc002500, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff4ffd36e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff4ffd4a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff6949435 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff68f03ab in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff6728785 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007ffff67299d2 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fffcbfff700 (LWP 40246)):
#0 0x00007ffff621a99f in __GI___poll (fds=0x7fffc40021e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff4ffd36e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff4ffd4a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/l--Type for more, q to quit, c to continue without paging--
ibglib-2.0.so.0
#3 0x00007ffff6949435 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff68f03ab in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff6728785 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007ffff67299d2 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffe8a6a700 (LWP 40245)):
#0 0x00007ffff621a99f in __GI___poll (fds=0x7fffd00021e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff4ffd36e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff4ffd4a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff6949435 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff68f03ab in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
--Type for more, q to quit, c to continue without paging--
#5 0x00007ffff6728785 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007ffff67299d2 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffe926b700 (LWP 40244)):
#0 0x00007ffff621a99f in __GI___poll (fds=0x7fffcc0021e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff4ffd36e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff4ffd4a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff6949435 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff68f03ab in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff6728785 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007ffff67299d2 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
--Type for more, q to quit, c to continue without paging--
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffe9a6c700 (LWP 40243)):
#0 0x00007ffff621a99f in __GI___poll (fds=0x7fffd80021e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff4ffd36e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff4ffd4a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff6949435 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff68f03ab in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff6728785 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007ffff67299d2 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffea490700 (LWP 40242)):
#0 0x00007ffff621a99f in __GI___poll (fds=0x7fffd4002500, nfds=1, timeout=-1) a--Type for more, q to quit, c to continue without paging--
t ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff4ffd36e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff4ffd4a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff6949435 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff68f03ab in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff6728785 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007ffff67299d2 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#8 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fffeaffd700 (LWP 40240)):
#0 0x00007ffff621a99f in __GI___poll (fds=0x7fffe0010780, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff4ffd36e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff4ffd4a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff6949435 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop:--Type for more, q to quit, c to continue without paging--
:ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff68f03ab in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff6728785 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007ffff28ecefa in () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7 0x00007ffff67299d2 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#9 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fffeb7fe700 (LWP 40239)):
#0 0x00007ffff621a99f in __GI___poll (fds=0x55555607eb50, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff4ffd36e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff4ffd6f3 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff0949f8a in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007ffff5026ad1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#6 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:--Type for more, q to quit, c to continue without paging--
95

Thread 3 (Thread 0x7fffebfff700 (LWP 40238)):
#0 0x00007ffff621a99f in __GI___poll (fds=0x555556068170, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff4ffd36e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff4ffd4a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff4ffd4f1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007ffff5026ad1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#6 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ffff1f1d700 (LWP 40237)):
#0 0x00007ffff621a99f in __GI___poll (fds=0x7ffff1f1c928, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff3116c1a in () at /lib/x86_64-linux-gnu/libxcb.so.1
#2 0x00007ffff311890a in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3 0x00007ffff2a30298 in () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4 0x00007ffff67299d2 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5
--Type for more, q to quit, c to continue without paging--
#5 0x00007ffff664e609 in start_thread (arg=) at pthread_create.c:477
#6 0x00007ffff6227133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff30dc000 (LWP 40233)):
#0 0x00007ffff621a99f in __GI___poll (fds=0x5555568baf80, nfds=5, timeout=110) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff4ffd36e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff4ffd4a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff6949435 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff68f03ab in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff68f8116 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x0000555555620ce6 in main ()

@BatchDrake
Copy link
Owner

Look at this:

Thread 53 (Thread 0x7fffae7fc700 (LWP 40291)):
#0 0x00007ffff621a99f in __GI___poll (fds=0x7fffae7faca0, nfds=1, timeout=100) at ../sysdeps/unix/sysv/linux/poll.c:29
https://github.com/BatchDrake/SigDigger/issues/1 0x00007fffb64a3b22 in uhd::transport::recv_link_baseuhd::transport::udp_boost_asio_link::get_recv_buff(int) () at /lib/libuhd.so.4.3.0

Whatever is happening, it is happening inside libuhd.so.4.3.0. It is stuck there. Let's get back to the applications in your system that actually work. For instance, GnuRadio, what is the UHD source you are using? Can you verify that GnuRadio is also using libuhd.so.4.3.0? (this is easy, just open GnuRadio companion with gdb, start the UHD source, hit Ctrl+C, thread apply all bt and see what libraries are being used).

On the other hand, I am also interested in the x300 crash. Can you gdb/thread apply all bt it?

PD: If nothing of this is working, we can always resort to more aggresive measures. Is there the possibility that you set up a SSH server with an unprivileged user so I can connect to it remotely and attempt to fix it? Preferably through a VM, of course.

Thanks!

@rajgark
Copy link
Author

rajgark commented Sep 21, 2022

Oh I see... Got pulled in to some other work, I will try this later today and post an update. Again, thank you so much really

@BatchDrake
Copy link
Owner

Hi again,

Other user was also having trouble with SigDigger + USPR. His approach was slightly different, he used blsd, which is a script I wrote some time ago to automatize the download and build of SigDigger. See #188

Could you download & run blsd and tell me whether it keeps failing? Since it is kind-of a standarized build process, it could provide me with a base line for further debugging steps.

Note that in this case you do not need to install anything system-wide. Everything is deployed in a subdirectory of the current working directory, from which you can run SigDigger directly (using ./SigDigger).

@alphafox02
Copy link

I have an X310 and have used it with SigDigger. I'll check it again tonight. I'm using the UHD 4.x that's provided with Lubuntu 22.04 (DragonOS). If I check and it's working for me, maybe you could boot and run it live and see if it works for you, that might narrow it down to something with your install.

@BatchDrake
Copy link
Owner

Hi,

Is this still happening?

Cheers,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants