Skip to content

Dump1090 exits on failed 'global-dist check' #28

@chrislanzara

Description

@chrislanzara

Hi, I'm using an RTL-SDR receiver with Dump1090 and on the latest version I see two things:

  1. No lat/long coordinates are displayed in interactive mode
  2. 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.
Image

Going further up the call stack, the above is called from modeS_cleanup() in dump1090.c on line 4595:

Image

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.

Image

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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions