Hi Christian
below the result (and thanks for your patient guideance).
Louis HB
---
root@pc-168:~# gdb CubicSDR
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 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:
<https://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 CubicSDR...
(No debugging symbols found in CubicSDR)
(gdb) r
Starting program: /usr/bin/CubicSDR
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Loaded 256 rig models via hamlib.
[New Thread 0x7ffff2cff700 (LWP 1300)]
[New Thread 0x7ffff24fe700 (LWP 1301)]
[New Thread 0x7ffff1cfd700 (LWP 1302)]
[New Thread 0x7ffff1406700 (LWP 1303)]
[New Thread 0x7ffff0c05700 (LWP 1304)]
[New Thread 0x7fffe2f1b700 (LWP 1305)]
[New Thread 0x7fffda71a700 (LWP 1306)]
[New Thread 0x7fffe271a700 (LWP 1307)]
[New Thread 0x7fffe1f19700 (LWP 1308)]
[New Thread 0x7fffbc1df700 (LWP 1309)]
[New Thread 0x7fffba4f6700 (LWP 1310)]
[Thread 0x7fffba4f6700 (LWP 1310) exited]
Audio Device #0 PulseAudio
Default Output? Yes
Default Input? Yes
Input channels: 2
Output channels: 2
Duplex channels: 2
Native formats:
16-bit signed integer.
32-bit signed integer.
32-bit float normalized between plus/minus 1.0.
Supported sample rates:
8000hz
16000hz
22050hz
32000hz
44100hz
48000hz
96000hz
[New Thread 0x7fffba475700 (LWP 1311)]
[New Thread 0x7fffb9833700 (LWP 1312)]
[New Thread 0x7fffb9032700 (LWP 1313)]
SDR enumerator starting.
SoapySDR init..
API Version: v0.7.1
ABI Version: v0.7
Install root: /usr
Loading modules...
Available factories...airspy, audio, bladerf, hackrf, lime, null,
osmosdr, redpitaya, remote, rtlsdr, uhd
[New Thread 0x7fffa9268700 (LWP 1314)]
[New Thread 0x7fff9ffff700 (LWP 1316)]
[New Thread 0x7fffa8a67700 (LWP 1315)]
[New Thread 0x7fff9f7fe700 (LWP 1317)]
[New Thread 0x7fffba4f6700 (LWP 1318)]
[New Thread 0x7fff9e5fd700 (LWP 1319)]
[New Thread 0x7fff9ddfc700 (LWP 1320)]
Hash collision!!! Fatal error!!
[New Thread 0x7fffe1f19700 (LWP 1322)]
[Thread 0x7fff9e5fd700 (LWP 1319) exited]
[Thread 0x7fffba4f6700 (LWP 1318) exited]
[Thread 0x7fff9f7fe700 (LWP 1317) exited]
[Thread 0x7fffa9268700 (LWP 1314) exited]
[New Thread 0x7fff9d5fb700 (LWP 1321)]
[Thread 0x7fffba475700 (LWP 1311) exited]
[Thread 0x7fffe1f19700 (LWP 1308) exited]
[Thread 0x7fffe271a700 (LWP 1307) exited]
[Thread 0x7fffda71a700 (LWP 1306) exited]
[Thread 0x7fffe2f1b700 (LWP 1305) exited]
[Thread 0x7fff9d5fb700 (LWP 1321) exited]
--Type <RET> for more, q to quit, c to continue without paging--c
Thread 15 "CubicSDR" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb9032700 (LWP 1313)]
0x00007ffff6712009 in std::_Rb_tree_insert_and_rebalance(bool,
std::_Rb_tree_node_base*, std::_Rb_tree_node_base*,
std::_Rb_tree_node_base&) () from /lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt f
#0 0x00007ffff6712009 in std::_Rb_tree_insert_and_rebalance(bool,
std::_Rb_tree_node_base*, std::_Rb_tree_node_base*,
std::_Rb_tree_node_base&) ()
from /lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#1 0x00007ffff6a81e96 in
SoapySDR::Device::enumerate(std::map<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::less<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::pair<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > > const&) ()
from /lib/x86_64-linux-gnu/libSoapySDR.so.0.7
No symbol table info available.
#2 0x00005555556671ae in
SDREnumerator::enumerate_devices(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >, bool) ()
No symbol table info available.
#3 0x000055555566a0b1 in SDREnumerator::run() ()
No symbol table info available.
#4 0x00005555556444fa in IOThread::threadMain() ()
No symbol table info available.
#5 0x00007ffff6724ed0 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--RET
#6 0x00007ffff64deea7 in start_thread (arg=<optimized out>) at
pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736297166592,
-6303062190392514397, 140737488348702,
140737488348703, 140736297162816, 8396800,
6302919253074208931, 6303045852830066851},
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call = 0
#7 0x00007ffff640edef in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
(gdb) q
A debugging session is active.
Inferior 1 [process 1363] will be killed.
Quit anyway? (y or n) y
root@pc-168:~#
--- End
Am 22.01.21 um 14:43 schrieb Christoph Berg:
Re: LH
Hi Cristoph
Backtrace:
You can find my terminal output below ... not shure if this is what you
want.
Almost:
[Switching to Thread 0x7fffb97ff700 (LWP 8318)]
0x00007ffff6712009 in std::_Rb_tree_insert_and_rebalance(bool,
std::_Rb_tree_node_base*, std::_Rb_tree_node_base*,
std::_Rb_tree_node_base&) ()
from /lib/x86_64-linux-gnu/libstdc++.so.6
(gdb)
At that point, type "bt f" (backtrace full).
Christoph