View Issue Details

IDProjectCategoryLast Update
0006360Valley 1Crash/ExceptionMar 3, 2012 1:59 pm
Reporterjerith Assigned ToChris_McElligottPark  
Status closedResolutionnot fixable 
Product Version0.901 
Summary0006360: Crash, leading to bad world
DescriptionThe game crashed this morning, causing my whole OS to freeze. (When I restarted, MacOS claimed it was a problem in WindowServer, and I suspect something to do with graphics. I've had this kind of thing happen with apps running full-screen, but never with something running in a window before.)

When I started AVWW up again after the reboot, I got an exception that looks very much like a corrupted world. I'm attaching the UnhandledErrors.txt and the world in case it helps track down the cause of the crash.
TagsNo tags attached.
Internal WeightNew

Activities

jerith

Mar 3, 2012 6:05 am

reporter  

UnhandledErrors.txt (2,534 bytes)   
03/03/2012 12:51:17 (0.901)
-----------------------------------
UnhandledErrors-----------------------------------
03/03/2012 12:51:17 (0.901)
-----------------------------------Error-----------------------------------Log String: OnGUI: System.FormatException: TryReadInt32: Data.Length <= DataStringIndex
  at ArcenDeserializationBuffer.TryReadInt32 (System.Boolean& WasSuccessful, Boolean ThrowExceptionOnFailure) [0x00000] in <filename unknown>:0 
  at ArcenDeserializationBuffer.ReadInt32 () [0x00000] in <filename unknown>:0 
  at UnlockConditionTypeData.DeSerialize (.ArcenDeserializationBuffer InputBuffer) [0x00000] in <filename unknown>:0 
  at World.DeserializeWorldMetadataFrom (.ArcenDeserializationBuffer InputBuffer, Boolean IsFromTheNetwork) [0x00000] in <filename unknown>:0 
  at World.LoadWorldFromDisk (System.String WorldFilename, Boolean BackupWorldFolder) [0x00000] in <filename unknown>:0 
  at MainMenu.LoadGame (System.String WorldFilename, Boolean DoTransitions, Boolean BackupWorldFolder) [0x00000] in <filename unknown>:0 
  at MainMenu.<SubclassInit>b__3 () [0x00000] in <filename unknown>:0 
  at ConfirmPopup.HandleCancelClick () [0x00000] in <filename unknown>:0 
  at ArcenQueuedButtonClickDelegate.Execute () [0x00000] in <filename unknown>:0 
  at ArcenGUIManager.DrawGUI () [0x00000] in <filename unknown>:0 
  at MainCameraLogic.OnGUI () [0x00000] in <filename unknown>:0 
Stack Trace:   at ArcenDeserializationBuffer.TryReadInt32 (System.Boolean& WasSuccessful, Boolean ThrowExceptionOnFailure) [0x00000] in <filename unknown>:0 
  at ArcenDeserializationBuffer.ReadInt32 () [0x00000] in <filename unknown>:0 
  at UnlockConditionTypeData.DeSerialize (.ArcenDeserializationBuffer InputBuffer) [0x00000] in <filename unknown>:0 
  at World.DeserializeWorldMetadataFrom (.ArcenDeserializationBuffer InputBuffer, Boolean IsFromTheNetwork) [0x00000] in <filename unknown>:0 
  at World.LoadWorldFromDisk (System.String WorldFilename, Boolean BackupWorldFolder) [0x00000] in <filename unknown>:0 
  at MainMenu.LoadGame (System.String WorldFilename, Boolean DoTransitions, Boolean BackupWorldFolder) [0x00000] in <filename unknown>:0 
  at MainMenu.<SubclassInit>b__3 () [0x00000] in <filename unknown>:0 
  at ConfirmPopup.HandleCancelClick () [0x00000] in <filename unknown>:0 
  at ArcenQueuedButtonClickDelegate.Execute () [0x00000] in <filename unknown>:0 
  at ArcenGUIManager.DrawGUI () [0x00000] in <filename unknown>:0 
  at MainCameraLogic.OnGUI () [0x00000] in <filename unknown>:0 


UnhandledErrors.txt (2,534 bytes)   

jerith

Mar 3, 2012 6:06 am

reporter  

Badworld.zip (4,651,205 bytes)

Chris_McElligottPark

Mar 3, 2012 10:51 am

administrator   ~0020239

Bad news... yeah, it looks like that world was in the middle of saving when your OS locked up. I'm not familiar with the WindowServer problem; what OS version are you running, and what model of Mac? Just for my reference -- I don't think there's anything I can do here, and it sounds like a problem beyond AVWW honestly. It was just bad timing to have this problem occur during a world file save, which is why we made the backup buttons and prompts so common.

jerith

Mar 3, 2012 12:02 pm

reporter   ~0020247

"MacBookPro6,2" (according to system info) running 10.6.8.

I'm not really concerned about the loss of the world. I just provided it on the off chance that AVWW caused the crash by doing something strange, and that how far along it got in writing out the world would help track down the cause of the issue. I wasn't really expecting you guys to be able to do anything about it, but stranger things have happened. :-)

Chris_McElligottPark

Mar 3, 2012 1:11 pm

administrator   ~0020253

Thanks for the added info -- you've got almost the identical version to what I have, on I think the same OS revision, so it's not like it's a new Lion issue or something. That's good to know. I've got the i5 version of what you have, also the 2010 model, and I'm not sure if you have the i5 or i7.

Anyhow, I don't _think_ it was anything that AVWW was doing that caused this, from looking at this. It sounds like your OS install might be a little iffy, or some other similar problem, if you're getting this error outside of AVWW as well. I've never seen it before, myself, on the same hardware.

I could be wrong, of course -- could be there's some obscure bug in AVWW that's causing this. I just don't see a smoking gun at the moment, or anything close.

jerith

Mar 3, 2012 1:58 pm

reporter   ~0020256

Mine's the i7. I've never seen anything hang the entire OS like that without being fullscreen, and I've only had it happen a handful of times with fullscreen games. (Two of those occasions were with old versions of AVWW, but there were crash tickets open at the time.)

While AVWW may have provided some kind of stimulus to tickle an issue in the OS or hardware or something, I think it's probably something we can write off to cosmic rays or fat electrons. I'll let you know if it happens again.

Chris_McElligottPark

Mar 3, 2012 1:59 pm

administrator   ~0020257

Cheers, thanks for the added info,

Issue History

Date Modified Username Field Change
Mar 3, 2012 6:05 am jerith New Issue
Mar 3, 2012 6:05 am jerith File Added: UnhandledErrors.txt
Mar 3, 2012 6:06 am jerith File Added: Badworld.zip
Mar 3, 2012 10:51 am Chris_McElligottPark Internal Weight => New
Mar 3, 2012 10:51 am Chris_McElligottPark Note Added: 0020239
Mar 3, 2012 10:51 am Chris_McElligottPark Status new => closed
Mar 3, 2012 10:51 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Mar 3, 2012 10:51 am Chris_McElligottPark Resolution open => not fixable
Mar 3, 2012 12:02 pm jerith Note Added: 0020247
Mar 3, 2012 1:11 pm Chris_McElligottPark Note Added: 0020253
Mar 3, 2012 1:58 pm jerith Note Added: 0020256
Mar 3, 2012 1:59 pm Chris_McElligottPark Note Added: 0020257
Apr 14, 2014 9:28 am Chris_McElligottPark Category Bug - Crash or Exception => Crash/Exception