View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0026116 | AI War 2 | Crash/Exception | Jan 14, 2022 12:55 am | Jan 14, 2022 10:05 pm | |
Reporter | BadgerBadger | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | Beta 3.784 Tractor Recursion | ||||
Fixed in Version | Beta 3.785 Just Bugfixes | ||||
Summary | 0026116: MP: Exception and memory leak in scouting after command station death | ||||
Description | This seems to have been hit when using "scrub foes" from a MP client 1/13/2022 10:39:22 PM 3.784 CLIENT DELAYED52481 TID64 Exception in BaseScenario.DoOnAnyDeathLogic_HostOnly stage 100 System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.External.BaseScenario.DoScoutingAfterCommandStationDeath (Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.AIW2.Core.Planet planetInQuestion) [0x000fc] in <82c1dc73504e45f2b9eff8e4476ffd27>:0 at Arcen.AIW2.External.BaseScenario.Helper_DoAutoDeathOnCommandStationDeath (Arcen.AIW2.Core.GameEntity_Squad entity, Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull) [0x000da] in <82c1dc73504e45f2b9eff8e4476ffd27>:0 at Arcen.AIW2.External.BaseScenario.DoOnAnyDeathLogic_HostOnly_AfterFullDeathOrPartOfStackDeath (System.Boolean IsFromOnlyPartOfStackDying, Arcen.AIW2.Core.GameEntity_Squad entity, Arcen.AIW2.Core.DamageSource Damage, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, System.Int32 numExtraStacksKilled, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00026] in <82c1dc73504e45f2b9eff8e4476ffd27>:0 at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00042] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/Debug/ArcenDebugging.cs:242 at Arcen.AIW2.External.BaseScenario.DoOnAnyDeathLogic_HostOnly_AfterFullDeathOrPartOfStackDeath (System.Boolean IsFromOnlyPartOfStackDying, Arcen.AIW2.Core.GameEntity_Squad entity, Arcen.AIW2.Core.DamageSource Damage, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, System.Int32 numExtraStacksKilled, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00000] in <82c1dc73504e45f2b9eff8e4476ffd27>:0 at Arcen.AIW2.Core.GameEntity_Squad.DoOnAnyDeathInCombatLogic_AfterFullDeathOrPartOfStackDeath (System.Boolean IsFromOnlyPartOfStackDying, Arcen.AIW2.Core.DamageSource Damage, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, System.Int32 numStacksKilled, Arcen.AIW2.Core.ArcenSimContextAnyStatus Context) [0x00077] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/GameEntity_Squad.cs:6607 at Arcen.AIW2.Core.GameEntity_Squad.DoOnDeathInCombatLogic_OnlyAferFullStackDeath (Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, Arcen.AIW2.Core.DamageSource Damage, System.Int32 numStacksKilled, Arcen.AIW2.Core.ArcenSimContextAnyStatus Context) [0x0003f] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/GameEntity_Squad.cs:6570 at Arcen.AIW2.Core.GameEntity_Squad.DoOnDestructionLogic (System.Boolean PreventReversionToNeutral, Arcen.AIW2.Core.DamageSource Damage, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, System.Boolean wasAlive, System.Int32 numStacksKilled, Arcen.AIW2.Core.ArcenSimContextAnyStatus Context) [0x001ef] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/GameEntity_Squad.cs:6242 at Arcen.AIW2.Core.GameEntity_Squad.TakeDamageDirectly (System.Int32 DamageAmount, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, Arcen.AIW2.Core.IShotHitSource ShotSourceThatHitOrNullOnlyUsedForKnockback, Arcen.AIW2.Core.DamageSource Damage, System.Boolean PreventReversionToNeutral, System.Boolean HonorFiniteHitCountAOE, System.Int32 MaxStacksAllowedToKill, System.Int32 CompressedShots, System.Int32 ExtraStacksOfSource, System.Boolean OnlyDamageShieldNotHull, System.Int32& ActualDamageDone, System.Int32& ActualHitEvents, System.Int32& DamageAbortCode, Arcen.AIW2.Core.ArcenSimContextAnyStatus Context, Arcen.Universal.ArcenCharacterBuffer traceBuffer) [0x0107a] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/GameEntity_Squad.cs:5962 at Arcen.AIW2.Core.GameEntity_Squad.Die (Arcen.AIW2.Core.ArcenSimContextAnyStatus Context, System.Boolean PreventReversionToNeutral, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull) [0x00022] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/GameEntity_Squad.cs:5490 at Arcen.AIW2.External.CheatsAndCommands+<ProcessCheatOrCommandText>c__AnonStorey7.<>m__0 (Arcen.AIW2.Core.GameEntity_Squad entity) [0x00000] in <82c1dc73504e45f2b9eff8e4476ffd27>: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.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x0002a] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/Mapping/Planet.cs:2876 at Arcen.AIW2.External.CheatsAndCommands.ProcessCheatOrCommandText (System.String CameFrom, System.String RawText, Arcen.AIW2.Core.Planet OnPlanet, Arcen.AIW2.Core.Faction PlayerFactionIssuingCommand, Arcen.Universal.PlayerAccount PlayerAccountIssuingCommand, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <82c1dc73504e45f2b9eff8e4476ffd27>:0 at Arcen.AIW2.External.GameCommand_ChatCommand.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore context) [0x00000] in <82c1dc73504e45f2b9eff8e4476ffd27>:0 at Arcen.AIW2.Core.GameCommand.Execute (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00061] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/GameCommand.cs:426 at Arcen.AIW2.Core.World_AIW2.OnClientOrHost_ExecuteGameCommandsThatWereScheduled (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000db] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/World_AIW2.cs:3913 at Arcen.AIW2.External.SimPlannerImplementation.ProcessCoreLogicForArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.Boolean& mayUpdateVisuals, System.String& reasonForNoVisualUpdates) [0x00000] in <82c1dc73504e45f2b9eff8e4476ffd27>:0 at Arcen.AIW2.Core.Engine_AIW2.<ProcessArbitraryFrameOnMainThread>m__F () [0x00016] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Engine_AIW2.cs:1496 at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Threading.Tasks.Task.Execute () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [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.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 1/13/2022 10:39:33 PM 3.784 CLIENT DELAYED52483 TID85 Memory leak detected at RapidAntiLeakPoolable 'BaseScenario-DoScoutingAfterCommandStationDeath-planetsToExplore' of type Arcen.Universal.List`1[Arcen.AIW2.Core.Planet] | ||||
Tags | No tags attached. | ||||
|
Thanks! * Fixed some cross-threading nullref exceptions that could happen if the timing was just wrong when certain enemies died, and which would also then lead to spurious memory leak warnings. |
Date Modified | Username | Field | Change |
---|---|---|---|
Jan 14, 2022 12:55 am | BadgerBadger | New Issue | |
Jan 14, 2022 12:55 am | BadgerBadger | Status | new => assigned |
Jan 14, 2022 12:55 am | BadgerBadger | Assigned To | => Chris_McElligottPark |
Jan 14, 2022 10:05 pm | Chris_McElligottPark | Status | assigned => resolved |
Jan 14, 2022 10:05 pm | Chris_McElligottPark | Resolution | open => fixed |
Jan 14, 2022 10:05 pm | Chris_McElligottPark | Fixed in Version | => Beta 3.785 Just Bugfixes |
Jan 14, 2022 10:05 pm | Chris_McElligottPark | Note Added: 0063798 |