-
Notifications
You must be signed in to change notification settings - Fork 50
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
Intermittent crashing when incorrect receiver format selected #39
Comments
I can see where the exception shown in the log is getting thrown, it's during the creation of an The .NET framework will halt programs that allow an unhandled exception to bubble up out of a thread handler function (unless the exception is a ThreadAbortException). I think the message you're seeing in the event viewer is because something in VRS let an exception bubble up back to the framework. An unhandled exception could be logged before it's allowed to bubble out of the handler but the handler that logged the exception you saw in your log would not let an exception bubble out of it, so this one is somewhere else. Which is unfortunate, because by their nature there's unlikely to be a log for it and VRS is rammed full of background thread handlers :) I've tried setting up a Beast receiver and connecting it to a Compressed VRS feed but so far no joy... it's not disconnecting and reconnecting, it's just sitting there not decoding anything. It might be an idea for you to configure your Windows to create a crash dump file the next time that VRS halts unexpectedly. I should be able to tell from that what it was doing at the time it crashed. However, that does involve editing the registry (and presumably re-enabling the dodgy connection so that it triggers the crash). The instructions to configure crash dumps are here: https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps. The short version is:
If / when VRS crashes again Windows should create a file in That said, I'm going to leave this instance with the Beast receiver running for a while, see if I can't reproduce it here. |
Thanks for the quick response, I have asked that feeder to return to the previous setup if possible, and enabled crash dumps on the server. I have also set up VRS on my PC with crash dumps enabled to receive 2 push feeds on the same port, one Compressed VRS and one Beast with as many messages as I can get pushing from AussieADSB to hopefully increase the chances of a crash. Also if you want full dumps instead of mini dumps I can send those instead. |
Just to keep this current, @Dom2364 was kind enough to send a crash dump but unfortunately the stack frame for the thread that threw the exception doesn't have the thread handler in it. The current plan is to try:
|
Recently my VRS started crashing randomly every few hours (about 1-4 times per day, seems to be more frequent in the daytime with more aircraft airborne). After finding an error in the log file related to one of our feeders, I checked the stats for that feeder and it was sending data but no decoded messages, and after changing the format to Compressed VRS it started working again. It was originally set to Beast/AVR and should have been sending Beast. Turns out they were pushing 2 feeds, one being Beast and the other Compressed VRS, and whenever the receiver would reconnect VRS would pick a different feed. After disabling the receiver VRS hasn't crashed since.
Version: 3.0.0 Beta
OS: Windows Server 2012 R2
Screenshot of error from log file
I only saw one instance of that error in the log file when I checked it so it seems to be very intermittent and the timing is separate to the crashes.
Error from event viewer after crashes:
The text was updated successfully, but these errors were encountered: