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

2.1 scanning crash #69

Closed
WIHDIA opened this issue Mar 14, 2023 · 21 comments
Closed

2.1 scanning crash #69

WIHDIA opened this issue Mar 14, 2023 · 21 comments

Comments

@WIHDIA
Copy link

WIHDIA commented Mar 14, 2023

Hi,

I unzipped 2.1 in the AbracaDABra folder and it worked perfectly well. Then I deleted the ini file to have AbracaDABra rebuild it and start by scanning for muxes. This didn't work and the scanning crashed AbracaDABra after having scanned a few muxes.
Solution: restore my back-upped original ini or start a scan and stop after a few muxes. Then continue building the ini by manually tuning to all muxes one by one.

73

Herman Wijnants
My logblog
BELGIUM editor fmlist.org

@KejPi
Copy link
Owner

KejPi commented Mar 14, 2023

You do not have to delete INI to do the rescan - just go to menu - Clear service list. Nevertheless it should not crash, I will try to reproduce this problem on Windows, thanks for reporting.

@WIHDIA
Copy link
Author

WIHDIA commented Mar 14, 2023

You do not have to delete INI to do the rescan - just go to menu - Clear service list. Nevertheless it should not crash, I will try to reproduce this problem on Windows, thanks for reporting.

I know :-) Just trying to break it :-)

73

Herman Wijnants
My logblog
BELGIUM editor fmlist.org

@WIHDIA
Copy link
Author

WIHDIA commented Mar 14, 2023

2.1 also crashing when doing a band scan, so not deleting the ini file! Solution: delete the libdabsdr.dll and replace it with the previous one!

73

Herman Wijnants
My logblog
BELGIUM editor fmlist.org

@andimik
Copy link
Contributor

andimik commented Mar 14, 2023

Yes, confirmed. Just had a crash in manual scan. But tried to reproduce it with gdb and a video but did not see it again.

In my case I have a very weak signal in 8A of the same mux which I have locally on 6A. So, it's the same content.

@andimik
Copy link
Contributor

andimik commented Mar 14, 2023

After more than 10 trials, this is a video (crash in minute 1:05) and gdb output:

Bildschirmaufzeichnung.vom.15.03.2023.00.04.38.webm
Allocating 15 zero-copy buffers
	Service: Radio Maria SID = 0xE0A3DD, SCIdS = 0
	Service: ENERGY SID = 0xE0AC51, SCIdS = 0
	Service: 'WELLE 1 SID = 0xE0AD58, SCIdS = 0
	Service: *STEPHANSDOM* SID = 0xE0AC52, SCIdS = 0
	Service: Mein Kinderradio SID = 0xE0AD55, SCIdS = 0
	Service: ERF Süd SID = 0xE0AD24, SCIdS = 0
	Service: #Technikum ONE SID = 0xE0AD2A, SCIdS = 0
	Service: Rock Antenne SID = 0xE0AD27, SCIdS = 0
	Service: jö.live SID = 0xE0AD56, SCIdS = 0
	Service: arabella RELAX SID = 0xE0AD54, SCIdS = 0
	Service: KLASSIK RADIO SID = 0xE0AD53, SCIdS = 0
	Service: * 88.6 * SID = 0xE0AC47, SCIdS = 0
	Service: -AUSTRIA SID = 0xE0A3E0, SCIdS = 0
	Service: Radio Flamingo SID = 0xE0AD5A, SCIdS = 0
	Service: Antenne Österrei SID = 0xE0AD57, SCIdS = 0
	Service: arabella HOT SID = 0xE0AD59, SCIdS = 0
[Thread 0x7fffa4fff640 (LWP 8697) exited]
[New Thread 0x7fffa4fff640 (LWP 8723)]
Allocating 15 zero-copy buffers
*** stack smashing detected ***: terminated

Thread 13 "dabsdr" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffd0ff8640 (LWP 8509)]
__pthread_kill_implementation (no_tid=0, signo=6, threadid=4664814603921077312) at ./nptl/pthread_kill.c:44
44	./nptl/pthread_kill.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=4664814603921077312) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=4664814603921077312) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=4664814603921077312, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff6042476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff60287f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff60896f6 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff61db943 "*** %s ***: terminated\n")
    at ../sysdeps/posix/libc_fatal.c:155
