flybywiresim / aircraft

The A32NX & A380X Project are community driven open source projects to create free Airbus aircraft in Microsoft Flight Simulator that are as close to reality as possible.
https://flybywiresim.com
GNU General Public License v3.0
5.04k stars 1.08k forks source link

Crash when loading into Airport #5446

Closed JRascagneres closed 2 years ago

JRascagneres commented 3 years ago

Aircraft Version

Development

Build info

{
  "built": "2021-07-29T00:29:16+00:00",
  "ref": "master",
  "sha": "7068cb5f6aa73badf20867b3fcfe2077e9e65004",
  "actor": "Benjozork",
  "event_name": "manual"
}

Describe the bug

Loaded into airport VHHH and get a CTD as soon as I click 'ready to fly'. Note: Other planes load fine.

Expected behavior

Don't expect a CTD

Steps to reproduce

  1. Select A32NX as aircraft
  2. Load into VHHH

References (optional)

No response

Additional info (optional)

No response

Discord Username (optional)

Scorp#3465

delta5150 commented 3 years ago

CTD when loading at KDEN c/d at gate a34. Other planes load good.

avielmenter commented 3 years ago

I seem to be experiencing this issue with the dev version and the stable version. I've tried loading the stable one at RJTT and KSFO, and the dev one at RJTT. CTD either before loading is complete or seconds after. Doesn't seem to be an issue with other planes (e.g. 747 and TBM 930).

aguther commented 3 years ago

With development version loaded into:

Not a single CTD occurred, so I cannot reproduce the issue.

Please follow the guide CTD Resolution and try again: https://docs.flybywiresim.com/start/reported-issues/#ctd-resolution

If you have been using the stable version from marketplace, ensure you're uninstalling the stable version in the content manager.

avielmenter commented 3 years ago

Thank you for the advice. I tried the steps linked above and though I still have more testing I want to do, the one that seems to have done the trick is deleting my rolling cache.

EDIT: And four minutes after I posted this it crashed again. So now I have gone through all of the aforementioned steps and the issue unfortunately still persists.

aguther commented 3 years ago

Hmm, can you please try the following:

  1. Restart your sim and wait until in the main menu
  2. Go to options -> general options -> developer -> enable dev mode
  3. In menu „Options“ on top of screen enable option „Fast WASM compilation“
  4. Go to the folder, depending on the version you have; MS Store: %LOCALAPPDATA%\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\packages\flybywire-aircraft-a320-neo\, Steam: %APPDATA%\Microsoft Flight Simulator\Packages\flybywire-aircraft-a320-neo\
  5. In that folder delete files starting with m (.dll, .cache, .lib, .natvis, .pdb), see also
  6. Switch to MSFS again
  7. Start a flight with A32NX (at best on the runway)
  8. When flight is loaded and plane is working you can exit dev mode again
aguther commented 3 years ago

Please also ensure you‘re not using any overclocking of your PC etc.

LanJack commented 3 years ago

Crashes when loading into ZGGG-ZABD Dev version

Saschl commented 3 years ago

Did you try the steps mentioned by Aguther above?

2hwk commented 3 years ago

Rolling up and consolidating loading in CTDs into this issue.

bbrks commented 3 years ago

I CTD'd in dev version VHHH when this issue was filed too. Could spawn fine in NZQN, and also back in VHHH with vanilla a320.

Benjozork commented 3 years ago

Please provide the scenery / lack thereof when mentioning an airport.

bbrks commented 3 years ago

No scenery. Community folder removed. All world updates installed.

aguther commented 3 years ago
aguther commented 3 years ago

Right now to me it seems that it‘s an issue on MSFS side but maybe we find something that triggers the issues. I was spawning into those airports without any issues, so there must be some difference somehow. We have unfortunately no way to analyze anything that might cause the issue on our end (if so), because MSFS lacks support of it.

JRascagneres commented 3 years ago

Yeah its an interesting one... For @bbrks and I (and a couple people on discord, and above) there seems to be some correlation between VHHH (and clearly others) and the A32NX. A32NX seems to work fine at a few other airports I tried and other aircraft work fine in VHHH. I also carried out the actions noted by @aguther with the full clean re-install and the WASM dev options.

