CTD at end of mission BMS 4.33 U5 64-bit
-
I’ve been getting a sporadic crash to desktop when I exit a mission and attempt to return to the 2D UI menus. It happens at this specific time during the transition from the game world to the menu. I never get any crashes during gameplay or otherwise. This particular crash happens on average about 1 in 5 missions. Fortunately, in most cases, the mission progress and results are captured and an auto-save is generated so the code execution at least makes it that far before crashing. I’ve seen several different log messages generated from the crash, so I will paste them below. I have not been able to isolate any particular circumstance that leads to the crash. I’ve flown missions back to back without problems, for example, with internet browser open in the background. At other times, I run BMS fresh after starting my PC and with nothing in the background, and a crash happens. So no obvious pattern as far as I can see.
Several crash logs:
Falcon BMS.exe caused an EXCEPTION_ACCESS_VIOLATION in:
000000007F844182 lvcod64.dll, DriverProc()+12642 byte(s)
Exception handler called in UnhandledExceptionHandler.
Read from location 00000000ffffffff caused an access violation.
Bytes at CS:RIP: 48 8B 0B 48 85 C9 74 05 E8 B1 07 00 00 48 8B 4BFalcon BMS.exe caused an EXCEPTION_BREAKPOINT in:
0000000043A8A388 KERNELBASE.dll, RaiseException()+104 byte(s)
Exception handler called in CRT Pure Virtual Call Handler.
BreakpointBytes at CS:RIP: 48 8B 8C 24 C0 00 00 00 48 33 CC E8 F8 05 04 00Falcon BMS.exe caused an EXCEPTION_ACCESS_VIOLATION in:
0000000004A36C5E Falcon BMS.exe, ContextMPR::~ContextMPR()+94 byte(s), e:\wip\bms\svn\source\rel-4.33\graphics\3dlib\context.cpp, line 152
Exception handler called in UnhandledExceptionHandler.
Write to location 0000000000000003 caused an access violation.
Bytes at CS:RIP: C7 04 25 03 00 00 00 03 00 00 00 48 8D 05 90 2DFalcon BMS.exe caused an EXCEPTION_ACCESS_VIOLATION in:
000000000468EC86 Falcon BMS.exe, AiCustomizeRadioMsg()+1078 byte(s), e:\wip\bms\svn\source\rel-4.33\sim\digi\wingradio.cpp, line 571+6 byte(s)
Exception handler called in UnhandledExceptionHandler.
Read from location 0000000000000030 caused an access violation.
Bytes at CS:RIP: F2 0F 10 40 30 66 0F 5A C0 F3 0F 59 05 F9 DA 56All the errors are a little bit different and the only common theme is that they all happen when exiting a mission. Any suggestions on what is causing this? Is this a bug that is worked on for the next release?
My PC specs:
i7 - 7700 @ 3.6GHz, 8GB RAM, NVIDIA GeForce GTX 1060 3GB, Windows 10 Pro, running Falcon in 64 bit mode -
How long has it been since a fresh install?
-
About two months. I had this issue from the beginning though.
-
Based on the description of “exiting the mission” I’m going to take a guess that BMS is trying to play a video for China entering the war or some other war update which is causing the crash. Those videos are sitting in the falcon / data / movies folder. As a test you can move those movies themselves (leave the folder there just move the movies themselves) to another folder and run that mission again. If it doesn’t crash then you know why.
-
Based on the description of “exiting the mission” I’m going to take a guess that BMS is trying to play a video for China entering the war or some other war update which is causing the crash. Those videos are sitting in the falcon / data / movies folder. As a test you can move those movies themselves (leave the folder there just move the movies themselves) to another folder and run that mission again. If it doesn’t crash then you know why.
Interesting. Are you saying that the game will NOT crash if the movies are missing from the directory?
I mean the access violation errors would suggest something like a null pointer in the code, but I am willing to give any suggestion a try.
-
Interesting. Are you saying that the game will NOT crash if the movies are missing from the directory?
I mean the access violation errors would suggest something like a null pointer in the code, but I am willing to give any suggestion a try.
Correct. If the video it calls for isn’t there it just presses on. Hence that is a quick way to test the theory without permanently damaging anything.
-
Put -nomovie in your shortcut
-
I added the -nomovie parameter within the launcher options and also moved all the movies out of the directory. Things were fine for several missions, but eventually I did get a CTD again.
Oh well, it’s not a huge deal as mission progress is captured through autosave.
Falcon BMS.exe caused an EXCEPTION_BREAKPOINT in:
00000000426EA388 KERNELBASE.dll, RaiseException()+104 byte(s)
Exception handler called in CRT Pure Virtual Call Handler.
BreakpointBytes at CS:RIP: 48 8B 8C 24 C0 00 00 00 48 33 CC E8 F8 05 04 00 -
Have you tried emptying your ACMI folders and nulling your briefing / debriefing.txt files? I used to have similar issues at times until I added those two operations to my BMS startup script.
All the best,
Uwe
-
Have you tried emptying your ACMI folders and nulling your briefing / debriefing.txt files? I used to have similar issues at times until I added those two operations to my BMS startup script.
All the best,
Uwe
I cleared the debrief file and disabled brief/debrief output to file in the config. I’ll check back after a few missions to see if that helped.
Btw - thanks to all for suggestions.
-
I have the same problem too, mission completed, autosave carried out etc. I tried re installing bms 4.34, turning off video playback, but nothing. I think it’s a problem related to receiving medals or promotions.
Only a question the results of the mission are recorded in your logbook? Because in my case it doesn’t happen