Loading lots of mods crashes GZDoom?

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

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 Reply
User avatar
dawnbreez
Posts: 199
Joined: Wed Jul 08, 2015 12:29 pm

Loading lots of mods crashes GZDoom?

Post by dawnbreez »

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.
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Re: Loading lots of mods crashes GZDoom?

Post by Matt »

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
Last edited by Matt on Wed Aug 15, 2018 12:26 pm, edited 1 time in total.
User avatar
m8f
 
 
Posts: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)
Contact:

Re: Loading lots of mods crashes GZDoom?

Post by m8f »

Please try more recent version of AutoAutosave: https://bitbucket.org/mmaulwurff/autoau ... e-0.11.pk3
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Loading lots of mods crashes GZDoom?

Post by Graf Zahl »

The crash occurs in system code called from the main event dispatcher, there is no way to connect this to anything done by GZDoom.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Loading lots of mods crashes GZDoom?

Post by _mental_ »

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.
User avatar
dawnbreez
Posts: 199
Joined: Wed Jul 08, 2015 12:29 pm

Re: Loading lots of mods crashes GZDoom?

Post by dawnbreez »

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?
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Loading lots of mods crashes GZDoom?

Post by _mental_ »

Sorta. Do you know how to build GZDoom from sources?
User avatar
dawnbreez
Posts: 199
Joined: Wed Jul 08, 2015 12:29 pm

Re: Loading lots of mods crashes GZDoom?

Post by dawnbreez »

_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.
User avatar
dawnbreez
Posts: 199
Joined: Wed Jul 08, 2015 12:29 pm

Re: Loading lots of mods crashes GZDoom?

Post by dawnbreez »

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?
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Loading lots of mods crashes GZDoom?

Post by _mental_ »

Yes, make a new thread.
User avatar
dawnbreez
Posts: 199
Joined: Wed Jul 08, 2015 12:29 pm

Re: Loading lots of mods crashes GZDoom?

Post by dawnbreez »

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

Return to “Closed Bugs [GZDoom]”