View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0026239 | AI War 2 | Crash/Exception | Feb 2, 2022 8:39 pm | Feb 4, 2022 5:13 pm | |
Reporter | slake-moth | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | Beta 3.792 Thread And Entity Sanity | ||||
Summary | 0026239: Tried to create an entity that was already in the central registry! ConcussionCorvette. | ||||
Description | 3.791 SINGLEP DELAYED15 TID28 20273 Tried to create an entity that was already in the central registry! ConcussionCorvette. Corrected to a fresh ID for now, but calling code should also be corrected to not do this. ID reuse that hits the central registry, even for transformation of units, leads to sim confusion. Either fix it to be resurrection-ready, or fix the calling code to not reuse the ID. Original squad type is: Concussion Corvette at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <597574b4c6d141518b11f51edcbbf916>:0 at Arcen.AIW2.Core.GameEntity_Squad.CreateNewWithExistingID_ReturnNullIfMPClient (System.Int32 ExistingPrimaryKeyID, Arcen.AIW2.Core.PlanetFaction PFaction, Arcen.AIW2.Core.GameEntityTypeData TypeData, System.Byte CurrentMarkLevel, Arcen.AIW2.Core.Fleet FleetOrNullIfNotShip, System.Int32 UniqueTypeDataDifferentiatorForDuplicatesOrZero, Arcen.Universal.ArcenPoint StartingLocation, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00000] in <f611ce42451f4fce91463ea64d103090>:0 at Arcen.AIW2.Core.TransportedShip.CreateGameEntity_SquadFromMe_OrNull (Arcen.AIW2.Core.GameEntity_Squad TransportShip, Arcen.AIW2.Core.FleetMembership TransportShipMembership, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00000] in <f611ce42451f4fce91463ea64d103090>:0 at Arcen.AIW2.External.GameCommand_UnloadTransports+<>c__DisplayClass0_1.<Execute>b__0 (Arcen.AIW2.Core.FleetMembership fleetMember) [0x00000] in <0f1ff40de9d4412e8ed7e3864488302d>:0 at Arcen.AIW2.Core.Fleet.DoForMemberGroupsUnsorted_Sim (Arcen.AIW2.Core.FleetMembership+ProcessorDelegate Processor) [0x00000] in <f611ce42451f4fce91463ea64d103090>:0 at Arcen.AIW2.External.GameCommand_UnloadTransports.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore context) [0x00000] in <0f1ff40de9d4412e8ed7e3864488302d>:0 at Arcen.AIW2.Core.GameCommand.Execute (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <f611ce42451f4fce91463ea64d103090>:0 at Arcen.AIW2.Core.World_AIW2.OnClientOrHost_ExecuteGameCommandsThatWereScheduled (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <f611ce42451f4fce91463ea64d103090>:0 at Arcen.AIW2.External.SimPlannerImplementation.ProcessCoreLogicForArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.Boolean& mayUpdateVisuals, System.String& reasonForNoVisualUpdates) [0x00000] in <0f1ff40de9d4412e8ed7e3864488302d>:0 at Arcen.AIW2.Core.Engine_AIW2.<ProcessArbitraryFrameOnMainThread>b__75_0 () [0x00000] in <f611ce42451f4fce91463ea64d103090>:0 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 Reloading previous saved game didn't cause error to reappear. | ||||
Tags | No tags attached. | ||||
|
2/4/2022 1:21:23 AM 3.792 SINGLEP DELAYED15 TID27 79442 Tried to create an entity that was already in the central registry! Persuader. Corrected to a fresh ID for now, but calling code should also be corrected to not do this. ID reuse that hits the central registry, even for transformation of units, leads to sim confusion. Either fix it to be resurrection-ready, or fix the calling code to not reuse the ID. Original squad type is: Persuader at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <e1e37b237c6b493eb4c463573b57b21e>:0 at Arcen.AIW2.Core.GameEntity_Squad.CreateNewWithExistingID_ReturnNullIfMPClient (System.Int32 ExistingPrimaryKeyID, Arcen.AIW2.Core.PlanetFaction PFaction, Arcen.AIW2.Core.GameEntityTypeData TypeData, System.Byte CurrentMarkLevel, Arcen.AIW2.Core.Fleet FleetOrNullIfNotShip, System.Int32 UniqueTypeDataDifferentiatorForDuplicatesOrZero, Arcen.Universal.ArcenPoint StartingLocation, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00000] in <32fc36845f2f490d846ab4d797dbca30>:0 at Arcen.AIW2.Core.TransportedShip.CreateGameEntity_SquadFromMe_OrNull (Arcen.AIW2.Core.GameEntity_Squad TransportShip, Arcen.AIW2.Core.FleetMembership TransportShipMembership, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00000] in <32fc36845f2f490d846ab4d797dbca30>:0 at Arcen.AIW2.External.GameCommand_UnloadTransports+<>c__DisplayClass0_1.<Execute>b__0 (Arcen.AIW2.Core.FleetMembership fleetMember) [0x00000] in <9d830d6767f64232b6eed7a410b594b9>:0 at Arcen.AIW2.Core.Fleet.DoForMemberGroupsUnsorted_Sim (Arcen.AIW2.Core.FleetMembership+ProcessorDelegate Processor) [0x00000] in <32fc36845f2f490d846ab4d797dbca30>:0 at Arcen.AIW2.External.GameCommand_UnloadTransports.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore context) [0x00000] in <9d830d6767f64232b6eed7a410b594b9>:0 at Arcen.AIW2.Core.GameCommand.Execute (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <32fc36845f2f490d846ab4d797dbca30>:0 at Arcen.AIW2.Core.World_AIW2.OnClientOrHost_ExecuteGameCommandsThatWereScheduled (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <32fc36845f2f490d846ab4d797dbca30>:0 at Arcen.AIW2.External.SimPlannerImplementation.ProcessCoreLogicForArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.Boolean& mayUpdateVisuals, System.String& reasonForNoVisualUpdates) [0x00000] in <9d830d6767f64232b6eed7a410b594b9>:0 at Arcen.AIW2.Core.Engine_AIW2.<ProcessArbitraryFrameOnMainThread>b__75_0 () [0x00000] in <32fc36845f2f490d846ab4d797dbca30>:0 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 2/4/2022 1:21:23 AM 3.792 SINGLEP DELAYED16 TID27 79034 Tried to create an entity that was already in the central registry! Mugger. Corrected to a fresh ID for now, but calling code should also be corrected to not do this. ID reuse that hits the central registry, even for transformation of units, leads to sim confusion. Either fix it to be resurrection-ready, or fix the calling code to not reuse the ID. Original squad type is: Mugger Frigate at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <e1e37b237c6b493eb4c463573b57b21e>:0 at Arcen.AIW2.Core.GameEntity_Squad.CreateNewWithExistingID_ReturnNullIfMPClient (System.Int32 ExistingPrimaryKeyID, Arcen.AIW2.Core.PlanetFaction PFaction, Arcen.AIW2.Core.GameEntityTypeData TypeData, System.Byte CurrentMarkLevel, Arcen.AIW2.Core.Fleet FleetOrNullIfNotShip, System.Int32 UniqueTypeDataDifferentiatorForDuplicatesOrZero, Arcen.Universal.ArcenPoint StartingLocation, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00000] in <32fc36845f2f490d846ab4d797dbca30>:0 at Arcen.AIW2.Core.TransportedShip.CreateGameEntity_SquadFromMe_OrNull (Arcen.AIW2.Core.GameEntity_Squad TransportShip, Arcen.AIW2.Core.FleetMembership TransportShipMembership, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00000] in <32fc36845f2f490d846ab4d797dbca30>:0 at Arcen.AIW2.External.GameCommand_UnloadTransports+<>c__DisplayClass0_1.<Execute>b__0 (Arcen.AIW2.Core.FleetMembership fleetMember) [0x00000] in <9d830d6767f64232b6eed7a410b594b9>:0 at Arcen.AIW2.Core.Fleet.DoForMemberGroupsUnsorted_Sim (Arcen.AIW2.Core.FleetMembership+ProcessorDelegate Processor) [0x00000] in <32fc36845f2f490d846ab4d797dbca30>:0 at Arcen.AIW2.External.GameCommand_UnloadTransports.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore context) [0x00000] in <9d830d6767f64232b6eed7a410b594b9>:0 at Arcen.AIW2.Core.GameCommand.Execute (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <32fc36845f2f490d846ab4d797dbca30>:0 at Arcen.AIW2.Core.World_AIW2.OnClientOrHost_ExecuteGameCommandsThatWereScheduled (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <32fc36845f2f490d846ab4d797dbca30>:0 at Arcen.AIW2.External.SimPlannerImplementation.ProcessCoreLogicForArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.Boolean& mayUpdateVisuals, System.String& reasonForNoVisualUpdates) [0x00000] in <9d830d6767f64232b6eed7a410b594b9>:0 at Arcen.AIW2.Core.Engine_AIW2.<ProcessArbitraryFrameOnMainThread>b__75_0 () [0x00000] in <32fc36845f2f490d846ab4d797dbca30>:0 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 |
|
Thanks! * Put in code to prevent exceptions from unloading a single unit more than once from a transport (before you'd just get an extra unit, now it's an error along with that), but now neither should happen and you should just get out what you put in. |
Date Modified | Username | Field | Change |
---|---|---|---|
Feb 2, 2022 8:39 pm | slake-moth | New Issue | |
Feb 4, 2022 1:26 am | slake-moth | Note Added: 0064100 | |
Feb 4, 2022 12:18 pm | BadgerBadger | Product Version | Beta 3.791 Network Defragmentation => Beta 3.792 Thread And Entity Sanity |
Feb 4, 2022 5:13 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Feb 4, 2022 5:13 pm | Chris_McElligottPark | Status | new => resolved |
Feb 4, 2022 5:13 pm | Chris_McElligottPark | Resolution | open => fixed |
Feb 4, 2022 5:13 pm | Chris_McElligottPark | Note Added: 0064110 |