Random Crash when loading level

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
Veryll

Random Crash when loading level

Post 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.
Attachments
CrashReport.zip
The Crash Report
(22.82 KiB) Downloaded 42 times
toshiaki2115
Posts: 4
Joined: Fri Nov 13, 2015 21:28

Re: Random Crash when loading level

Post 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.
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Re: Random Crash when loading level

Post 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.
User avatar
NeoHippo
Posts: 408
Joined: Tue Sep 13, 2005 0:47
Location: British Columbia Canada

Re: Random Crash when loading level

Post 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.
Veryll

Re: Random Crash when loading level

Post 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.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Random Crash when loading level

Post 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.
Veryll

Re: Random Crash when loading level

Post 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.
Veryll

Re: Random Crash when loading level

Post by Veryll »

Hey

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

Return to “Closed Bugs”