Back to the Vavoom Forum Archives


[Fixed][svn-3688]Assertion related crashes

Thu, 12 Jun 2008 23:15:24


And the problem with svn builds is... they tend to be broken (as they are work in progress, after all). Of course this one tends to be stable. Well, a problem for today is: Assertion failed: Level->TIDHash[HashIndex] == this This happens mostly when I load a game while I'm already in-game (meaning fresh save, play for a while, try to load), but sometimes (rarely) happens simply in-game.
Sun, 15 Jun 2008 12:56:26

Janis Legzdinsh

Hmmm, never got it.
Sun, 15 Jun 2008 14:05:11


For me it happens every time I load when the game is running. When I changed in source/p_entity.cpp in void VEntity::RemoveFromTIDList(): check(Level->TIDHash[HashIndex] == this); to if (Level->TIDHash[HashIndex] == this) that probably removed the assert, but it seems to be working. Then again it's not a fix, just a workaround. For future reference: I may miss the moment this will get fixed, cause, for the time being (meaning - until further notice), I'll be building vavoom with the change mentioned above.
Wed, 16 Jul 2008 11:49:04


Debian Sid, Vavoom 1.28 from source, Hexen 1.1 I confirm the problem. This starts to happen when I leave the level Caves of Circe (hub Shadow Woods). The game crashes every time I load game, except for the initial load right after being launched. The crash also happen after passing Hypostyle,every time I enter the teleport to the next hub. Initially, I though it's related to the other reported bug, but it's not. The modified workaround from mnk also works here, I simply commented out the line he changed, no crash since then. debug:
Log: QuickLoad
Log: ---------------------------------------
Dev: 495 subdivides
Dev: 1197 seg subdivides
Dev: 15k light mem
Dev: Client level loaded
Log: timidity.cfg: No such file or directory
Log: Timidity init failed
Log: Loading "QuickSave"
Log: koshmar left the game

- VEntity::RemoveFromTIDList
- VEntity::DestroyThinker
- VLevel::DestroyAllThinkers
- VLevel::Destroy
- SV_ShutdownServer
- SV_LoadGame
- VCommand::ExecuteString
- VCmdBuf::Exec
- Host_Frame
Log: Doing C_Shutdown
Log: Doing CL_Shutdown
Log: Doing SV_Shutdown
Log: Doing delete GNet
Log: Doing delete GInput
Log: Doing V_Shutdown
Log: Doing delete GAudio
Log: Doing T_Shutdown
Log: Doing Sys_Shutdown
Log: Doing delete GSoundManager
Log: Doing R_ShutdownTexture
Log: Doing R_ShutdownData
Log: Doing VCommand::Shutdown
Log: Doing VCvar::Shutdown
Log: Doing ShutdownMapInfo
Log: Doing FL_Shutdown
Log: Doing W_Shutdown
Log: Doing GLanguage.FreeData
Log: Doing LineSpecialInfos.Clear
Log: Doing VObject::StaticExit
Log: Doing VName::StaticExit
Uninitialised: Doing Z_Shutdown

stack 0 0x82c89ae frame 0 0xbff2d368
stack 1 0xb7a30455 frame 1 0xbff2d3a8
stack 2 0x80b8281 frame 2 0xbff2d418

ERROR: Assertion failed: Level->TIDHash[HashIndex] == this
Z_Free after Z_Shutdown
Wed, 16 Jul 2008 12:25:16


Obviously, that code might need a way to check if both variables are initialized, since IMO that might be the problem.
Mon, 26 Jan 2009 23:47:52


This bug is also present in 1.29-1 binary, running on Fedora 10. Game crashes with Assertion failed: Level->TIDHash[HashIndex] == this in Hypostale map when I load a game or try to pass through the portal that opens after you kill the wyvern
Tue, 27 Jan 2009 17:01:27

Janis Legzdinsh

Hopefully should be fixed.

Back to the Vavoom Forum Archives