#6  0x00007ffff613676a in __GI___fortify_fail (msg=msg@entry=0x7ffff61db92b "stack smashing detected") at ./debug/fortify_fail.c:26
#7  0x00007ffff6136736 in __stack_chk_fail () at ./debug/stack_chk_fail.c:24
#8  0x00007ffff7f9d373 in  () at /home/andreas/apps/AbracaDABra/lib/linux_x86_64/libdabsdr.so.2
#9  0x00007ffff7f9b33e in  () at /home/andreas/apps/AbracaDABra/lib/linux_x86_64/libdabsdr.so.2
#10 0x4192ea38410266d4 in  ()
#11 0x41d6fa0b41a2aaf2 in  ()
#12 0xc0dbe89ec1c68a84 in  ()
#13 0xc1bfff5ac092e6f6 in  ()
#14 0x40e795f041f3f252 in  ()
#15 0x41fab3ac41880265 in  ()
#16 0x40b14ed34164c0c3 in  ()
#17 0xc105bf76c19e7118 in  ()
#18 0x41a4131ec1b716cb in  ()
#19 0x419448c241c03682 in  ()
#20 0xbfa88d54c1829678 in  ()
#21 0x40863b3fc18db4e7 in  ()
#22 0x416a335442a836c9 in  ()
#23 0x421381da4298727e in  ()
#24 0x4227dada40a37a2e in  ()
#25 0x41bbf3be416ec8cd in  ()
#26 0x41d356cb4196c8c5 in  ()
#27 0x418d5891c20fb335 in  ()
#28 0xbfa398a0c285d6c0 in  ()
#29 0x4146e85ac127863c in  ()
#30 0x41fd257d423408ff in  ()
#31 0x41d101a6418f7448 in  ()
#32 0xc024b90640043dee in  ()
#33 0xc11306fe4119fb94 in  ()
#34 0x400f0dfec0e75680 in  ()
#35 0xc180ed8ac0bac6c3 in  ()
--Type <RET> for more, q to quit, c to continue without paging--
#36 0x41033db5c168a502 in  ()
#37 0x42318752c2014b56 in  ()
#38 0x40297168c1962fd2 in  ()
#39 0x40e852d6c17c9530 in  ()
#40 0x41e3220ec199c37e in  ()
#41 0xc1698c27c15dfcd0 in  ()
#42 0x4192c7be408786e3 in  ()
#43 0x4239b64841a66d93 in  ()
#44 0x40da43a4c0f437c3 in  ()
#45 0x42366180c181f65d in  ()
#46 0x423c6ed1417af754 in  ()
#47 0xc1bd26ad41ee8acb in  ()
#48 0xc12a012441f97fd6 in  ()
#49 0xc1022aa83ff4fbec in  ()
#50 0xc21f383dc1931574 in  ()
#51 0xc0f1b5074159ea52 in  ()
#52 0x4112f1db40ec1782 in  ()
#53 0x41849cd6c1cc3861 in  ()
#54 0x42589bf2c013602c in  ()
#55 0x41a5dd1e416ff5ea in  ()
#56 0xc2211e92c1a616f2 in  ()
#57 0xc213508ec246189d in  ()
#58 0xc213ac30c1dab2ae in  ()
#59 0xc210ed3341cbf0c5 in  ()
#60 0x416ef8bc421034d1 in  ()
#61 0x4205cf76c0b736e2 in  ()
#62 0x41039df0c13ef5d8 in  ()
#63 0x41265e224166f0eb in  ()
#64 0x412e3cb0c0372386 in  ()
#65 0x413dc3ffc1d5175a in  ()
#66 0x41c3364b3f8b6acb in  ()
#67 0xc0da474441f8a328 in  ()
#68 0xc1d4fc044132a1a1 in  ()
#69 0x416625bbc1b8031c in  ()
#70 0x41ee4e8f416276fc in  ()
#71 0x40f6daf242a5f5b0 in  ()
#72 0x418c54034212ba99 in  ()
--Type <RET> for more, q to quit, c to continue without paging--
#73 0x4216dfc2c244e90a in  ()
#74 0x41aebcd7c1d00921 in  ()
#75 0x41055f434150d678 in  ()
#76 0x41efef664018dbf0 in  ()
#77 0x4247183cc02e1a59 in  ()
#78 0x4212a6c6c0e7736a in  ()
#79 0x4158cc7cc0890936 in  ()
#80 0x3fcae2f840249baa in  ()
#81 0xc0b46402c158b75c in  ()
#82 0x40aed600c075bb95 in  ()
#83 0x41b2f6ee41950cb4 in  ()
#84 0x4093361c41092177 in  ()
#85 0xc1b51ecb410483bb in  ()
#86 0xc11893d3c1309e52 in  ()
#87 0x41d640abc23eed46 in  ()
#88 0x418c0050c1fdc306 in  ()
#89 0xc18eef36c199be7e in  ()
#90 0x40489ce8c18c163f in  ()
#91 0x420e96fec08b6946 in  ()
#92 0x41492066c209804a in  ()
#93 0xc1814501c22ed939 in  ()
#94 0x41309149c1955b67 in  ()
#95 0x421a1cfcc2226e95 in  ()
#96 0xc164d857c1e86df1 in  ()
#97 0xc20a5bfa4195cef6 in  ()
#98 0x41c13ee5c20e644e in  ()
#99 0x40cff7bec29c8190 in  ()
#100 0xc1d737b44179ba42 in  ()
#101 0x41abca06421a0e9c in  ()
#102 0x41a2c4f0c2425d42 in  ()
#103 0xc1c18d96c1bac052 in  ()
#104 0xc0a457c44226b709 in  ()
#105 0x4138d04240e2472c in  ()
#106 0xc1bcb3b0c0a1a0ca in  ()
#107 0xc1c1ae6741db59c4 in  ()
#108 0x411a83bd41ed4562 in  ()
#109 0xbfe1b3244227c239 in  ()
--Type <RET> for more, q to quit, c to continue without paging--
#110 0xc1b4260942513d28 in  ()
#111 0xc190e94142000adb in  ()
#112 0x40574da0421755d0 in  ()
#113 0x421ef4dd4228216e in  ()
#114 0x4185ddadc1190a47 in  ()
#115 0xc1b1e84dc212c20e in  ()
#116 0x40bc0101c07ec56c in  ()
#117 0xbdfdda803f0f5870 in  ()
#118 0xc1bf25c1c19bd5ad in  ()
#119 0x41272e7bc02769f1 in  ()
#120 0x411c077c41719f8e in  ()
#121 0xc1786fc841a1559c in  ()
#122 0x40d4b0ac41977325 in  ()
#123 0x3f43c12ac1a254de in  ()
#124 0xc2389c03c1ff6a38 in  ()
#125 0xc14f4521c061f19d in  ()
#126 0x425d306ac1a5d607 in  ()
#127 0x40e546cbc1b1d366 in  ()
#128 0xc20df25941001f61 in  ()
#129 0x419b8c86c1b0d8d8 in  ()
#130 0x4136844ec2370bfc in  ()
#131 0xc09d673ac1bf6133 in  ()
#132 0x4223212ec215ccea in  ()
#133 0x41b2481bc25a2436 in  ()
#134 0x412c39ddc2317816 in  ()
#135 0x41bcc166c1fe5cde in  ()
#136 0xc17d61ba4188198f in  ()
#137 0x41ba08504219fb41 in  ()
#138 0x428f467bc1f960a9 in  ()
#139 0x3ee24780c25ebf81 in  ()
#140 0xc1bebaa140af100d in  ()
#141 0x41a0c5574107dda8 in  ()
#142 0x41c49881c21d883f in  ()
#143 0x3ebbe0d8c1bb3592 in  ()
#144 0xc1c8ecf3416b82e4 in  ()
#145 0xc0a983ac40ca3869 in  ()
#146 0x41b95d0bc0cc226a in  ()
--Type <RET> for more, q to quit, c to continue without paging--
#147 0x3f7ba210419d4f04 in  ()
#148 0xc051ea2c426acffb in  ()
#149 0x421ae1ac4212a671 in  ()
#150 0x42667706c14dad7d in  ()
#151 0x40715eb03f8bc210 in  ()
#152 0xc215ab2441cbfb50 in  ()
#153 0x40d14c1441a7da1a in  ()
#154 0x4112663c41c074aa in  ()
#155 0xc238070c420fda7d in  ()
#156 0xc1e50dd04218fa3e in  ()
#157 0x41614c33c0d31ba9 in  ()
#158 0x40ca0014c26166db in  ()
#159 0x3fb97af4c1f00801 in  ()
#160 0x41b141e0411ec1b6 in  ()
#161 0x419ff431c109ab2c in  ()
#162 0xc1b5f18ec1f2ac90 in  ()
#163 0xc22db54cc0ce6f4e in  ()
#164 0xc1528c1e4095eb00 in  ()
#165 0xc0f9547ac222facc in  ()
#166 0xc212ed92c25cc2bf in  ()
#167 0xc197fedd3fbcdf08 in  ()
#168 0x41ccb2fe41bd9bd8 in  ()
#169 0x41839d6dc130dba9 in  ()
#170 0xc16937b5c171bb71 in  ()
#171 0x41ac239b41528650 in  ()
#172 0x427664bb41046ddb in  ()
#173 0xbfc862bcc1d2015f in  ()
#174 0xc24183ecc1c21e46 in  ()
#175 0x4028a6fe4098d8ab in  ()
#176 0x41c0a34cc0c1cf45 in  ()
#177 0x4045028cc174de94 in  ()
#178 0x41206306411770e9 in  ()
#179 0x420c2d5b40d44694 in  ()
#180 0x4210d9ce3fb4342e in  ()
#181 0x417778214138d4bc in  ()
#182 0x422bc1fcc01365b9 in  ()
#183 0x42526d3b416e5e21 in  ()
--Type <RET> for more, q to quit, c to continue without paging--
#184 0xc13073954205266a in  ()
#185 0xbfe3fd9cc1a25dd1 in  ()
#186 0x420176b5c1beae43 in  ()
#187 0xc14c2ba841fa48bd in  ()
#188 0xc15baa1641481d2c in  ()
#189 0xc11ada3040fd5e5e in  ()
#190 0xc2699774425dffec in  ()
#191 0xc1f66f4f41d19d59 in  ()
#192 0xc144aa3dc1a8e7eb in  ()
#193 0xc2561cfec18a8302 in  ()
#194 0xc0d22ea4c199aec8 in  ()
#195 0x40f7b21ec1a6aa3d in  ()
#196 0xc253d954c1bff6d0 in  ()
#197 0x4103240cc141bfe0 in  ()
#198 0x427767094185b3ac in  ()
#199 0xc128a8e0c19c20da in  ()
#200 0xc23093c1c2304e49 in  ()
#201 0xc2010e70416d5909 in  ()
#202 0xc17befe641c47db6 in  ()
#203 0x4165dde0c17ce662 in  ()
#204 0xc0d5e7c5c0b91e14 in  ()
#205 0xc1670910414e9fa5 in  ()
#206 0x42234f8841127ed3 in  ()
#207 0x421f7cd4410266bf in  ()
#208 0xc16f8c0cc0c4be84 in  ()
#209 0xc1cc8fd1c171d956 in  ()
#210 0x40748466c049cbe8 in  ()
#211 0x4188ffefc1874bc4 in  ()
#212 0xc129da84c1989c5c in  ()
#213 0xc212ebf4417aefb6 in  ()
#214 0xc19545963ee24820 in  ()
#215 0x40d625dec246f416 in  ()
#216 0x3f224890c25823ac in  ()
#217 0xc14d3264c1512a29 in  ()
#218 0xc1a0219cc091e4ac in  ()
#219 0xc1f689d2c25c2ad2 in  ()
#220 0xc1a730f0c20a5bf2 in  ()
--Type <RET> for more, q to quit, c to continue without paging--q
Quit

