View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0019351 | AI War 2 | Crash/Exception | Jan 25, 2018 6:48 pm | Feb 2, 2018 7:12 pm | |
Reporter | BadgerBadger | Assigned To | keith.lamothe | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.702 Activating Mk1 Grinding Machine | ||||
Fixed in Version | 0.704 About that Flair | ||||
Summary | 0019351: Stuck thread in specialFactionContext_3 | ||||
Description | I was running a game and I hit this issue: 1/25/2018 6:46:22 PM Thread 'specialFactionContext_3' is in state Background after 10 seconds, so killing it now 1/25/2018 6:46:22 PM Error occurred in sim planning context specialFactionContext_3 Thread was being aborted ===PSUEDO INFO=== Method DoSingleBudgetLoopIteration Line 10 ===STACK FRAMES (with file info)=== FILE METHOD IL_OFFSET NATIVE_OFFSET LINE_NUMBER COLUMN_NUMBER get_Item 0 31 0 0 <Helper_RetreatThreat>b__0 0 150 0 0 DoForLinkedNeighbors 0 145 0 0 Helper_RetreatThreat 0 688 0 0 DoLongRangePlanning_Subclass 0 9185 0 0 DoLongRangePlanning 0 275 0 0 Execute 0 53 0 0 InnerRun 0 151 0 0 ===RAW STACK TRACE=== at Arcen.AIW2.Core.ArcenEnumIndexedArray_FactionStance`1[Arcen.AIW2.Core.LongRangePlanning_StrengthData_PlanetFaction_Stance].get_Item (FactionStance key) [0x00000] in <filename unknown>:0 at Arcen.AIW2.External.SpecialFaction_AI+<>c__DisplayClass8_0.<Helper_RetreatThreat>b__0 (Arcen.AIW2.Core.Planet neighbor) [0x00000] in <filename unknown>:0 at Arcen.AIW2.Core.Planet.DoForLinkedNeighbors (Arcen.AIW2.Core.ProcessorDelegate Processor) [0x00000] in <filename unknown>:0 at Arcen.AIW2.External.SpecialFaction_AI.Helper_RetreatThreat (Boolean tracing, Arcen.Universal.ArcenCharacterBuffer tracingBuffer, System.Collections.Generic.List`1 threatShipsNotAssignedElsewhere, Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.ArcenLongTermPlanningContext Context) [0x00000] in <filename unknown>:0 at Arcen.AIW2.External.SpecialFaction_AI.DoLongRangePlanning_Subclass (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenLongTermPlanningContext Context) [0x00000] in <filename unknown>:0 at Arcen.AIW2.External.BaseSpecialFaction.DoLongRangePlanning (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenLongTermPlanningContext Context) [0x00000] in <filename unknown>:0 at Arcen.AIW2.Core.SpecialFactionPlanning.Execute () [0x00000] in <filename unknown>:0 at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun () [0x00000] in <filename unknown>:0 at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227 at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) at Arcen.Universal.ArcenDebugging.LogException(System.Exception e, System.String message, Verbosity verbosity) at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun() 1/25/2018 6:46:22 PM Thread 'specialFactionContext_3' is in state Stopped, AbortRequested after 10 seconds, so killing it now 1/25/2018 6:46:22 PM Thread 'specialFactionContext_3' is in state Stopped, AbortRequested after 10 seconds, so killing it now 1/25/2018 6:46:22 PM Thread 'specialFactionContext_3' is in state Stopped, AbortRequested after 10 seconds, so killing it now 1/25/2018 6:46:22 PM Thread 'specialFactionContext_3' is in state Stopped, AbortRequested after 10 seconds, so killing it now 1/25/2018 6:46:22 PM Thread 'specialFactionContext_3' is in state Stopped, AbortRequested after 10 seconds, so killing it now ... 1/25/2018 6:46:23 PM Thread 'specialFactionContext_3' is in state Stopped, AbortRequested after 10 seconds, so killing it now Unhandled Exception: System.Exception: Error: tried to start thread 'specialFactionContext_3' but it's already present with the state of Stopped, AbortRequested at Arcen.Universal.ArcenThread.Start (System.Threading.ThreadStart MethodToRun) [0x00000] in <filename unknown>:0 at Arcen.Universal.ArcenThreadManager.StartThread (System.String ThreadName, Int32 SecondsToLive, Boolean DieOnWorldClear, System.Threading.ThreadStart MethodToRun) [0x00000] in <filename unknown>:0 at Arcen.AIW2.Core.ArcenSimPlanningContext.Run () [0x00000] in <filename unknown>:0 at Arcen.AIW2.Core.ArcenLongTermPlanningContext.DoLongTermPlanning () [0x00000] in <filename unknown>:0 1/25/2018 6:46:23 PM Thread 'specialFactionContext_3' is in state Stopped, AbortRequested after 10 seconds, so killing it now .... And the "AbortRequested messages continued until I closed the game | ||||
Tags | No tags attached. | ||||
|
If you load from this save game you should encounter the issue promptly |
|
Man, this issue just won't die. |
|
Tagged another one shortly into a game (was on my 3rd planet or so) 2/1/2018 10:02:31 PM Thread 'specialFactionContext_3' is in state Background after 10 seconds, so killing it now 2/1/2018 10:02:31 PM Error occurred in sim planning context specialFactionContext_3 Thread was being aborted ===PSUEDO INFO=== Method DoSingleBudgetLoopIteration Line 10 ===STACK FRAMES (with file info)=== FILE METHOD IL_OFFSET NATIVE_OFFSET LINE_NUMBER COLUMN_NUMBER C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\ArcenMath\FInt.cs op_Multiply 1 19 107 0 <Helper_RetreatThreat>b__0 0 344 0 0 C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\GameState\Mapping\Planet.cs DoForLinkedNeighbors 48 129 367 0 Helper_RetreatThreat 0 713 0 0 DoLongRangePlanning_Subclass 0 9209 0 0 DoLongRangePlanning 0 275 0 0 C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanning\LongTerm\SpecialFactionPlanning.cs Execute 24 53 24 0 C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs InnerRun 45 151 81 0 ===RAW STACK TRACE=== at Arcen.Universal.FInt.op_Multiply (FInt one, FInt other) [0x00001] in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\ArcenMath\FInt.cs:107 at Arcen.AIW2.External.SpecialFaction_AI+<>c__DisplayClass8_0.<Helper_RetreatThreat>b__0 (Arcen.AIW2.Core.Planet neighbor) [0x00000] in <filename unknown>:0 at Arcen.AIW2.Core.Planet.DoForLinkedNeighbors (Arcen.AIW2.Core.ProcessorDelegate Processor) [0x00030] in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\GameState\Mapping\Planet.cs:367 at Arcen.AIW2.External.SpecialFaction_AI.Helper_RetreatThreat (Boolean tracing, Arcen.Universal.ArcenCharacterBuffer tracingBuffer, System.Collections.Generic.List`1 threatShipsNotAssignedElsewhere, Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.Arce\ nLongTermPlanningContext Context) [0x00000] in <filename unknown>:0 at Arcen.AIW2.External.SpecialFaction_AI.DoLongRangePlanning_Subclass (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenLongTermPlanningContext Context) [0x00000] in <filename unknown>:0 at Arcen.AIW2.External.BaseSpecialFaction.DoLongRangePlanning (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenLongTermPlanningContext Context) [0x00000] in <filename unknown>:0 at Arcen.AIW2.Core.SpecialFactionPlanning.Execute () [0x00018] in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanning\LongTerm\SpecialFactionPlanning.cs:24 at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun () [0x0002d] in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:81 at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227 at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 143 at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 112 at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 91 at Arcen.Universal.ArcenDebugging.LogException(System.Exception e, System.String message, Verbosity verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 266 at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun() in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:line 85 |
|
Started a new game, hit this one again 2/1/2018 11:06:26 PM Error occurred in sim planning context specialFactionContext_60 Thread was being aborted ===PSUEDO INFO=== Method DoSingleBudgetLoopIteration Line 10 ===STACK FRAMES (with file info)=== FILE METHOD IL_OFFSET NATIVE_OFFSET LINE_NUMBER COLUMN_NUMBER get_Item 0 8 0 0 <Helper_RetreatThreat>b__0 0 122 0 0 DoForLinkedNeighbors 0 145 0 0 Helper_RetreatThreat 0 718 0 0 DoLongRangePlanning_Subclass 0 9209 0 0 DoLongRangePlanning 0 275 0 0 Execute 0 53 0 0 InnerRun 0 151 0 0 ===RAW STACK TRACE=== at Arcen.Universal.ArcenSparseLookup`2[System.Int32,Arcen.AIW2.Core.LongRangePlanningData_PlanetFaction].get_Item (Int32 key) [0x00000] in <filename unknown>:0 at Arcen.AIW2.External.SpecialFaction_AI+<>c__DisplayClass8_0.<Helper_RetreatThreat>b__0 (Arcen.AIW2.Core.Planet neighbor) [0x00000] in <filename unknown>:0 at Arcen.AIW2.Core.Planet.DoForLinkedNeighbors (Arcen.AIW2.Core.ProcessorDelegate Processor) [0x00000] in <filename unknown>:0 at Arcen.AIW2.External.SpecialFaction_AI.Helper_RetreatThreat (Boolean tracing, Arcen.Universal.ArcenCharacterBuffer tracingBuffer, System.Collections.Generic.List`1 threatShipsNotAssignedElsewhere, Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.Arce\ nLongTermPlanningContext Context) [0x00000] in <filename unknown>:0 at Arcen.AIW2.External.SpecialFaction_AI.DoLongRangePlanning_Subclass (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenLongTermPlanningContext Context) [0x00000] in <filename unknown>:0 at Arcen.AIW2.External.BaseSpecialFaction.DoLongRangePlanning (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenLongTermPlanningContext Context) [0x00000] in <filename unknown>:0 at Arcen.AIW2.Core.SpecialFactionPlanning.Execute () [0x00000] in <filename unknown>:0 at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun () [0x00000] in <filename unknown>:0 at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227 at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) at Arcen.Universal.ArcenDebugging.LogException(System.Exception e, System.String message, Verbosity verbosity) at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun() |
|
For 0.704: * Fixed some bugs where a thread that was in "abort requested" AND "stopped" states simultaneously (it's a flag enum, so it can have multiple values at once) was not being considered as being in a terminal state, which led to various panicking over threads not terminating, etc. Thanks :) |
Date Modified | Username | Field | Change |
---|---|---|---|
Jan 25, 2018 6:48 pm | BadgerBadger | New Issue | |
Jan 25, 2018 6:48 pm | BadgerBadger | Status | new => assigned |
Jan 25, 2018 6:48 pm | BadgerBadger | Assigned To | => keith.lamothe |
Jan 25, 2018 6:49 pm | BadgerBadger | File Added: save3~#CO#215397835#7420#level1#Brawler#Difficulty 1.save | |
Jan 25, 2018 6:49 pm | BadgerBadger | Note Added: 0046724 | |
Jan 26, 2018 10:28 am | Chris_McElligottPark | Note Added: 0046735 | |
Feb 1, 2018 10:04 pm | BadgerBadger | Note Added: 0046821 | |
Feb 1, 2018 11:07 pm | BadgerBadger | Note Added: 0046822 | |
Feb 2, 2018 7:12 pm | keith.lamothe | Status | assigned => resolved |
Feb 2, 2018 7:12 pm | keith.lamothe | Resolution | open => fixed |
Feb 2, 2018 7:12 pm | keith.lamothe | Fixed in Version | => 0.704 About that Flair |
Feb 2, 2018 7:12 pm | keith.lamothe | Note Added: 0046837 |