aguther commented 3 years ago

Yeah, but I also spawned into VHHH without issues… 🤷‍♂️ It‘s so strange….

JRascagneres commented 3 years ago

@aguther In the airports that do work I do seem to have long stutters which is kinda making the sim unplayable for now. Perhaps other people who crash see similar? Could be some connection there too...

Performance is great but appears the stability has regressed quite a lot...

globin commented 3 years ago

Have you got any issues with USB input devices? Long stutters and occasional CTDs occur when they dis-/connect. Try disconnecting as much as possible, I have noticed this too with a keyboard that has issues with its cable.

gb09f commented 3 years ago

I can spawn OK at VHHH once I remove Navigraph. with Navigraph in Community, I get a CTD.

JRascagneres commented 3 years ago

I had no items in community other than a32nx

gb09f commented 3 years ago

Re-added Navigraph and now no CTD at VHHH. Weirdly intermittent.

aguther commented 3 years ago

I also have Navigraph, but that brings me to an idea. Can you try to close the sim and delete the Content.xml and then open the sim again. Sometimes it seems the order of packages is getting an issue.

JRascagneres commented 3 years ago

@aguther Can give it a go tonight, although I have no other community items at the moment? Where is the Content.xml file if you think it might help?

aguther commented 3 years ago

@JRascagneres When I‘m at home I can check the folder, maybe do a backup. The file contains all scenery that are in the sim, including base data and all the add-on airports coming with MSFS itself (i.e. World Updates).

Edit: Found something in the Navigraph forums: https://forum.navigraph.com/t/faq-uninstall-the-navdata-revert-back-to-the-stock-data/4853 https://forum.navigraph.com/t/faq-location-path-of-content-xml-package-file/2798

ErickSharp commented 3 years ago

I am not 100% sure if it's what causes this issue, but larger airports definitely seem to aggravate the issue.

navtek commented 3 years ago

I was also having the same issue when I was loading KATL, it would crash once I was 'Ready to fly', I was able to fix it by deleting the rolling cache and also removing the Asobo A32NX via the Content Manager, after that I was able to do a round trip from KATL - KCLT - KATL without any issues, not sure if this will work for others, but it might be worth giving it a try

JRascagneres commented 3 years ago

@JRascagneres When I‘m at home I can check the folder, maybe do a backup. The file contains all scenery that are in the sim, including base data and all the add-on airports coming with MSFS itself (i.e. World Updates).

Edit: Found something in the Navigraph forums: forum.navigraph.com/t/faq-uninstall-the-navdata-revert-back-to-the-stock-data/4853 forum.navigraph.com/t/faq-location-path-of-content-xml-package-file/2798

I'll give it a try, like I said I removed other community items but possible something stuck around I guess

speedbird5 commented 3 years ago

After SU5. Same problem here at EGKK and EGLL trying to load at any gate - CTD. However, can load on runway with engines running at both EGKK and EGLL no problem. Have tried deleting rolling cache and deleting Asobo A320 but no joy.

{ "built": "2021-07-29T11:41:32+00:00", "ref": "master", "sha": "6bafd4940941cc711e337e8a3275fcebb68a1610", "actor": "davidwalschots", "event_name": "manual" }

CBGonzalez commented 3 years ago

Had the same CTD immediately after pressing "Ready to fly" at several different airports. WORKAROUND: WAIT UNTIL AIRCRAFT FULLY LOADS before pressing "Ready to fly" (to me that means waiting until the aircraft data appears on the lower left). Curious to see if this works for others

aguther commented 3 years ago

It’s really frustrating…especially because we have so few possibilities to find out what is going on and what is the cause.

Keep it coming and please try to proactively share as much info as possible.

ErickSharp commented 3 years ago

For those that have issues with CTD's when loading into large airports:

If you have developer mode enabled, select a small general aviation aircraft and spawn into the airport with it, from there you can go to Aircraft Selector and search for 'flybywire' and select the A32NX. This seems like a decent workaround for now.

aguther commented 3 years ago

@speedbird5 Tried both EGKK and EGLL in C&D and no CTD.

aguther commented 3 years ago

Now I have an idea...I must admit, I'm flying with the cfpm version...will try with the latest dev now.

