View Issue Details

IDProjectCategoryLast Update
0023150AI War 2Crash/ExceptionApr 16, 2020 3:18 pm
ReporterParadoxSong Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version2.026 The Faction Duality Problem 
Fixed in VersionBeta 2.027 Planetary Mathematics 
Summary0023150: Index Exception: ExecutionContext
DescriptionMantis wiped my writeup again >.>

Notes: No quickstart used, Save reloaded many times without closing the game, and save is new on 2.026, not converted. On Steam, not GOG. On windows 10, as well.

Saves attached, before the error and at the error (popup already closed though)
If you notice the Sprite bug that happens, that's in the log too. I just couldn't reproduce it and didn't save when it happened so I'm not making a ticket.
TagsNo tags attached.

Activities

ParadoxSong

Apr 16, 2020 12:13 pm

reporter  

Autosave.16800.save (1,334,870 bytes)
OutOfIndexJustTriggered.save (1,398,948 bytes)
ArcenDebugLog.txt (861,396 bytes)

BadgerBadger

Apr 16, 2020 2:50 pm

manager   ~0056865

Error in thread for execution context 'executionContext'
ArgumentOutOfRangeException
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
===STACK FRAMES (with file info)===
FILE METHOD IL_OFFSET NATIVE_OFFSET LINE_NUMBER COLUMN_NUMBER
    ThrowArgumentOutOfRangeException 41 106 0 0
    ThrowArgumentOutOfRangeException 0 34 0 0
    RemoveIncomingShot 68 282 0 0
    SetTarget 32 138 0 0
    <DoCombatStepForPlanet>b__3 93 226 0 0
    DoForEntities 57 149 0 0
    DoForEntities 31 162 0 0
    DoCombatStepForPlanet 288 1306 0 0
    DoWorldStepLogic_FromSimBGThread 1195 3790 0 0
    Execute 186 487 0 0
===RAW STACK TRACE===
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.AIW2.Core.GameEntity_Squad.RemoveIncomingShot (Arcen.AIW2.Core.GameEntity_Shot shot) [0x00044] in <39e69c68937b46ad973ddaef9aa6ed2a>:0
  at Arcen.AIW2.Core.GameEntity_Shot.SetTarget (Arcen.AIW2.Core.GameEntity_Squad NewTargetSquad) [0x00020] in <39e69c68937b46ad973ddaef9aa6ed2a>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass31_0.<DoCombatStepForPlanet>b__3 (Arcen.AIW2.Core.GameEntity_Shot entity) [0x0005d] in <48c22b55adf7434aa490e24ce43b27e7>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Shot+ProcessorDelegate Processor) [0x00039] in <39e69c68937b46ad973ddaef9aa6ed2a>:0
  at Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Shot+ProcessorDelegate Processor) [0x0001f] in <39e69c68937b46ad973ddaef9aa6ed2a>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoCombatStepForPlanet (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.ArcenSimContext Context) [0x00120] in <48c22b55adf7434aa490e24ce43b27e7>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldStepLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x004ab] in <48c22b55adf7434aa490e24ce43b27e7>:0

Chris_McElligottPark

Apr 16, 2020 3:18 pm

administrator   ~0056866

Thanks!

* Fixed an exception that could happen in RemoveIncomingShot when multiple threads were racing

Issue History

Date Modified Username Field Change
Apr 16, 2020 12:13 pm ParadoxSong New Issue
Apr 16, 2020 12:13 pm ParadoxSong File Added: Autosave.16800.save
Apr 16, 2020 12:13 pm ParadoxSong File Added: Autosave.16800.savemet
Apr 16, 2020 12:13 pm ParadoxSong File Added: OutOfIndexJustTriggered.save
Apr 16, 2020 12:13 pm ParadoxSong File Added: OutOfIndexJustTriggered.savemet
Apr 16, 2020 12:13 pm ParadoxSong File Added: ArcenDebugLog.txt
Apr 16, 2020 2:50 pm BadgerBadger Note Added: 0056865
Apr 16, 2020 3:18 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Apr 16, 2020 3:18 pm Chris_McElligottPark Status new => resolved
Apr 16, 2020 3:18 pm Chris_McElligottPark Resolution open => fixed
Apr 16, 2020 3:18 pm Chris_McElligottPark Fixed in Version => Beta 2.027 Planetary Mathematics
Apr 16, 2020 3:18 pm Chris_McElligottPark Note Added: 0056866