View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0026065 | AI War 2 | Crash/Exception | Jan 5, 2022 11:53 pm | Jan 6, 2022 4:11 pm | |
Reporter | BadgerBadger | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | Beta 3.780 Nomadic Ark Empires And The Hull System | ||||
Fixed in Version | Beta 3.781 Tachyon Healing Reversal | ||||
Summary | 0026065: Errors in DoFactionStepLogic_Stage1 and DoCombatStep | ||||
Description | This is from debugging the giant save in https://bugtracker.arcengames.com/view.php?id=26056 1/5/2022 9:51:49 PM 3.781 SINGLEP DELAYED9 TID34 Human DoFactionStepLogic_Stage1 error at debugStage 22300: System.IndexOutOfRangeException: index + length > size at System.Array.Clear (System.Array array, System.Int32 index, System.Int32 length) [0x00044] in <695d1cc93cca45069c528c15c9fdd749>:0 at Arcen.Universal.List`1[T].Clear (System.Boolean ClearArrayInnards) [0x0002c] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenCollections/Replacements/List.cs:761 at Arcen.AIW2.Core.Faction.ExecutePlannedMetalFlows (Arcen.Universal.FInt EffectiveDeltaTime_PausedOrUnpaused, System.Int32& outerdebugStage, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x001bc] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/Faction/Faction.cs:4529 at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage1_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00bff] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/Faction/Faction.cs:4335 1/5/2022 9:51:51 PM 3.781 SINGLEP DELAYED10 TID32 Schopenhauer DoCombatStepForPlanet error at debugStage 4200: System.IndexOutOfRangeException: index + length > size at System.Array.Clear (System.Array array, System.Int32 index, System.Int32 length) [0x00044] in <695d1cc93cca45069c528c15c9fdd749>:0 at Arcen.Universal.List`1[T].Clear (System.Boolean ClearArrayInnards) [0x0002c] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenCollections/Replacements/List.cs:761 at Arcen.AIW2.Core.GameEntity_Squad.DoEntityStepLogic_Ship (Arcen.Universal.FInt EffectiveDeltaTime, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context, System.Boolean DoShotsAllInstaHit) [0x00027] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/GameEntity_Squad.cs:3142 at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<DoCombatStepForPlanet>c__AnonStoreyC.<>m__0 (Arcen.AIW2.Core.GameEntity_Squad entity) [0x00045] in <28c4751194964a969970768f2a4a7c8e>:0 at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x0004d] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/EntityCollection.cs:815 at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoCombatStepForPlanet (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x001e6] in <28c4751194964a969970768f2a4a7c8e>:0 I was just running the save and looking at scourge-specific debug data | ||||
Tags | No tags attached. | ||||
|
That's a cross-threading error, which I can tell because it's an error on the array inside a list. That will be fixed by this: * Found a further place where the simulation was able to double-run on multiple threads if it was running slowly enough because of an extremely bogged-down sim world. ** I thought I had gotten all of these yesterday, and indeed it was better, but one area slipped through and was the genesis of a ton of random-seeming bugs. Thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
Jan 5, 2022 11:53 pm | BadgerBadger | New Issue | |
Jan 6, 2022 4:11 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Jan 6, 2022 4:11 pm | Chris_McElligottPark | Status | new => resolved |
Jan 6, 2022 4:11 pm | Chris_McElligottPark | Resolution | open => fixed |
Jan 6, 2022 4:11 pm | Chris_McElligottPark | Fixed in Version | => Beta 3.781 Tachyon Healing Reversal |
Jan 6, 2022 4:11 pm | Chris_McElligottPark | Note Added: 0063667 |