SigDigger
SigDigger copied to clipboard
core dump with SigDigger 0.1
Hello
tryed new version with B210 ettus . Previous version was working fine
Stop with core dump error
/opt/SigDigger/bin/SigDigger linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_003.009.002-0-gf18abe54
[INFO] Detected Device: B210 [INFO] Operating over USB 3. [INFO] Initialize CODEC control... [INFO] Initialize Radio control... [INFO] Performing register loopback test... [INFO] pass [INFO] Performing register loopback test... [INFO] pass [INFO] Performing CODEC loopback test... [INFO] pass [INFO] Performing CODEC loopback test... [INFO] pass [INFO] Asking for clock rate 16.000000 MHz... [INFO] Actually got clock rate 16.000000 MHz. [INFO] Performing timer loopback test... [INFO] pass [INFO] Performing timer loopback test... [INFO] pass [INFO] Setting master clock rate selection to 'automatic'. Error: C++ API exception: expression `obj = suscan_object_get_field(this->instance, field.c_str())' failed in include/Suscan/Object.h:173 [INFO] Detected Device: B210 [INFO] Operating over USB 3. [INFO] Initialize CODEC control... [INFO] Initialize Radio control... [INFO] Performing register loopback test... [INFO] pass [INFO] Performing register loopback test... [INFO] pass [INFO] Performing CODEC loopback test... [INFO] pass [INFO] Performing CODEC loopback test... [INFO] pass [INFO] Asking for clock rate 16.000000 MHz... [INFO] Actually got clock rate 16.000000 MHz. [INFO] Performing timer loopback test... [INFO] pass [INFO] Performing timer loopback test... [INFO] pass [INFO] Setting master clock rate selection to 'automatic'. [INFO] Asking for clock rate 32.000000 MHz... [INFO] Actually got clock rate 32.000000 MHz. [INFO] Performing timer loopback test... [INFO] pass [INFO] Performing timer loopback test... [INFO] pass Erreur de segmentation (core dumped)
Hi,
Is this one of the precompiled AppImages in the latest release? If that's the case, are you running the lite
or the full
version? Which version was the previous one you were using?
If you've built SigDigger from sources, please double check that you've built sigutils
, suscan
, SuWidgets
and SigDigger
from the master
branch, in this precise order. Have in mind that you have to run make install
in every subproject before moving to the next one.
If this error persists, could you send me a backtrace of the crash? You can do it with gdb
by performing the following steps (you may need to install it from your GNU/Linux distribution repositories):
- Open a terminal and go to SigDigger's directory (basically where the SigDigger executable is)
- Run
gdb ./SigDigger
, you should see a lot of copyright strings and a prompt saying(gdb)
. - In the
(gdb)
prompt, typerun
. SigDigger will atempt to start. - After reproducing the crash, you should see the
(gdb)
prompt again in your terminal window. Then, typebt
- A list of function calls should show up. Copy and paste it right here.
Thanks!
Hello Previous version was working fine - compiled from source and lite or full version
Now
With the full version I have :+1:
./SigDigger-0.1.0-x86_64-full.AppImage QApplication: invalid style override passed, ignoring it. /tmp/.mount_SigDigcXv1nG/usr/bin/SigDigger.app: symbol lookup error: /tmp/.mount_SigDigcXv1nG/usr/bin/../lib/libQt5Gui.so.5: undefined symbol: hb_font_funcs_set_font_h_extents_func
With lite version :+1:
The same message
With the version builded from source the error core dump
I did as same I did for the working version
Make , make install et sudo ldconfig each time
here is the gdb result
gdb /opt/SigDigger/bin/SigDigger GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1 Copyright (C) 2016 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 /opt/SigDigger/bin/SigDigger...(no debugging symbols found)...done. (gdb) run Starting program: /opt/SigDigger/bin/SigDigger [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe9b4d700 (LWP 3070)] [New Thread 0x7fffdd2b1700 (LWP 3073)] [New Thread 0x7fffd6bdf700 (LWP 3074)] linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_003.009.002-0-gf18abe54
[New Thread 0x7fffccb16700 (LWP 3075)] [Thread 0x7fffccb16700 (LWP 3075) exited] [New Thread 0x7fffccb16700 (LWP 3076)] [Thread 0x7fffccb16700 (LWP 3076) exited] [New Thread 0x7fffccb16700 (LWP 3077)] [New Thread 0x7fffcc315700 (LWP 3078)] [New Thread 0x7fffcbb14700 (LWP 3079)] [New Thread 0x7fffcb313700 (LWP 3080)] [Thread 0x7fffcb313700 (LWP 3080) exited] [New Thread 0x7fffcb313700 (LWP 3081)] [Thread 0x7fffcb313700 (LWP 3081) exited] [New Thread 0x7fffcb313700 (LWP 3082)] [Thread 0x7fffcb313700 (LWP 3082) exited] [New Thread 0x7fffcb313700 (LWP 3083)] -- Loading firmware image: /usr/local/share/uhd/images/usrp_b200_fw.hex... [Thread 0x7fffcb313700 (LWP 3083) exited] [New Thread 0x7fffcb313700 (LWP 3123)] [Thread 0x7fffcb313700 (LWP 3123) exited] [New Thread 0x7fffcb313700 (LWP 3124)] [Thread 0x7fffcb313700 (LWP 3124) exited] [New Thread 0x7fffcb313700 (LWP 3125)] [Thread 0x7fffcb313700 (LWP 3125) exited] [New Thread 0x7fffcb313700 (LWP 3126)] [Thread 0x7fffcb313700 (LWP 3126) exited] [New Thread 0x7fffcb313700 (LWP 3127)] [Thread 0x7fffcb313700 (LWP 3127) exited] [New Thread 0x7fffcb313700 (LWP 3128)] [INFO] Detected Device: B210 [INFO] Loading FPGA image: /usr/local/share/uhd/images/usrp_b210_fpga.bin... [INFO] 0% [IN 1% [IN 2% [IN 3% [IN 4% [IN 5% [IN 6% [IN 7% [IN 8% [IN 9% [IN 10% [IN 11% [IN 12% [IN 13% [IN 14% [IN 15% [IN 16% [IN 17% [IN 18% [IN 19% [IN 20% [IN 21% [IN 22% [IN 23% [IN 24% [IN 25% [IN 26% [IN 27% [IN 28% [IN 29% [IN 30% [IN 31% [IN 32% [IN 33% [IN 34% [IN 35% [IN 36% [IN 37% [IN 38% [IN 39% [IN 40% [IN 41% [IN 42% [IN 43% [IN 44% [IN 45% [IN 46% [IN 47% [IN 48% [IN 49% [IN 50% [IN 51% [IN 52% [IN 53% [IN 54% [IN 55% [IN 56% [IN 57% [IN 58% [IN 59% [IN 60% [IN 61% [IN 62% [IN 63% [IN 64% [IN 65% [IN 66% [IN 67% [IN 68% [IN 69% [IN 70% [IN 71% [IN 72% [IN 73% [IN 74% [IN 75% [IN 76% [IN 77% [IN 78% [IN 79% [IN 80% [IN 81% [IN 82% [IN 83% [IN 84% [IN 85% [IN 86% [IN 87% [IN 88% [IN 89% [IN 90% [IN 91% [IN 92% [IN 93% [IN 94% [IN 95% [IN 96% [IN 97% [IN 98% [IN 99% [IN100% [IN done [INFO] Operating over USB 3. [New Thread 0x7fffcab12700 (LWP 3137)] [INFO] Detecting internal GPSDO.... [INFO] No GPSDO found [INFO] Initialize CODEC control... [INFO] Initialize Radio control... [INFO] Performing register loopback test... [INFO] pass [INFO] Performing register loopback test... [INFO] pass [INFO] Performing CODEC loopback test... [INFO] pass [INFO] Performing CODEC loopback test... [INFO] pass [INFO] Asking for clock rate 16.000000 MHz... [INFO] Actually got clock rate 16.000000 MHz. [INFO] Performing timer loopback test... [INFO] pass [INFO] Performing timer loopback test... [INFO] pass [INFO] Setting master clock rate selection to 'automatic'. [Thread 0x7fffcab12700 (LWP 3137) exited] [Thread 0x7fffcb313700 (LWP 3128) exited] [Thread 0x7fffd6bdf700 (LWP 3074) exited] [New Thread 0x7fffd6bdf700 (LWP 3138)] Error: C++ API exception: expression `obj = suscan_object_get_field(this->instance, field.c_str())' failed in include/Suscan/Object.h:173 [New Thread 0x7fffcb313700 (LWP 3140)] [Thread 0x7fffcb313700 (LWP 3140) exited] [New Thread 0x7fffcb313700 (LWP 3141)] [Thread 0x7fffcb313700 (LWP 3141) exited] [New Thread 0x7fffcb313700 (LWP 3142)] [Thread 0x7fffcb313700 (LWP 3142) exited] [New Thread 0x7fffcb313700 (LWP 3143)] [Thread 0x7fffcb313700 (LWP 3143) exited] [New Thread 0x7fffcb313700 (LWP 3144)] [INFO] Detected Device: B210 [INFO] Operating over USB 3. [New Thread 0x7fffcab12700 (LWP 3145)] [INFO] Initialize CODEC control... [INFO] Initialize Radio control... [INFO] Performing register loopback test... [INFO] pass [INFO] Performing register loopback test... [INFO] pass [INFO] Performing CODEC loopback test... [INFO] pass [INFO] Performing CODEC loopback test... [INFO] pass [INFO] Asking for clock rate 16.000000 MHz... [INFO] Actually got clock rate 16.000000 MHz. [INFO] Performing timer loopback test... [INFO] pass [INFO] Performing timer loopback test... [INFO] pass [INFO] Setting master clock rate selection to 'automatic'. [INFO] Asking for clock rate 32.000000 MHz... [INFO] Actually got clock rate 32.000000 MHz. [INFO] Performing timer loopback test... [INFO] pass [INFO] Performing timer loopback test... [INFO] pass
Thread 1 "SigDigger" received signal SIGSEGV, Segmentation fault. 0x00007ffff6e87c16 in SoapySDRDevice_setupStream () from /usr/local/lib/libSoapySDR.so.0.7
Okay, now in gdb, after the SIGSEGV you have to type bt
and press enter. That is the output that I need.
Also, what GNU/Linux distribution are you using?
Thanks,
I'm using ubuntu 16.4.1 and gnu radio 3.7.9
BT results
#0 0x00007ffff6e87c16 in SoapySDRDevice_setupStream ()
from /usr/local/lib/libSoapySDR.so.0.7
#1 0x00007ffff7964e3e in suscan_source_open_sdr (source=0x102e8c0)
at /home/fe8769/Sigdigger/suscan/analyzer/source.c:1856
#2 0x00007ffff7965e29 in suscan_source_new (config=0x12751d0)
at /home/fe8769/Sigdigger/suscan/analyzer/source.c:2308
#3 0x00007ffff7958129 in suscan_analyzer_source_init (analyzer=0x15e8490,
config=0x12751d0) at /home/fe8769/Sigdigger/suscan/analyzer/analyzer.c:854
#4 0x00007ffff7958380 in suscan_analyzer_new (params=0x7fffffffca38,
config=0x12751d0, mq=0x125a270)
at /home/fe8769/Sigdigger/suscan/analyzer/analyzer.c:933
#5 0x00000000004a8d67 in ?? ()
#6 0x000000000042cc25 in ?? ()
#7 0x00000000004d8a52 in ?? ()
#8 0x00007ffff5d44c0a in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9 0x00000000004dd918 in ?? ()
#10 0x00007ffff5d44c0a in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ffff65ff412 in QAction::triggered(bool) ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff6601898 in QAction::activate(QAction::ActionEvent) ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
---Type
This is odd. The crash is somehow happening inside the SoapySDR wrapper, but I haven't changed anything there.
There should be a config file in your home folder named /home/fe8769/.suscan/config/uiconfig.xml
. Could you attach it to this issue? Also, what SDR are you using?
I'm using Ettus B210
here is uiconfig.xlm content
<suscan:serialization xmlns:suscan="http://actinid.org/suscan" name="root"> <suscan:object class="qtui"> <suscan:field name="width" value="1920" /> <suscan:field name="height" value="1031" /> <suscan:field name="x" value="0" /> <suscan:field name="y" value="49" /> <suscan:field name="loFreq" value="58084" /> <suscan:field name="bandwidth" value="32932" /> <suscan:object name="source" class="source_config"> <suscan:field name="type" value="SDR" /> <suscan:field name="antenna" value="RX2" /> <suscan:field name="freq" value="1084820992.000000" /> <suscan:field name="lnb_freq" value="0.000000" /> <suscan:field name="bandwidth" value="200000.000000" /> <suscan:field name="iq_balance" value="false" /> <suscan:field name="dc_remove" value="true" /> <suscan:field name="loop" value="true" /> <suscan:field name="samp_rate" value="1000000" /> <suscan:field name="average" value="1" /> <suscan:field name="channel" value="0" /> <suscan:object name="sdr_args"> <suscan:field name="driver" value="uhd" /> <suscan:field name="label" value="B210 86680AA" /> <suscan:field name="name" value="Zhixun-wireless_B210" /> <suscan:field name="product" value="B210" /> <suscan:field name="serial" value="86680AA" /> <suscan:field name="type" value="b200" /> </suscan:object> <suscan:object name="gains"> <suscan:field name="PGA" value="63.000000" /> </suscan:object> </suscan:object> <suscan:object name="analyzerParams" class="AnalyzerParams"> <suscan:field name="channelUpdateInterval" value="0.100000" /> <suscan:field name="psdUpdateInterval" value="0.040000" /> <suscan:field name="spectrumAvgAlpha" value="0.010000" /> <suscan:field name="sAvgAlpha" value="0.001000" /> <suscan:field name="nAvgAlpha" value="0.500000" /> <suscan:field name="snr" value="2.000000" /> <suscan:field name="windowSize" value="8192" /> <suscan:field name="windowFunction" value="blackmann-harris" /> </suscan:object> <suscan:object name="colors" class="colorcfg"> <suscan:field name="lcdBackground" value="#1d1d1f" /> <suscan:field name="lcdForeground" value="#b7e869" /> <suscan:field name="spectrumBackground" value="#1d1d1f" /> <suscan:field name="spectrumForeground" value="#ffffff" /> <suscan:field name="spectrumAxes" value="#808080" /> <suscan:field name="spectrumText" value="#ffffff" /> <suscan:field name="constellationForeground" value="#b7e869" /> <suscan:field name="constellationBackground" value="#1d1d1f" /> <suscan:field name="constellationAxes" value="#808080" /> <suscan:field name="transitionForeground" value="#b7e869" /> <suscan:field name="transitionBackground" value="#1d1d1f" /> <suscan:field name="transitionAxes" value="#808080" /> <suscan:field name="histogramForeground" value="#b7e869" /> <suscan:field name="histogramBackground" value="#1d1d1f" /> <suscan:field name="histogramAxes" value="#808080" /> <suscan:field name="histogramModel" value="#ffff00" /> </suscan:object> <suscan:object name="sourcePanel" class="SourcePanelConfig"> <suscan:field name="throttle" value="false" /> <suscan:field name="throttleRate" value="196000" /> <suscan:field name="captureFolder" value="/media/fe8769/test_vm/21032020" /> <suscan:field name="dcRemove" value="true" /> <suscan:field name="iqRev" value="false" /> <suscan:field name="agcEnabled" value="false" /> </suscan:object> <suscan:object name="fftPanel" class="FftPanelConfig"> <suscan:field name="averaging" value="1.000000" /> <suscan:field name="panWfRatio" value="0.300000" /> <suscan:field name="peakDetect" value="false" /> <suscan:field name="peakHold" value="false" /> <suscan:field name="panRangeMin" value="-44.000000" /> <suscan:field name="panRangeMax" value="-8.000000" /> <suscan:field name="wfRangeMin" value="-60.000000" /> <suscan:field name="wfRangeMax" value="-10.000000" /> <suscan:field name="palette" value="Suscan" /> <suscan:field name="zoom" value="1" /> <suscan:field name="rangeLock" value="false" /> <suscan:field name="timeSpan" value="0" /> </suscan:object> <suscan:object name="audioPanel" class="AudioPanelConfig"> <suscan:field name="enabled" value="true" /> <suscan:field name="demod" value="AM" /> <suscan:field name="rate" value="44100" /> <suscan:field name="cutOff" value="7350.000000" /> <suscan:field name="volume" value="77.000000" /> </suscan:object> <suscan:object name="inspectorPanel" class="InspectorPanelConfig"> <suscan:field name="inspectorClass" value="psk" /> <suscan:field name="precise" value="false" /> </suscan:object> </suscan:object> </suscan:serialization>
Hi,
Is this still crashing?
Cheers,