View Issue Details

IDProjectCategoryLast Update
0016812Stars Beyond ReachCrash/ExceptionMay 28, 2015 9:56 pm
ReporterAklyon Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.840 (Pollution/Crime/Teleporters/Blueshirts) 
Fixed in Version0.854 
Summary0016812: Unknown error, cannot do anything afterwards.
DescriptionSo I was fairly far zoomed out, placing a sonar mapper. Plopped it down some distance from the teleporter, stayed zoomed out, hit end turn, got this error. Couldn't save or access any menus really, so I don't have a savegame anytime nearby, sorry. I could see most of a thoraxian city, a peltian city, a few saucers, and my zenith city in the zoom out.

ProcessAssertionFailure while IsInAbilityDeserializationOrProcessing, Message: Couldn't create thread

  at (wrapper managed-to-native) object:__icall_wrapper_mono_delegate_begin_invoke (object,intptr)
  at (wrapper delegate-begin-invoke) System.Threading.WaitCallback:begin_invoke_IAsyncResult__this___object_AsyncCallback_object (object,System.AsyncCallback,object)
  at System.Threading.ThreadPool.QueueUserWorkItem (System.Threading.WaitCallback callBack, System.Object state) [0x00000] in <filename unknown>:0
  at System.Threading.ThreadPool.QueueUserWorkItem (System.Threading.WaitCallback callBack) [0x00000] in <filename unknown>:0
  at Game.<StartAIThreads>b__11f (.RaceState race) [0x00000] in <filename unknown>:0
  at World.DoForRaces (.ProcessorDelegate Processor) [0x00000] in <filename unknown>:0
  at Game.StartAIThreads () [0x00000] in <filename unknown>:0
  at Ability.TryExecuteInner (.QueuedAbilityUse Message, .AbilityUseResult Result) [0x00000] in <filename unknown>:0
QueuedAbilityUse.AbilityType:HumanPlayerSignalingReadyForNextTurn
QueuedAbilityUse.MessageID:459
Game.Instance.NumberOfQueuedAbilityUsesProcessedThisStep:1

   at System.Environment.get_StackTrace()
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity)
   at ArcenDebugging.ProcessAssertionFailure(System.String Message)
   at Ability.TryExecuteInner(.QueuedAbilityUse Message, .AbilityUseResult Result)
   at Ability.TryExecute(.QueuedAbilityUse QueuedAbilityUse, .AbilityUseResult Result)
   at QueuedAbilityUse.TryExecute()
   at Game.HandleQueuedAbilityUses()
   at Game.ProcessSimStep()
   at ArcenMainCameraImplementations.MainUpdateLogic()
   at MainCameraLogic.Update()
TagsNo tags attached.

Activities

Chris_McElligottPark

May 24, 2015 2:57 pm

administrator   ~0041102

What OS are you on? This is definitely a strange one, because it shouldn't really have any chance of happening -- it ran out of the ability to create new threads. So either we're leaking threads (possible), or it's not clearing the thread pool fast enough (possible), or something else is taking up a ton of threads in your game process (possible).

Had you been hitting end turn rapidly recently (not that that should matter)? How long would you estimate, roughly, between the prior time you hit end turn and this one?

Thanks!

Aklyon

May 24, 2015 5:08 pm

reporter   ~0041104

Not particularly quickly at all, I would say. Maybe a minute or two? I was working on saving up for the disease control but got distracted expanding my sonar coverage.

OS: Win 7 SP1 64-bit.

Chris_McElligottPark

May 24, 2015 8:47 pm

administrator   ~0041107

Okay, that's precisely what I needed to know, thanks. In that case, you're absolutely way out of bounds of where this should remotely be a problem in any sort of way. I mean, there's just no way this should happen. So... that probably means a leak of threads somewhere.

Last question: do you know how many turns in you were, roughly? Had you been playing -- in this session -- for 5 minutes, 30, a few hours? I'm wondering if this is something that is possible to happen quickly within one play session, basically, or if this is likely just something for really long play sessions. Again suggesting a leak, but one answer or the other helps with the nature of the leak a slight bit a least.

Aklyon

May 24, 2015 8:58 pm

reporter   ~0041108

At least 100, probably not over 250. My most recent save is quite a bit behind, but I'd been playing it for a couple hours, I think.

Chris_McElligottPark

May 25, 2015 3:02 pm

administrator   ~0041161

Okay, thanks for that added detail. I'll see what I can find!

Chris_McElligottPark

May 28, 2015 9:56 pm

administrator   ~0041374

Okay, this is PROBABLY fixed in the version that just came out. I think that your issue was related to the minimap RAM leak, but I can't be positive. I did profiling on the thread pool and it looks okay, so I think that was it. If you see it again in a future version, though, please do let us know!

Issue History

Date Modified Username Field Change
May 24, 2015 2:36 pm Aklyon New Issue
May 24, 2015 2:57 pm Chris_McElligottPark Note Added: 0041102
May 24, 2015 2:57 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
May 24, 2015 2:57 pm Chris_McElligottPark Status new => feedback
May 24, 2015 5:08 pm Aklyon Note Added: 0041104
May 24, 2015 5:08 pm Aklyon Status feedback => assigned
May 24, 2015 8:47 pm Chris_McElligottPark Note Added: 0041107
May 24, 2015 8:58 pm Aklyon Note Added: 0041108
May 25, 2015 3:02 pm Chris_McElligottPark Note Added: 0041161
May 28, 2015 9:56 pm Chris_McElligottPark Note Added: 0041374
May 28, 2015 9:56 pm Chris_McElligottPark Status assigned => resolved
May 28, 2015 9:56 pm Chris_McElligottPark Fixed in Version => 0.854
May 28, 2015 9:56 pm Chris_McElligottPark Resolution open => fixed