(updated: the video needs a blank line before it in github ...)

@andimik
Copy link
Contributor

andimik commented Mar 15, 2023

This is auto scan, this time the gdb is combined with bt full, crash is at min 0:30.

Bildschirmaufzeichnung.vom.15.03.2023.07.20.16.webm
Allocating 15 zero-copy buffers
	Service: ENERGY SID = 0xE0AC51, SCIdS = 0
	Service: Rock Antenne SID = 0xE0AD27, SCIdS = 0
	Service: jö.live SID = 0xE0AD56, SCIdS = 0
	Service: arabella RELAX SID = 0xE0AD54, SCIdS = 0
	Service: KLASSIK RADIO SID = 0xE0AD53, SCIdS = 0
	Service: * 88.6 * SID = 0xE0AC47, SCIdS = 0
	Service: -AUSTRIA SID = 0xE0A3E0, SCIdS = 0
	Service: Radio Flamingo SID = 0xE0AD5A, SCIdS = 0
	Service: Antenne Österrei SID = 0xE0AD57, SCIdS = 0
	Service: arabella HOT SID = 0xE0AD59, SCIdS = 0
	Service: Radio Maria SID = 0xE0A3DD, SCIdS = 0
	Service: 'WELLE 1 SID = 0xE0AD58, SCIdS = 0
	Service: *STEPHANSDOM* SID = 0xE0AC52, SCIdS = 0
	Service: Mein Kinderradio SID = 0xE0AD55, SCIdS = 0
	Service: ERF Süd SID = 0xE0AD24, SCIdS = 0
	Service: #Technikum ONE SID = 0xE0AD2A, SCIdS = 0
