Loading lots of mods crashes GZDoom?

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Loading lots of mods crashes GZDoom?

Re: Loading lots of mods crashes GZDoom?

by dawnbreez » Thu Aug 16, 2018 11:51 am

New thread with garbage title because I'm tired and have not had breakfast:
viewtopic.php?f=2&t=61692&p=1068953#p1068953

Re: Loading lots of mods crashes GZDoom?

by _mental_ » Thu Aug 16, 2018 1:46 am

Yes, make a new thread.

Re: Loading lots of mods crashes GZDoom?

by dawnbreez » Thu Aug 16, 2018 12:15 am

Annoyingly, I couldn't get the same thing to happen in latest git version, although there was an apparently unrelated crash. Should I make a new thread for the other crash?

Re: Loading lots of mods crashes GZDoom?

by dawnbreez » Wed Aug 15, 2018 11:42 pm

_mental_ wrote:Sorta. Do you know how to build GZDoom from sources?
I know how to pull from git and I can look up the build instructions.

Re: Loading lots of mods crashes GZDoom?

by _mental_ » Wed Aug 15, 2018 1:09 pm

Sorta. Do you know how to build GZDoom from sources?

Re: Loading lots of mods crashes GZDoom?

by dawnbreez » Wed Aug 15, 2018 12:05 pm

m8f wrote:Please try more recent version of AutoAutosave: https://bitbucket.org/mmaulwurff/autoau ... e-0.11.pk3
Unfortunately, this occurs with several other mods--I'll test it but I doubt it would help.
_mental_ wrote:Can you build debug configuration and run it in GDB? Because in this case it's impossible to figure out what's wrong with Release one.
I take it I need to grab latest source from github and enable a debug flag?

Re: Loading lots of mods crashes GZDoom?

by _mental_ » Wed Aug 15, 2018 1:27 am

Can you build debug configuration and run it in GDB? Because in this case it's impossible to figure out what's wrong with Release one.

Re: Loading lots of mods crashes GZDoom?

by Graf Zahl » Wed Aug 15, 2018 12:51 am

The crash occurs in system code called from the main event dispatcher, there is no way to connect this to anything done by GZDoom.

Re: Loading lots of mods crashes GZDoom?

by m8f » Wed Aug 15, 2018 12:47 am

Please try more recent version of AutoAutosave: https://bitbucket.org/mmaulwurff/autoau ... e-0.11.pk3

Re: Loading lots of mods crashes GZDoom?

by Matt » Wed Aug 15, 2018 12:47 am

What kind of crash is this? Was there a crash report by GZDoom? nvm, saw the pastebin link, have no idea what's going on

Loading lots of mods crashes GZDoom?

by dawnbreez » Wed Aug 15, 2018 12:21 am

I'm guessing wildly here because I have no knowledge of what's going on under the hood, but testing has revealed the following:
  • Loading just Hideous Destructor works most of the time.
  • Loading HD with mods like AutoAutoSave, Tilt++, or DarkDoomZ causes crashes with an access error (pastebin'd example: https://pastebin.com/C44kJjtB)
  • Loading HD with a level seems to work about as often as HD on its own does.
From this, I suspect that either there's memory allocation shenanigans, or loading multiple mods that add similar resources causes the crash (HD, DarkDoomZ, AutoAutoSave and Tilt++ all use ZScript extensively, but the levels I tested with are pre-ZS).

EDIT: HD was always loaded first in my tests. May have to check load order later.

Top