View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002880 | The Dark Mod | Saving/Loading | public | 08.10.2011 13:12 | 21.10.2011 12:33 |
Reporter | Hyeron | Assigned To | tels | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | SVN | ||||
Target Version | TDM 1.07 | Fixed in Version | TDM 1.07 | ||
Summary | 0002880: GUI files make Training Mission crash on load | ||||
Description | training_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 Reproduce | Start the mission. Crashes once it reaches the splash/load screen. Remove the guis/map folder, try to load the map again. | ||||
Tags | No tags attached. | ||||
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. |
|
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 :) |
|
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 |