[Thread 0x7fffa4fff640 (LWP 3498) exited]
[New Thread 0x7fffa4fff640 (LWP 3501)]
Allocating 15 zero-copy buffers
[Thread 0x7fffa4fff640 (LWP 3501) exited]
[New Thread 0x7fffa4fff640 (LWP 3517)]
Allocating 15 zero-copy buffers
[Thread 0x7fffa4fff640 (LWP 3517) exited]
[New Thread 0x7fffa4fff640 (LWP 3533)]
Allocating 15 zero-copy buffers
[Thread 0x7fffa4fff640 (LWP 3533) exited]
[New Thread 0x7fffa4fff640 (LWP 3549)]
Allocating 15 zero-copy buffers
[Thread 0x7fffd27fb640 (LWP 3423) exited]
[Thread 0x7fffd1ffa640 (LWP 3424) exited]
[Thread 0x7fffd2ffc640 (LWP 3422) exited]
[Thread 0x7fffd37fd640 (LWP 3421) exited]
[Thread 0x7fffa4fff640 (LWP 3549) exited]
[New Thread 0x7fffa4fff640 (LWP 3567)]
Allocating 15 zero-copy buffers
[Thread 0x7fffa4fff640 (LWP 3567) exited]
[New Thread 0x7fffa4fff640 (LWP 3583)]
Allocating 15 zero-copy buffers
[Thread 0x7fffa4fff640 (LWP 3583) exited]
[New Thread 0x7fffa4fff640 (LWP 3599)]
Allocating 15 zero-copy buffers
*** stack smashing detected ***: terminated

