View Issue Details

IDProjectCategoryLast Update
0025528AI War 2Crash/ExceptionAug 26, 2021 10:48 am
ReporterZweihand Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.603 Last of the Recent Known Regressions 
Fixed in VersionBeta 3.604 Puppy Proofing, Part 1 
Summary0025528: A bunch of exceptions upon exiting to the main menu.
DescriptionAggregateException
One or more errors occurred.
===STACK FRAMES (with file info)===
FILE METHOD IL_OFFSET NATIVE_OFFSET LINE_NUMBER COLUMN_NUMBER
    ThrowIfExceptional 17 90 0 0
    Wait 67 250 0 0
    Wait 0 50 0 0
    ForWorker 427 2498 0 0
    ForEachWorker 71 778 0 0
    ForEachWorker 68 538 0 0
    ForEach 28 178 0 0
    DoForPlanetsParallel 36 306 0 0
    DoForPlanetsParallel 22 106 0 0
    DoPlanetPerStepLogic 62 530 0 0
    DoWorldStepLogic_FromSimBGThread 190 546 0 0
    Execute 231 655 0 0
===RAW STACK TRACE===
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.Wait () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Parallel.ForWorker[TLocal] (System.Int32 fromInclusive, System.Int32 toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action`1[T] body, System.Action`2[T1,T2] bodyWithState, System.Func`4[T1,T2,T3,TResult] bodyWithLocal, System.Func`1[TResult] localInit, System.Action`1[T] localFinally) [0x001ab] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal] (System.Collections.Generic.IList`1[T] list, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action`1[T] body, System.Action`2[T1,T2] bodyWithState, System.Action`3[T1,T2,T3] bodyWithStateAndIndex, System.Func`4[T1,T2,T3,TResult] bodyWithStateAndLocal, System.Func`5[T1,T2,T3,T4,TResult] bodyWithEverything, System.Func`1[TResult] localInit, System.Action`1[T] localFinally) [0x00047] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal] (System.Collections.Generic.IEnumerable`1[T] source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action`1[T] body, System.Action`2[T1,T2] bodyWithState, System.Action`3[T1,T2,T3] bodyWithStateAndIndex, System.Func`4[T1,T2,T3,TResult] bodyWithStateAndLocal, System.Func`5[T1,T2,T3,T4,TResult] bodyWithEverything, System.Func`1[TResult] localInit, System.Action`1[T] localFinally) [0x00044] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Parallel.ForEach[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Action`1[T] body) [0x0001c] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.AIW2.Core.Galaxy.DoForPlanetsParallel (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00024] in <22eb365887374cbca423dc3517ff18be>:0
  at Arcen.AIW2.Core.World_AIW2.DoForPlanetsParallel (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00016] in <22eb365887374cbca423dc3517ff18be>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoPlanetPerStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x0003e] in <80a4d6a705464ebe881e1f2d07657924>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldStepLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x000be] in <80a4d6a705464ebe881e1f2d07657924>:0
  at Arcen.AIW2.External.SimExecution.Execute () [0x000e7] in <80a4d6a705464ebe881e1f2d07657924>:0
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <ff81a408864a49fca7a28283640ebcf5>:0
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <ff81a408864a49fca7a28283640ebcf5>:0
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <80a4d6a705464ebe881e1f2d07657924>:0
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <80a4d6a705464ebe881e1f2d07657924>:0
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <80a4d6a705464ebe881e1f2d07657924>:0
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <80a4d6a705464ebe881e1f2d07657924>:0
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0

TagsNo tags attached.

Activities

Chris_McElligottPark

Aug 26, 2021 10:48 am

administrator   ~0062776

Thanks!

* Exceptions inside of parallel planet loops or parallel fleet loops are both now vastly more clear in terms of what they show to the error log.
** Additionally, ThreadAbortExceptions, which are valid cases of the game saying "I'm going to the main menu, stop now" are now properly ignored.

Issue History

Date Modified Username Field Change
Aug 26, 2021 5:25 am Zweihand New Issue
Aug 26, 2021 10:48 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Aug 26, 2021 10:48 am Chris_McElligottPark Status new => resolved
Aug 26, 2021 10:48 am Chris_McElligottPark Resolution open => fixed
Aug 26, 2021 10:48 am Chris_McElligottPark Fixed in Version => Beta 3.604 Puppy Proofing, Part 1
Aug 26, 2021 10:48 am Chris_McElligottPark Note Added: 0062776