-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Hi, I'm using an RTL-SDR receiver with Dump1090 and on the latest version I see two things:
- No lat/long coordinates are displayed in interactive mode
- After about 45 seconds, the application running inside the VS debugger quits from rtlsdr_read_async() with the exception: The I/O operation has been aborted because of either a thread exit or an application request
I have tried using an older commit (96fef15) and this version gives the lat/long display and does not throw the same exception, so I don't believe this is a hardware related issue.
What alerted me to this was the debugger stopping on line 3320 with an "invalid handle was specified" error.

Going further up the call stack, the above is called from modeS_cleanup() in dump1090.c on line 4595:
Best I can tell, the rtlsdr_read_async call on line 1119 receives a negative response and then logs to STDERR with the message: rtlsdr_read_async(): rc: 0/995: The I/O operation has been aborted because of either a thread exit or an application request.
Environment: Windows 11 with latest patches applies. Visual Studio 2022 with latest patch.
Testing environment: Dell XPS 13 and Dell XPS 15, both 11th gen intels with 8GB/32GB RAM respectively.
RTL-SDRs: tried with one generic ADS-B SDR, and also a FlightAware Pro Plus stick (the blue one)