Thread 13 "dabsdr" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffd0ff8640 (LWP 3426)]
__pthread_kill_implementation (no_tid=0, signo=6, threadid=4704720117865852527) at ./nptl/pthread_kill.c:44
44	./nptl/pthread_kill.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt full
#0  __pthread_kill_implementation
    (no_tid=0, signo=6, threadid=4704720117865852527)
    at ./nptl/pthread_kill.c:44
        tid = <optimized out>
        ret = 0
        pd = 0x414a860541072e6f

                    old_mask = {__val = {5135414499197818050, 844420635172768, 5111485144741147566, 5100353538698859242, 5102147671079163678, 5049696976408998468, 5003206699916594508, 5096578266736415062, 5088020995354521478, 5103422425954868098, 5070567661322076942, 5091722990891856436, 5118051836179729939, 5119641446534316339, 5121660875757037502, 5105627973280572640}}
        ret = <optimized out>
#1  __pthread_kill_internal (signo=6, threadid=4704720117865852527)
    at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=4704720117865852527, signo=signo@entry=6)
    at ./nptl/pthread_kill.c:89
#3  0x00007ffff6042476 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/posix/raise.c:26
        ret = <optimized out>
#4  0x00007ffff60287f3 in __GI_abort () at ./stdlib/abort.c:79
        save_stage = 1