Edit: Also no issue, so this is ruled out.

jcastilloalonso commented 3 years ago

Having this issue loading in gate 31 on KDFW airport. All other airplanes work correctly but a32nx results in FS crashing. Please let me know if there's anything I can do to troubleshoot further, but so far tried everything and ends up crashing.

Unrelated to a32nx but FS2020 is also crashing when loading with my Thrustmaster Airbus Officer pack is plugged in and freeze right away when I plug it in when sim is running, so wonder if this is also affecting people with certain configurations where FS2020 is just unstable.

aguther commented 3 years ago

@jcastilloalonso Have you tried all suggestions from this issue?

The freezing is "normal" since beginning when you plug-in or remove devices, I have this often when I switch from Desktop to Laptop with my KVM switch or vice versa. Usually it repairs after 30 s or so.

jcastilloalonso commented 3 years ago

@aguther Yes tried the rolling cache, clean a32nx install, no other mods and yesterday actually uninstalled everything and started clean (left download overnight) same replicable results. Today test was fresh install, update everything, install latest Dev release using installer, select a32nx, select departure KDFW gate d31 and press start. Loads normally, get the ready to fly screen, press it, cockpit launches and CDT. AI airplanes are turned off as I also read they might interfere.

I used to have the "usual" 30s freeze when plugging them in, but now it's a hard freeze, have to kill FS2020 on the task manager as it won't respond even after 10 minutes. Also after this I have to terminate and repair FS2020 multiple times for it to eventually stop the CTD during the first loading screen and the stick/throttle unplugged. After I manage it to start, if I plug them with FS2020 closed and start it, the CTD during load returns. So there's definitely something happening there (opened a Zen ticket with Asobo for this)

aguther commented 3 years ago

Hmm...annoying 😒

Fingers crossed for the hotfix!

xjanat commented 3 years ago

I have same experience at LKKV and LKPR , everything work fine until take off - than comes crash to desktop. When I have used stable version, sim has crashed also when was FBW A320 used as AI airplane . I have tested Project Airbus A321, Bredok 737, Captain 777 and also standard default A320 Neo, all planes are working only when is FBW completely uninstalled :/

aguther commented 3 years ago

What I have enabled is that generic planes are used for multiplayer and AI. I’m using live traffic.

xjanat commented 3 years ago

I´m using Russian live traffic + generic planes are used also as AI. Strange is that todays morning was development version fine, than comes a few updates ... :/

aguther commented 3 years ago

What is Russian live traffic?

Well it’s not that those changes you mentioned are really causing the issues. It’s the sim that seems to have issues with them for reasons out of our control and knowledge.

So let’s not get into that discussion again as in the other issue otherwise we need to stop this discussion.

Remember: we from FBW are all doing this in our free time running behind a lot of stuff we have not caused. so I ask you to respect that.

xjanat commented 3 years ago

Russian Live traffic system RLTS , very good traffic addon. Point of previous message is not negative, just only thing for help..something was happend during todays update , morning version was fine. Please do not take it as negative, just as point. Thank you for your help and croos fingers :)

sidnov commented 3 years ago

FYI: Russian Live Traffic is a bunch of poorly compiled AI traffic models "stolen" from various other sources, both free and paid. Let's not get any deeper as to how "good" it is because it could very well be a cause of issues. As far as the A32NX is concerned, we'll wait for the hotfix to release instead of making unnecessary changes to the aircraft.

JRascagneres commented 3 years ago

we'll wait for the hotfix to release

@sidnov Has this been confirmed or are we just presuming?

navtek commented 3 years ago

we'll wait for the hotfix to release

@sidnov Has this been confirmed or are we just presuming?

This has been confirmed https://forums.flightsimulator.com/t/asobo-working-on-a-hotfix-for-ctds/429841

JRascagneres commented 3 years ago

I mean I can't even start the game now soo.... Thats great

navtek commented 3 years ago

Confirmed: update coming out tomorrow at 8am PT https://www.flightsimulator.com/july-29th-2021-development-update/

sidnov commented 3 years ago

@JRascagneres Navtek has the news! :)

JRascagneres commented 3 years ago

Thanks.

JRascagneres commented 3 years ago

So... Managed to fix crash on load by removing process lasso...