Page 1 of 1

Random Crash when loading level

Posted: Thu May 26, 2016 21:50
by Veryll
Hi

When using my own mod i will randomly get crashes when loading a level. I'm unsure as to what is causing it, so can't provide much more info.

It can usually be forced be starting a new game a couple of times.

My mod can be downloaded at: https://www.dropbox.com/s/4fidsv8ogk6zh ... m.zip?dl=0 (It's basically my own gore mod for learning Decorate)

I've attached the Crashreport to this message.

Re: Random Crash when loading level

Posted: Fri May 27, 2016 12:19
by toshiaki2115
I will think that it is the same problem that was posted before.
As far as I know, you probably think that has crashed in the processing of light.
Light of the Imp of the fireball is the most crash prone.
This is you know immediately at the level 1 of JPCP.

Re: Random Crash when loading level

Posted: Fri May 27, 2016 16:07
by Gez
If it's related to light it can be that one bug I've never been able to fully debug, which I have had a few times when making saving and there were several dynamic lights visible. While I didn't find the precise cause of the crash, I noticed it never happened if save snapshots were disabled (so the engine didn't make a low-res render of the current scene to store in the save file) or when dynamic lights were not enabled.

Re: Random Crash when loading level

Posted: Fri May 27, 2016 19:19
by NeoHippo
Dragging GoryDoom.zip onto the GZDoom 1630 icon works for me every time without problem, but monsters are not interested in me until I approach them, which is most disconcerting. I did not check the DECORATE scripts.

Dragging GoryDoom.zip onto a batch file

Code: Select all

H:\DOOM\ENGINES\GZDOOM\gzdoom-g2.2pre-1630\gzdoom.exe -file %1 +logfile loading.txt
causes the game to progress through the menu until I select a skill when it goes to a black screen and throws me back to the desktop without preamble.

Re: Random Crash when loading level

Posted: Fri May 27, 2016 20:27
by Veryll
I don't think it is light relateret.. it doesn't even load the level before it crashes.

The reason they don't do much is because i have their speed set to 1 for debugging purposes.

Re: Random Crash when loading level

Posted: Sun May 29, 2016 9:01
by Graf Zahl
There's a problem with the CVARS.o lump in ACS/ This is not properly formatted and is missing two 0 bytes before the identifier at the end. As a result it gets misidentified causing the engine to crash. Did you by any chance use some old ACC version to compile this? Using the latest one, aside from complaining about #library not being the first thing, it creates one that works.

Re: Random Crash when loading level

Posted: Sun May 29, 2016 12:14
by Veryll
Actually i used the one from Brutal Doom ketchup mod as i based mine on that for now.

I'll try and recompile it and see if that helps. Thanks for your help so far.

Re: Random Crash when loading level

Posted: Sun May 29, 2016 16:58
by Veryll
Hey

Removed acs scripts for now. Seems to have fixed it for now.