Solved CTD after parking
-
I flew mission TE_BMS_05_Long_Travel and landed at Jungwon as alternate. After my 4-ship flight was parked I chose “End mission” and it did not exit 3D right away as usual. After some seconds I got a CTD.
Dump attached here: https://drive.google.com/file/d/1ELI7FFKIqLs2Wvc3QAkKGAJnUDB4b3Ks/view?usp=sharing
-
Good news, I had fixed a very similar bug, but on a different spot of the code. Although I was unable to repro the situation, the fix is probably the same and I am going to apply it.
Should be fixed for next version.
-
@jayb I have also experienced a few crashes, upon landing/parking and exiting 3d, in the training TEs. Same stack trace.
And, now that you mention it, I think this crash was always after landing at an alternate airbase.
Does this happen in campaigns? Might be a higher priority, if so.
Falcon BMS.exe caused an EXCEPTION_BREAKPOINT in: 0000000004C748F6 Falcon BMS.exe, ObjectiveClass::SetParkingPointOccupied()+198 byte(s), E:\WIP\BMS\SVN\Code-4.36\CAMPAIGN\CAMPLIB\Objectiv.cpp, line 2065 Exception handler called in UnhandledExceptionHandler.
-
also experianced crashes when i was operated from JUNGWON AB.
The log stated that it was something to do to the parking.
I moved my operations to GIMPO, all is good now.
-
I think the bug arises if the AI try to park on top of each other or on top of me as human lead. So I would be surprised if it had to do with choosing airbases as alternate.
That said, I just wanted to notify about this cause of CTD to get it on the backlog. You may have already reported it, in which case all is good.
-
Same crash but as soon as I got off the runway onto the taxiway on the end of Amendola (was alternate arrival airport) in Balkans. Game also started to stutter for no reason (barely any objects at all around) as soon as I made the turn out of the runway and hit the taxiway .
Crash dump link : https://www.mediafire.com/file/8vywjpyma278dbk/2022-07-18_194259_crash.txt/file
-
And another one. Landed on San Pancrazio, crashed as soon as I caught a wire.
Crash dump link : https://www.mediafire.com/folder/7w53rrole5zg5/4.36.1+crash
-
Ill take a look later tonight. I remember fixing a very similar CTD, this is probably related (when landing on a different airbase than the original one). The CTD you see is probably a forced CTD in code, where we intentionally crash to avoid reading trash.
-
@unkindled said in CTD after parking:
Same crash but as soon as I got off the runway onto the taxiway on the end of Amendola (was alternate arrival airport) in Balkans. Game also started to stutter for no reason (barely any objects at all around) as soon as I made the turn out of the runway and hit the taxiway .
Regarding this stutter, is it something you can reproduce?
If so, can you try something for me?
In your Falcon BMS.cfg file, find the non compatible change line. Should be something like
set g_sNonCompatibleChanges "all-DURANDAL".
Can you make it instead
set g_sNonCompatibleChanges "all-DURANDAL-TAXI_POINT_LIGHTING-TAXI_FEATURE_LIGHTING-TAXI_FEATURE_LIGHTING"
and report back?
-
@Seifer Yeah I wanted to comment on that but forgot. I thought it was weird that it was happening only on Balkans and alternate airports.
I’ll try your suggestion tomorrow and report back. Should I do something specific? Like go some distance away after taking off or could I just take off and then go straight to land on the alternate?
Btw, if possible, could you shed some light on the change the line introduces? I’m a dev myself so I find interest in these things. If I understand correctly it changes how the lighting from the taxi light works?
-
@unkindled those flags will disable feature lighting code. I suspect that for crowded airbases, the way we look for features nearby could be causing stutters or FPS drop. But this is just a wild guess.
-
@Seifer Oh, so the crash and the stutters are unrelated?
I thought your second comment was meant to add into the first about the crash.
If so, meaning they are unrelated, I generally don’t have any stutters. That was the only time I noticed stutters in my game. I think it also stuttered for a bit on the latest crash, not sure.
-
@unkindled I think they are probably unrelated, not sure. There are a bunch of people reporting low FPS on airbases, and I am trying to get a clear repro case or someone to test those flags when the FPS drops to see if it makes any difference.
The CTD needs to be debugged, on my TODO list.
-
Tried to repro this in several ways, but unable. Seems related to AI landing or taking off from an airbase which is not its original one.
The thing is: how the heck this happens. If you folks can get a solid repro case on this, I would appreciate.
Thanks!
-
@Seifer Hey, sorry for the delay. Was kinda late yesterday and had to finish work today before being able to test.
Just did a quick test. Loaded up Balkans, took off from Casale then asked for vis landing from San Pancrazio tower.
Landed, hook down, caught a wire, no crash so far. Asked for taxi back and proceeded to do so in order to fully test out the entire procedure.
After getting on the taxiway I thought “I’m kinda bored of going back to 2D and retrying so let’s do something stupid” and went full AB on the taxiway to take-off. Then the game crashed as soon as I got higher than 100 knots.
Here’s the screenshot that the game takes when it crashes.
FPS isn’t incredibly high but it’s better than the 50s it gets in really crowded airbases.
Here’s the crash dump : https://www.mediafire.com/folder/np0hxjdg4qo9f/3-8-22+4.36.1+Crash
Will now test without feature lighting as you suggested.
-
First test without feature lighting went ok. Same procedure, took off from Casale landed to San Pancrazio, even waited doing circles for rest of the flight to land and get back to ramp.
No crash. FPS were pretty much the same.
-
Second test without feature lighting crashed. Landed properly on San Pancrazio, and decided to take off from the taxiway again without waiting for the wingmen.
Dump : https://www.mediafire.com/folder/ui0bvtl6hz9m3/3-7-22+4.36.1+2nd+Crash
Will try one last time with proper procedure of returning to ramp.
-
@Seifer Last test. No feature lighting, crash on taxiway while taxiing properly.
Seems like it consistently crashes on this section of the taxiway.
Image : https://imgur.com/a/4O2lnPN
Dump : https://www.mediafire.com/folder/0476jtckn7cap/3-8-22+4.36.1+3rd+Crash
The time where it didn’t crash and all wingmen got back to the ramp I exited the runway from the end of it, while all the times that it crashed today I caught the first wire in San Pancrazio and exited from the taxiway that intersects the runway in the middle.
I could give a save file of the campaign if you want to reproduce it with debug.
Edit: Btw, almost a second before this crash the game starts to stutter. No matter if feature lighting is enabled or not.
-
@Seifer said in CTD after parking:
Tried to repro this in several ways, but unable. Seems related to AI landing or taking off from an airbase which is not its original one.
The thing is: how the heck this happens. If you folks can get a solid repro case on this, I would appreciate.
Thanks!
AI can
Land ona different airbase in case they are short on fuel and can’t make it to homeland -
Good news, I had fixed a very similar bug, but on a different spot of the code. Although I was unable to repro the situation, the fix is probably the same and I am going to apply it.
Should be fixed for next version.
-
@Seifer Thanks a lot!
-