[FIXED] Could not write the crash log file, but we printed it to stderr

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,493
Update:
It seems that this bug has been fixed.
MBII Client is not portable anymore, and it does create logs in "C:\Documents and Settings\USER_NAME\My Documents\My Games\OpenJK".


Summary:

When Movie Battles is started via MBII Client and it crashed, it does not create any crash logs and does not show message box with crash details.
Instead, message box with text "recursive error after: VM_CreateLegacy on ui failed
Could not write the crash log file, but we printed it to stderr.
Try running the game using a command line interface." appears.

Steps to reproduce bug:
  1. Go to "Jedi Academy\GameData" => right-click on "MBII" folder => Properties => Security => check "Write: deny" => OK
  2. Repeat N1 for Windows user temporary folder
  3. Start Movie Battles using MBII Client

Expected result:
A crash log must be created on hard drive.

Actual result:
A message box informing that it's not possible to create a crash log appears.
No logs are created on hard drive.

Details:
It does not happen when latest OpenJK is used instead of MBII Client.
I believe there is a bug in OpenJK code which causes described behavior, but it only get compiled when portable version is on.
OpenJK is NOT portable, while MBII Client is.
The code I'm referring to is line 161 in this file: OpenJK/sys_win32.cpp at master · MBII/OpenJK · GitHub

There is a workaround: create a directory called "(null)" inside of "Jedi Academy\GameData".
After that, any crash logs will be saved in that folder.

Dear Movie Battles team, please fix this bug.
You can archive this either by modifiyng file "shared/sys/sys_win32.cpp", or by reporting this bug to OpenJK team and then merging changes they will do into MBII Client.

Screenshots:

47c92e035b55.png


7daf9b93f052.png


bfea8fc1592e.png


4fcba0a691b2.png


7a2e127503e4.png
 
Last edited:
Top