JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.01k stars 609 forks source link

Game crashing on multiplayer with custom animations #925

Open Sir-Crusher opened 7 years ago

Sir-Crusher commented 7 years ago

I made some animations on blender for the multiplayer mod movie battles 2, but the game crashes whenever someone plays the animation. Here's a crash log: Register Dump

General Purpose & Control Registers: EAX: 0x2AB7EBDC, EBX: 0x00000005, ECX: 0x2AB7EBDC EDX: 0x2AB7EBDE, EBP: 0x003CF3D4, EDI: 0x49E4336C EIP: 0x505F2EEC, ESI: 0x499D1C10, ESP: 0x003CF3C8

Segment Registers: CS: 0x00000023, DS: 0x0000002B, ES: 0x0000002B FS: 0x00000053, GS: 0x0000002B, SS: 0x0000002B


      Call Stack Trace           

rd-vanilla-mbii_x86.dll(GetRefAPI+0x25DAC) [0x505F2EEC] rd-vanilla-mbii_x86.dll [0x505C1F99] rd-vanilla-mbii_x86.dll [0x505BF920] rd-vanilla-mbii_x86.dll [0x505BF899] rd-vanilla-mbii_x86.dll [0x505C457D] rd-vanilla-mbii_x86.dll [0x505B6F6D] rd-vanilla-mbii_x86.dll [0x505B6609] rd-vanilla-mbii_x86.dll [0x505B68C1] rd-vanilla-mbii_x86.dll [0x505BCB30] mbii.x86.exe(openjk_minizip_malloc+0x3E778) [0x141DF98] mbii.x86.exe [0x13CC1CC] mbii.x86.exe(openjk_minizip_malloc+0x76565) [0x1455D85] mbii.x86.exe [0x13C1035] mbii.x86.exe [0x13C1177] mbii.x86.exe(openjk_minizip_malloc+0xAAF03) [0x148A723] kernel32.dll(BaseThreadInitThunk+0x12) [0x76DD336A] ntdll.dll(RtlInitializeExceptionChain+0x63) [0x77549902] ntdll.dll(RtlInitializeExceptionChain+0x36) [0x775498D5]

xycaleth commented 7 years ago

This is a problem with MBII. Please file a bug report with them instead :)

Sir-Crusher commented 7 years ago

I can assure you it isn't a MB2 problem. I have a crash log on jedi academy's vanilla engine. JKA Movie Battles II Crash Log

Process File Name: D:\Program Files (x86)\Steam\steamapps\common\Jedi Academy\GameData\jasp.exe Module File Name: jasp.exe (cgame) Exception Code: 0xC0000005 (Access Violation) Exception Address: 0x00486D33 (jasp.exe+0x86D33)

       Register Dump          

General Purpose & Control Registers: EAX: 0x012FC718, EBX: 0x00000000, ECX: 0x1EE2045C EDX: 0x17A30034, EBP: 0x00000007, EDI: 0x4BFE7C10 EIP: 0x00486D33, ESI: 0x4C0F1B14, ESP: 0x01B7FB28

Segment Registers: CS: 0x00000023, DS: 0x0000002B, ES: 0x0000002B FS: 0x00000053, GS: 0x0000002B, SS: 0x0000002B

      Call Stack Trace          

jasp.exe [0x486D33] jasp.exe [0x497A4A] jasp.exe [0x498217] jasp.exe [0x443D86] jasp.exe [0x49678B] jasp.exe [0x49672D] jasp.exe [0x49672D] jasp.exe [0x49A60F] jasp.exe [0x48AB36] jasp.exe [0x48BA53] jasp.exe [0x491B41] jasp.exe [0x451612] kernel32.dll(BaseThreadInitThunk+0x12) [0x76DD336A] ntdll.dll(RtlInitializeExceptionChain+0x63) [0x77549902] ntdll.dll(RtlInitializeExceptionChain+0x36) [0x775498D5]

ensiform commented 7 years ago

That still looks like vanilla not Openjk. Plus, it's known that you can't change out animation mods in SP without a new save.

Sir-Crusher commented 7 years ago

Well, after I talked with the MB2 staff, they redirected me to this page saying this was an engine side issue and they could do little about it. The log says it's Jasp because I'm playing with steam, but it is multiplayer vanilla.

ensiform commented 7 years ago

Do not rename the binary to jasp or jamp.

Sir-Crusher commented 7 years ago

According to a MB2 staff member "This is because how Steam do things Steam constantly renames files jasp.exe and jamp.exe to keep launching jasp.exe no matter which file is actually gonna be executed. MBII Launcher does the same thing in order to be compatible with Steam."

ensiform commented 7 years ago

Not sure why you need to run it directly through steam. Just make a non-steam shortcut to the launcher or OpenJK or MB2 directly. Using the original filenames in the fixed engine is ill-advised as there are crash protections in the AMD and NVIDIA drivers to prevent string overflow on extensions when exe is "jamp.exe" or "jasp.exe", which isn't an issue in OpenJK but might cause your GL extensions list to be broken instead.

This isn't really anything related to OpenJK at this point that we can do. The crash dump doesn't seem to provide any related data and can't reproduce.

Razish commented 7 years ago

Upload the animation file with steps to reproduce without MB2