--Type <RET> for more, q to quit, c to continue without paging--
                  act = {__sigaction_handler = {sa_handler = 0x42fe000042fe0000, sa_sigaction = 0x42fe000042fe0000}, sa_mask = {__val = {4827295851711692800, 4658333644329532812, 13991482427474898576, 18446744073709551615, 4294967295, 4667609291916585885, 14102599351746446004, 5087180272700060979, 5140520815857161604, 5126816232353548748, 5088858629956579413, 5082468775188123784, 5096402907500531179, 5073864345069015174, 5050926333489339165, 5004960317890553120}}, sa_flags = 1193695756, sa_restorer = 0x47096e1c46840c61}

                    sigs = {__val = {32, 0, 1123942400, 0, 9223372034707292159, 9223372034707292159, 18446462598732840960, 18446462598732840960, 0, 18446744069414584320, 14022163449043487080, 4845175989533431086, 4674175652670079005, 4805365280556183388, 71777214294589695, 71777214294589695}}
#5  0x00007ffff60896f6 in __libc_message
    (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff61db943 "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:155

                    ap = {{gp_offset = 24, fp_offset = 0, overflow_arg_area = 0x7fffd0fef9a0, reg_save_area = 0x7fffd0fef930}}
        fd = <optimized out>
        list = <optimized out>
        nlist = <optimized out>
        cp = <optimized out>
#6  0x00007ffff613676a in __GI___fortify_fail
--Type <RET> for more, q to quit, c to continue without paging--
    (msg=msg@entry=0x7ffff61db92b "stack smashing detected")
    at ./debug/fortify_fail.c:26
#7  0x00007ffff6136736 in __stack_chk_fail () at ./debug/stack_chk_fail.c:24
#8  0x00007ffff7f9d373 in  ()
    at /home/andreas/apps/AbracaDABra/lib/linux_x86_64/libdabsdr.so.2
#9  0x00007ffff7f9b33e in  ()
    at /home/andreas/apps/AbracaDABra/lib/linux_x86_64/libdabsdr.so.2
#10 0x3c973280416fc269 in  ()
#11 0x40c94113416fe746 in  ()
#12 0x3d9b9480c08e3c2c in  ()
#13 0xc09dc2a8bf6518f8 in  ()
#14 0xc09c47ba4195c4da in  ()
#15 0xc181b9ed40ce3c95 in  ()
#16 0xc1203efdc14d45aa in  ()
#17 0x40e3e6e2c1091b7a in  ()
#18 0x412cc925c1310064 in  ()
#19 0x4099fa4ac0b7ae90 in  ()
#20 0xc1a5d32bbdf4a360 in  ()
#21 0xc1fd249dc13af625 in  ()
#22 0xc03d32a23fd839a0 in  ()
#23 0x40d0cf624081e76e in  ()
#24 0xc10a24b7c18229f0 in  ()
#25 0xc107f293bfd81462 in  ()

@andimik
Copy link
Contributor

andimik commented Mar 15, 2023

Update: the crash is at 7D and even 1.99.4+ (04ac900) had that problem, so this is not related to 2.1 only.

This channel is used by two different muxes (Slovenia and Italy), but both are too weak, although I get a "Signal found" in previous version

grafik

Bildschirmaufzeichnung.vom.15.03.2023.07.30.18.webm

@KejPi
Copy link
Owner

KejPi commented Mar 15, 2023

Thanks for all the reports. I think I have found the root cause that explains crashes for 2.1. However, I have no idea about the crashes for version < 2.1, I would need more information, ideally raw file that can be used to reproduce the crash.
@andimik Can you reproduce the crash with DABSDR < 2.1 on 7D? Can you make a raw file in other tool and try to reproduce the crash when going from raw file?

@andimik
Copy link
Contributor

andimik commented Mar 15, 2023

I fear we were talking about two different versions.

I meant AbracaDABra version and you DABSDR version ...

Because my 1.99.4+ (exec file in different folder under Ubuntu) already uses DABSDR version 2.1.0.

grafik

What would you like me to test? An older version of DABSDR?

@KejPi
Copy link
Owner

KejPi commented Mar 15, 2023

OK, it makes sense now :-) Then we are aligned, the bug is in DABSDR 2.1. I will release DABSDR binaries soon today and then I would like to ask you to test it with your setup to be sure that I have not overseen anything before release new version of AbracaDABra.

