Open dforsi opened 1 month ago
The attached zip contains a WAV file that triggers that error in a build with ASAN, while in a build without ASAN a packet gets decoded and saved like this in CSV format:
Date,Time,Data,MMSI,Type,Message,NMEA,Slot,Slots
lun mag 6 2024,20:31:53,,000000000,Unknown message ID (0),"","
",2010,1
I'm going to open a separate issue because trying to load that CSV in sdrangel causes a segfault.
I cut the attached WAV with Audacity and you must add an AIS demodulator at offset +24000 (yes 24) to decode that packet.
When running sdrangel under ASAN detects a read access error at this line:
Printing the variable before line 204 shows that the error is triggered when
x
is zero, so the code reads from item-1
of the arrayI noticed that each time the starting value of
x
in incremented by 1:Here is the full output of the error: