KMQuake2 Crash
Posted: Wed Mar 11, 2015 4:26 am
I was testing my map in KMQuake2, and it crashed on load. I think it might have been because I had the .tga files for the sky, but not the .pcx. I compiled and debugged the engine, and it seemed to have something to do with the precache/CL_RequestNextDownload() code, but I couldn't pinpoint exactly what caused it since it appeared to be a memory stomp.
The command "precache 19622" seems to be the origin of the issue.
Edit: Nope, put some pcx files in there... must be something with the map itself?
I did notice a Com_sprintf overflow error on load. Maybe that's related.
Seems the precache number it crashes on isn't consistent. This time it was "precache 15813".
Edit: Figured out what the problem was, the map filename was too long: inprogress/irishcastle_q2_1p.bsp -- might want to make that not crash.
The command "precache 19622" seems to be the origin of the issue.
Edit: Nope, put some pcx files in there... must be something with the map itself?
I did notice a Com_sprintf overflow error on load. Maybe that's related.
Seems the precache number it crashes on isn't consistent. This time it was "precache 15813".
Edit: Figured out what the problem was, the map filename was too long: inprogress/irishcastle_q2_1p.bsp -- might want to make that not crash.