@andimik
Copy link
Contributor

andimik commented Mar 15, 2023

I've just cloned an older version which uses DABSDR 2.0.0

grafik

Could not see a crash here, so you are right.

@andimik
Copy link
Contributor

andimik commented Mar 15, 2023

Confirmed, no crash now with 2.1.1 :-)

BTW: What does

RTL-SDR: dropping 1638400 bytes...
RTL-SDR: dropping 1638400 bytes...
RTL-SDR: dropping 1638400 bytes...
RTL-SDR: dropping 1638400 bytes...

mean?

@KejPi
Copy link
Owner

KejPi commented Mar 15, 2023

It means a problem. It happens when DABSDR is not able to process the data fast enough. Does it start to happen after update to 2.1.1? If this is the case then there is still some problem :-(

@andimik
Copy link
Contributor

andimik commented Mar 15, 2023

I've tested all three options in the gain control.

grafik

The message appears in all 3 cases and mainly in that channel which was crashing before (in my case 7D), but also on some empty channels (= not on all).

@andimik
Copy link
Contributor

andimik commented Mar 15, 2023

Does it start to happen after update to 2.1.1?

I also get it under DABSDR 2.0.0

$ ./AbracaDABra --version
Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
AbracaDABra 1.99.3

@KejPi
Copy link
Owner

KejPi commented Mar 15, 2023

Well, synchronization is quite CPU demanding processing, now it needs even more MIPS due to selectivity filter. I am running the app on Ubuntu on >10 years old laptop now and do not see any samples dropping. I am trying all channels and it does not happen.
Do you see high CPU usage when this happens? Maybe some process hanging in the memory? I hate to say that but have you tried to restart the PC?

@andimik
Copy link
Contributor

andimik commented Mar 15, 2023

On a very very weak signal top says, Abra uses more than 100%, on a normal signal (which can be decoded in the end) the value is 10-15 % typically.

Bildschirmaufzeichnung.vom.15.03.2023.14.44.55.webm

@KejPi
Copy link
Owner

KejPi commented Mar 15, 2023

Yes, CPU usage is the problem. I assume that you are running Release build. But I do not see such huge difference between channel with signal and without. Does it happen with prebuilt AppImage too?
Do you also have high CPU usage when running from file (the same channel recoded from other tool)?

@andimik
Copy link
Contributor

andimik commented Mar 15, 2023

Qt-DAB: 60% in top on a very weak channel

Then I've made a recording of the same channel and played it (continuously) in Abra. It's far below 100%.

Bildschirmaufzeichnung.vom.15.03.2023.15.08.18.webm

@KejPi
Copy link
Owner

KejPi commented Mar 15, 2023

CPU issue does not seem to be related to this issue thus I have created new issue #71 to continue the debugging there.

@KejPi
Copy link
Owner

KejPi commented Mar 16, 2023

Version 2.1.1 with fix of this issue has been released, closing.

@KejPi KejPi closed this as completed Mar 16, 2023
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