[Fixed] Crash on loading ksutra map05 or map10

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Crash on loading ksutra map05 or map10

Postby idvver » Thu May 21, 2020 11:23 am

I could use some help with fixing gzdoom while loading the Kama Sutra PWAD, and progressing or warping into map 05, 10 or 27. Or, decrypting fileinfo.txt, rather.
Starting a debug build of build/gzdoom through gdb, then invoking 'run' and waiting at least 30 minutes, makes the engine/game just sit there.

Before I would make a pull request: where is Apply() in wadsrc/static/zscript/level_compatibility.zs called? It makes sense to print 'Name checksum' when starting gzdoom.

git revision:
Code: Select allExpand view
g4.4pre-325-g3f9b9314a

gzdoom stops with:
Code: Select allExpand view
src/common/utility/tarray.h:264: T& TArray<T, TT>::operator const [with T = FSection; TT = FSection; size_t = long unsigned int]: Assertion `index <= Count' failed.


Command line used to load/get to map 05/10/27:
Code: Select allExpand view
~/github/coelckers/gzdoom/build/gzdoom -iwad DOOM2.WAD -file ksutra.zip +map map05 +set developer 1 -hashfiles

PWAD download: https://www.quaddicted.com/files/idgames/levels/doom2/megawads/ksutra.zip
idvver
 
Joined: 21 May 2020

Re: Crash on loading ksutra map05 or map10

Postby Graf Zahl » Mon May 25, 2020 11:21 am

Fixed. There was a missing check for invalid data in the calling function, but in release builds this was a harmless occurence.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Bugs

Who is online

Users browsing this forum: Semrush [Bot] and 0 guests