drfrag666 / gzdoom

GZDoom adds an OpenGL renderer to the ZDoom source port.
http://gzdoom.drdteam.org
GNU General Public License v3.0
73 stars 15 forks source link

LZDoom 3.88b crash with 32bit version in Ashes Afterglow #37

Closed pachuco closed 1 year ago

pachuco commented 1 year ago

When level-change to Badlands(Prosperity town level) from either Nuke Plant or from Water Treatment sewer, game crashes. This crash only occurs with 32 bit build, and works fine on 64 bit one. Tested 32bit build on x86 winXP and x64 win7 machines, so crash is repeatable.

Attached are two saves near exit to Badlands. One for sewer and one for nuke plant. savemeeeeeeeee.zip

Oh yeah, mod is AshesAfterglow1_10.pk3 with MD5 of 9EDD04EF0E9445563566C98B2E3653C1 https://forum.zdoom.org/viewtopic.php?t=69612

drfrag666 commented 1 year ago

Sorry but i discontinued the port. That said the last version working on XP is 3.87c with a fix. Some mods could not load with the version compiled using the VS XP toolset.

pachuco commented 1 year ago

Hmm, discontinued... bummer. I guess that leaves me on my own here, huh? Is LZDoom compilable via GCC? I don't use VS.

I think I got it working in XP by just change of MajorSubsystemVersion in exe header. That said, with 32bit build, bug seems to manifest on 64bit windows just as well.

pachuco commented 1 year ago

My two cents worth of guessing without looking at any code say: integer overflow where integer width of variable changes with platform-compiled-for bitness.

pachuco commented 1 year ago

Also, crash happen on way back from sewers to biodome(fungus lab exit).

drfrag666 commented 1 year ago

It crashes with the 64 bit build too, but seems it's random. For me it has crashed once only with the first savegame. The mod is rather big about 250 MB. The port compiled with MinGW-w64 not long ago and still should, i left instructions in the wiki. But that compiler didn't work very well i recommend using VS 2019. BTW are you from Spain by any chance? Your nick sounds like that.

pachuco commented 1 year ago

BTW are you from Spain by any chance? Your nick sounds like that.

Nah. The nick is holdover from Mibbit.