sdrangel icon indicating copy to clipboard operation
sdrangel copied to clipboard

SIGABRT in ADSBDemodSinkWo

Open dforsi opened this issue 11 months ago • 3 comments

sdrangel is terminated when closing the window of the ADS-B Demodulator after it received some samples, even just noise.

Steps to reproduce:

  • Create a new workspace
  • Add Rx Device: Audio
  • Add channels: ADS-B Demodulator
  • start acquisition (the settings don't matter)
  • close the window of the ADS-B Demodulator
  • SIGABRT
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Thread 126 "ADSBDemodSinkWo" received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffeb50ed6c0 (LWP 59960)]
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
44      ./nptl/pthread_kill.c: File o directory non esistente.
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1  0x00007ffff5aa9d2f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  0x00007ffff5a5aef2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007ffff5a45472 in __GI_abort () at ./stdlib/abort.c:79
#4  0x00007ffff589d919 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff58a8e1a in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff58a8e85 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007ffff5c8ffcd in qTerminate() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff5c91a02 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ffff5aa7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007ffff5b285bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

dforsi avatar Jul 08 '23 22:07 dforsi