[Devbuilds] echelon.wad crashes on startup

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
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

[Devbuilds] echelon.wad crashes on startup

Post by Xaser »

The recent megawad Echelon crashes on startup. Quick DWF crosspost from here:
Revenant100 wrote: Just as a heads up, something about this WAD crashes the newest dev builds of ZDoom and GZDoom. I had to downgrade to 2.8.1 to be able to play it.

In the latest build of ZDoom, the game will hang when trying to load the first map, and in the latest build of GZDoom, the game won't even boot up with this WAD loaded. I suspect the problem here has to do with the startup warnings mentioned above by WildWeasel, hence they're not as innocuous as they seem. I don't know if this is a problem on the engine's end or the WAD, but it's something to keep an eye on.
There's a bunch of "Texture 'x' references itself as patch" warnings in the console that are likely related, so this could be a "fix the wad" scenario, but crashing is no fun (and 2.8.1 exhibits nothing of the sort).

[EDIT] The self-referencing textures are indeed the cause. I repaired them in my copy of the wad and it works fine (albeit with other warnings, but I'll report those to the mapper).
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [Devbuilds] echelon.wad crashes on startup

Post by Edward-san »

Stack trace of the beginning of the loop which would lead to the crash:
Spoiler:
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: [Devbuilds] echelon.wad crashes on startup

Post by _mental_ »

As the given crash is caused by asset management error, I suppose that it's enough to just skip erroneous multipatch texture entries to avoid infinite recursion. Here is a pull request.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [Devbuilds] echelon.wad crashes on startup

Post by Graf Zahl »

Yes, that continue was indeed missing there.
Post Reply

Return to “Closed Bugs [GZDoom]”