View Issue Details

IDProjectCategoryView StatusLast Update
0003803The Dark ModCodingpublic08.08.2014 04:39
ReporterAluminumHaste Assigned Tograyman  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Platformx86OSWindows 7OS VersionUltimate
Product VersionSVN 
Target VersionTDM 2.03Fixed in VersionTDM 2.03 
Summary0003803: Game Crashes when using flash/explosive mines
DescriptionTrying to record a let's play of Ulysses, but everytime I arm and drop a mine, I will hear it arm, then after 2 seconds or so, TDM crashes.
SVN build.
I deleted the binaries, cleaned up the solution in VS2010 and built the binaries again. Still crashing.

Tried a debug version, got stack
http://i947.photobucket.com/albums/ad313/AluminumHaste/Untitled_zpsa6cb8efc.png
Steps To ReproduceUpdate to latest SVN
Update to latest source

Build binaries from source.

Run the game, drop a mine, game crashes.
TagsNo tags attached.
Attached Files
savegames.zip (1,723,611 bytes)

Activities

grayman

grayman

29.07.2014 00:18

viewer   ~0006813

Check this in 2.02, to be sure it runs okay there. Supposedly, it does.
AluminumHaste

AluminumHaste

29.07.2014 01:25

developer   ~0006814

Works in 2.02
grayman

grayman

07.08.2014 14:58

viewer   ~0006829

I tried SVN with my mine test map and everything works fine.

I'd like a savegame at the point where the player has mines. I started playing, but it's clear as I struggle to get out of the cell that it's going to take a while until I can get out, find mines, and reproduce the problem, and I don't have that kind of time.

Do NOT build your own binaries. Use the ones in SVN, otherwise I prolly won't be able to use the savegame.
AluminumHaste

AluminumHaste

07.08.2014 17:59

developer   ~0006830

Okay, savegame attached with SVN binaries.
You will load the game on a bookshelf, just activate the mine to drop it, and for me, about 5 seconds after it activates, TDM crashes.
grayman

grayman

07.08.2014 18:12

viewer   ~0006831

I wiped my binaries and updated so I'd have the same as you.

I can't reproduce the problem. The mines land, arm, and sit there until someone walks on them.

Maybe some of your support files are missing or corrupted.

Do you know anyone else who's experienced the problem?
AluminumHaste

AluminumHaste

07.08.2014 18:30

developer   ~0006832

I found the issue sort of, as long as logging is turned off in darkmod.ini, then it works fine. If I turn this all on:

LogFile=Darkmod.log
LogError=1
LogBegin=1
LogEnd=1
LogDebug=1
LogWarning=1
LogInfo=1
LogClass_INIT=1
LogClass_MISC=1
LogClass_SYSTEM=1
LogClass_FROBBING=1
LogClass_AI=1
LogClass_SOUND=1
LogClass_FUNCTION=1
LogClass_ENTITY=1
LogClass_INVENTORY=1
LogClass_LIGHT=1
LogClass_WEAPON=1
LogClass_MATH=1
LogClass_STIM_RESPONSE=1
LogClass_OBJECTIVES=1
LogClass_DIFFICULTY=1
LogClass_FRAME=1
LogClass_LOCKPICK=1
LogClass_CONVERSATION=1
LogClass_MAINMENU=1
LogClass_AAS=1
LogClass_STATE=1

Then it crashes.
grayman

grayman

07.08.2014 23:12

viewer   ~0006833

Holy crap!

When I turn them all on, it crashes, but it does so in a place where I can't tell what the heck it's trying to do. There's very little stack trace.

Why are you turning all those on?
grayman

grayman

07.08.2014 23:25

viewer   ~0006834

SYSTEM + INFO is causing the crash.

Probably a bad string asking to be written.

Narrowing it down.
grayman

grayman

08.08.2014 00:14

viewer   ~0006835

When debugging log statements were turned on, a variable was being used before it was initialized.

Rev. 6081:

Projectile.cpp
AluminumHaste

AluminumHaste

08.08.2014 01:55

developer   ~0006838

I usually leave all logging on, when I'm testing new code and binaries, I like having some sort of log to keep track of crashing.
This would probably explain the crashes I have been getting all this time, that you guys never seem to get.
grayman

grayman

08.08.2014 02:37

viewer   ~0006839

That was true in this case.

Your performance must be miserable, though, with all those lines being written to the log file.
AluminumHaste

AluminumHaste

08.08.2014 04:39

developer   ~0006840

I had not noticed really lol.

i7 4770k and a GeForce GTX 780ti will do that.

Issue History

Date Modified Username Field Change
28.07.2014 21:52 AluminumHaste New Issue
28.07.2014 21:52 AluminumHaste Status new => assigned
28.07.2014 21:52 AluminumHaste Assigned To => grayman
29.07.2014 00:18 grayman Note Added: 0006813
29.07.2014 01:25 AluminumHaste Note Added: 0006814
07.08.2014 14:58 grayman Note Added: 0006829
07.08.2014 17:56 AluminumHaste File Added: savegames.zip
07.08.2014 17:59 AluminumHaste Note Added: 0006830
07.08.2014 18:12 grayman Note Added: 0006831
07.08.2014 18:30 AluminumHaste Note Added: 0006832
07.08.2014 23:12 grayman Note Added: 0006833
07.08.2014 23:25 grayman Note Added: 0006834
08.08.2014 00:14 grayman Note Added: 0006835
08.08.2014 00:14 grayman Status assigned => resolved
08.08.2014 00:14 grayman Resolution open => fixed
08.08.2014 00:14 grayman Fixed in Version => TDM 2.03
08.08.2014 01:55 AluminumHaste Note Added: 0006838
08.08.2014 02:37 grayman Note Added: 0006839
08.08.2014 04:39 AluminumHaste Note Added: 0006840