View Issue Details

IDProjectCategoryLast Update
0003760AI War 1 / ClassicBug - OtherAug 21, 2011 12:32 pm
Reportervinco Assigned Tokeith.lamothe  
Status assignedResolutionopen 
Product Version5.014 
Summary0003760: Random Crash
DescriptionI noticed the game getting a bit sluggish during the most recent AI attacks. I then had the game crash on me. Cannot think of exact trigger. Including crash report and most recent autosave.
TagsNo tags attached.
Internal Weight

Activities

vinco

Aug 21, 2011 1:25 am

reporter  

keith.lamothe

Aug 21, 2011 9:13 am

administrator   ~0012930

Thanks for the error logs, they help a bit but some additional info would help too. Judging by the paths in the error logs, there's probably also some error log data at your:

d:\program files\steam\steamapps\common\ai war fleet command\runtimedata\

Specifically, we want the UnhandledErrors.txt file, but also any other txt file with the words "error" or "exception" in their name in that directory (don't worry about subdirectories).


Anyway, as far as the original report:
- error.log indicates that the crash happened because the program tried to write to a memory address which the OS had not assigned to it.
- output_log.txt indicates (in the stack trace at the end) that the code that tried to perform that bad write operation was in a system call called from steam code. There's also some dll's in that stack that I did not expect to see, like "C:\Program Files (x86)\Xfire\xfire_toucan_44225.dll", and "C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL", but that's probably just ignorance on my part.

My main two guesses are:
- Rare bug in steam's overlay code.
- Memory pressure from big gamestate causing instability.

Or perhaps the second, leading to a situation where the first could happen.


Does this crash happen repeatedly if you keep trying to reload the game, etc?

Thanks,
Keith

vinco

Aug 21, 2011 12:06 pm

reporter   ~0012932

I'm afraid that no UnhandledErrors.txt files exist, and only the inputbindings.bak/dat and settings.bak/dat files in the RuntimeData folder show modification dates within the past month. I've not yet tried to reproduce the error, but will make an effort to do so today.

keith.lamothe

Aug 21, 2011 12:08 pm

administrator   ~0012933

I thought that might be the case, actually. It means the crash happened so far outside our code that Unity didn't even let us catch and log the exception. That means it's pretty unlikely we can do anything unless it was caused indirectly by the program (via memory pressure).

Conceivably it's some kind of bad interaction with xFire, dunno.

vinco

Aug 21, 2011 12:25 pm

reporter   ~0012934

I wouldn't be shocked at the Xfire interaction theory. I can get Civ4 to crash reliably by running Xfire and the EVGA overclocking utility's OSD portion simultaneously. I'm also having issues with xfire not recognizing the exit from a program, and continuing to show it as active on my status line even after quitting a game. Sigh, if only that weren't my primary means of arranging MP games...

I'll let you know if anything crashes again.

keith.lamothe

Aug 21, 2011 12:32 pm

administrator   ~0012935

Ah, yea, sorry to hear about the troubles there. We can't know for sure if the AIW one is Xfire related (you could gradually ascertain that by playing a lot with it off and seeing if you get any crashes, and vice versa), but if you can reproduce the Civ4 one you could try telling the Xfire devs here:

http://www.xfire.com/forums/182686/

It's conceivable that a fix for that one (whether it's some alternate setting you need or a code patch on their end or wahtever) could help prevent crashes when working with other games.

Issue History

Date Modified Username Field Change
Aug 21, 2011 1:25 am vinco New Issue
Aug 21, 2011 1:25 am vinco File Added: Crash_2011-08-20_225816.rar
Aug 21, 2011 1:25 am vinco Summary Crash => Random Crash
Aug 21, 2011 9:13 am keith.lamothe Note Added: 0012930
Aug 21, 2011 9:13 am keith.lamothe Assigned To => keith.lamothe
Aug 21, 2011 9:13 am keith.lamothe Status new => feedback
Aug 21, 2011 12:06 pm vinco Note Added: 0012932
Aug 21, 2011 12:06 pm vinco Status feedback => assigned
Aug 21, 2011 12:08 pm keith.lamothe Note Added: 0012933
Aug 21, 2011 12:25 pm vinco Note Added: 0012934
Aug 21, 2011 12:32 pm keith.lamothe Note Added: 0012935