felix-b / atc

Virtual world of air traffic and ATC as a plugin to X-Plane flight simulator
Other
10 stars 5 forks source link

Bruce-D366 #232

Open Miniracer opened 3 years ago

Miniracer commented 3 years ago

Crash to desktop 2x3 times. On a 3rd attempt I received an "application error".

xp-Screenshot 2020-11-05 130519 Log.txt

felix-b commented 3 years ago

@Miniracer Thanks for the report,

It looks like several different issues came together here:

The last bug was fixed in the Alpha 1 (since build 84) Given all the same circumstances, you should now get a message box saying "There was a problem loading ATC at your airport", and the sim should not crash.

It's still unclear why your aircraft was detected at location (lat=0, lon=0). Can you please list your choices for the flight? (which airport? gate/runway or an approach?)

Miniracer commented 3 years ago

I never got the sim to load. Only by removing the plugin was I able to play with x-plane.

On 14 November 2020 3:55:07 pm AWST, felix-b notifications@github.com wrote:

@Miniracer Thanks for the report,

It looks like several different issues came together here:

  • your aircraft location was detected at lat=0 lon=0, which is probably an error. Did you start your flight at an airport? Which one?
  • there is a heliport in the default apt.dat (the airports file shipped with X-Plane) with ICAO=LEGO, specifying lat=0, lon=0 as its location - obviously erroneously
  • X-Plane reported to the plugin that the nearest airport to aircraft location is LEGO
  • but since LEGO is a heliport and not a land airport, it was not included in the plugin's internal airport registry
  • there was a bug in the plugin that crashed the sim if the plugin didn't find the user's airport in the internal airport registry

The last bug was fixed in the Alpha 1 (since build 84) Given all the same circumstances, you should now get a message box saying "There was a problem loading ATC at your airport", and the sim should not crash.

It's still unclear why your aircraft was detected at location (lat=0, lon=0). Can you please list your choices for the flight? (which airport? gate/runway or an approach?)

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/felix-b/atc/issues/232#issuecomment-727162935

crankywright commented 3 years ago

@Miniracer Sorry for overlooking this initially, the problem could be triggered by having both AT&C and xPilot plugins installed AT&C and xPilot would be in a race for acquiring exclusive access to TCAS data (this is so by Laminar's design) It can be that xPilot acquires exclusive access first, and then AT&C is unable to do so - but instead of degrading gracefully, it crashes. Could you please verify, whether temporarily removing xPilot plugin resolves the crashing of AT&C? If the above is true, we will make sure this is properly handled so that you can have both plugins installed Thanks

Miniracer commented 3 years ago

I'll try it out and let you know.

Regards

----- Original Message ----- From: crankywright [mailto:notifications@github.com] To: "felix-b/atc" <atc@noreply.github.com> Cc: Miniracer <harrywho@niclan.com.au>, Mention <mention@noreply.github.com> Sent: Tue, 01 Dec 2020 05:40:46 -0800 Subject: Re: [felix-b/atc] Bruce-D366 (#232)

@Miniracer Sorry for overlooking this initially, the problem could be triggered by having both AT&C and xPilot plugins installed AT&C and xPilot would be in a race for acquiring exclusive access to TCAS data (this is so by Laminar's design) It can be that xPilot acquires exclusive access first, and then AT&C is unable to do so - but instead of degrading gracefully, it crashes. Could you please verify, whether temporarily removing xPilot plugin resolves the crashing of AT&C? If the above is true, we will make sure this is properly handled so that you can have both plugins installed Thanks — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.