View Issue Details

IDProjectCategoryView StatusLast Update
0002880The Dark ModSaving/Loadingpublic21.10.2011 12:33
ReporterHyeron Assigned Totels  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionSVN 
Target VersionTDM 1.07Fixed in VersionTDM 1.07 
Summary0002880: GUI files make Training Mission crash on load
Descriptiontraining_mission.gui and/or training.gui, situated in /guis/map in the pk4 of Training Mission make the game crash.

Excerpt from the console log:
--------- Game Map Shutdown ----------
ModelGenerator memory: No LOD entries.
--------------------------------------
********************
ERROR: initChoice: Cannot find CVAR 'log'.
********************
]quit
--------- Game Map Shutdown ----------
ModelGenerator memory: No LOD entries.
--------------------------------------
Shutting down sound hardware
----------- Alsa Shutdown ------------
close pcm
dlclose
--------------------------------------
idRenderSystem::Shutdown()
Steps To ReproduceStart the mission. Crashes once it reaches the splash/load screen.
Remove the guis/map folder, try to load the map again.
TagsNo tags attached.

Activities

Hyeron

Hyeron

13.10.2011 19:16

reporter   ~0004069

windowDef ScreenPicture2

    {

        rect 0,0,640,480 // (Leave at 0,0,640,480 as it scales)

        background "guis/assets/generic_loading3.tga" // (Enter your screenshot here)

        matcolor 1,1,1, .5

    }

(taken from /guis/map/Training_mission.gui)

is the cause of the crash. For some reason it just doesn't work anymore. Removing the whole section kinda breaks the blending of the pictures as currently seen on 1.06, but the crash disappears.
tels

tels

21.10.2011 12:32

reporter   ~0004086

Last edited: 21.10.2011 12:32

The "crash" was due to the new code verifyng that the commands it gets are actually well-formed, and due to the internal buffer overflow in the GUI, it produced an error due to a cut-off argument.

Both issues have been addressed by:

* not making the code throw an error (instead it just warns and continues)
* spreading out the initChoice commands so they are much less likely to overflow the buffer to begin with

Edit: The secion you quoted had nothing to do with it, it was just that removing it changed the timing and the buffer overflow did not occur :)

Issue History

Date Modified Username Field Change
08.10.2011 13:12 Hyeron New Issue
13.10.2011 19:16 Hyeron Note Added: 0004069
21.10.2011 12:32 tels Note Added: 0004086
21.10.2011 12:32 tels Status new => resolved
21.10.2011 12:32 tels Fixed in Version => TDM 1.07
21.10.2011 12:32 tels Resolution open => fixed
21.10.2011 12:32 tels Assigned To => tels
21.10.2011 12:32 tels Note Edited: 0004086
21.10.2011 12:33 tels Target Version => TDM 1.07