Crash cycling stances (Z) on a unit while it is killed. #2196

Closed
ihptru opened this Issue Jun 5, 2012 · 2 comments

Projects

None yet

2 participants

@ihptru
Member
ihptru commented Jun 5, 2012

Was CNC crash: Unhandled Exception: System.InvalidOperationException: Attempted to get trait from destroyed object (e3 168 (not in world))

$ openra
Platform is Linux
Using Cg renderer
Desktop resolution: 1280x800
No custom resolution provided, using desktop resolution
Using resolution: 1280x800
Available mods:
    cnc: C&C (release-20120504)
    ra: Red Alert (release-20120504)
Loading mods: ra
Loading mods: cnc

Unhandled Exception: System.InvalidOperationException: Attempted to get trait from destroyed object (e3 168 (not in world))
  at OpenRA.TraitDictionary.CheckDestroyed (OpenRA.Actor actor) [0x00000] in :0 
  at OpenRA.TraitDictionary.GetOrDefault[AutoTarget] (OpenRA.Actor actor) [0x00000] in :0 
  at OpenRA.Actor.TraitOrDefault[AutoTarget] () [0x00000] in :0 
  at OpenRA.Mods.RA.Widgets.WorldCommandWidget+c__AnonStorey121.<>m__2ED (OpenRA.Actor a) [0x00000] in :0 
  at System.Linq.Enumerable+c__Iterator10`2[OpenRA.Actor,OpenRA.Order].MoveNext () [0x00000] in :0 
  at System.Collections.Generic.List`1[OpenRA.Order].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in :0 
  at System.Collections.Generic.List`1[OpenRA.Order]..ctor (IEnumerable`1 collection) [0x00000] in :0 
  at System.Linq.Enumerable.ToArray[Order] (IEnumerable`1 source) [0x00000] in :0 
  at OpenRA.Mods.RA.Widgets.WorldCommandWidget.PerformKeyboardOrderOnSelection (System.Func`2 f) [0x00000] in :0 
  at OpenRA.Mods.RA.Widgets.WorldCommandWidget.PerformStanceCycle () [0x00000] in :0 
  at OpenRA.Mods.RA.Widgets.WorldCommandWidget.ProcessInput (KeyInput e) [0x00000] in :0 
  at OpenRA.Mods.RA.Widgets.WorldCommandWidget.HandleKeyPress (KeyInput e) [0x00000] in :0 
  at OpenRA.Widgets.Widget.HandleKeyPressOuter (KeyInput e) [0x00000] in :0 
  at OpenRA.Widgets.Widget.HandleKeyPressOuter (KeyInput e) [0x00000] in :0 
  at OpenRA.Widgets.Widget.HandleKeyPressOuter (KeyInput e) [0x00000] in :0 
  at OpenRA.Widgets.Widget.HandleKeyPressOuter (KeyInput e) [0x00000] in :0 
  at OpenRA.Widgets.Widget.HandleKeyPressOuter (KeyInput e) [0x00000] in :0 
  at OpenRA.Widgets.Ui.HandleKeyPress (KeyInput e) [0x00000] in :0 
  at OpenRA.DefaultInputHandler+c__AnonStorey21.<>m__23 () [0x00000] in :0 
  at OpenRA.Sync.CheckSyncUnchanged[Boolean] (OpenRA.World world, System.Func`1 fn) [0x00000] in :0 
  at OpenRA.DefaultInputHandler.OnKeyInput (KeyInput input) [0x00000] in :0 
  at OpenRA.Renderer.SdlCommon.SdlInput.PumpInput (IInputHandler inputHandler) [0x00000] in :0 
  at OpenRA.Renderer.Cg.GraphicsDevice.PumpInput (IInputHandler inputHandler) [0x00000] in :0 
  at OpenRA.Graphics.Renderer.EndFrame (IInputHandler inputHandler) [0x00000] in :0 
  at OpenRA.Graphics.Viewport.DrawRegions (OpenRA.Graphics.WorldRenderer wr, IInputHandler inputHandler) [0x00000] in :0 
  at OpenRA.Game.Tick (OpenRA.Network.OrderManager orderManager, OpenRA.Graphics.Viewport viewPort) [0x00000] in :0 
  at OpenRA.Game.Run () [0x00000] in :0 
  at OpenRA.Program.Run (System.String[] args) [0x00000] in :0 
  at OpenRA.Program.Main (System.String[] args) [0x00000] in :0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Attempted to get trait from destroyed object (e3 168 (not in world))
  at OpenRA.TraitDictionary.CheckDestroyed (OpenRA.Actor actor) [0x00000] in :0 
  at OpenRA.TraitDictionary.GetOrDefault[AutoTarget] (OpenRA.Actor actor) [0x00000] in :0 
  at OpenRA.Actor.TraitOrDefault[AutoTarget] () [0x00000] in :0 
  at OpenRA.Mods.RA.Widgets.WorldCommandWidget+c__AnonStorey121.<>m__2ED (OpenRA.Actor a) [0x00000] in :0 
  at System.Linq.Enumerable+c__Iterator10`2[OpenRA.Actor,OpenRA.Order].MoveNext () [0x00000] in :0 
  at System.Collections.Generic.List`1[OpenRA.Order].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in :0 
  at System.Collections.Generic.List`1[OpenRA.Order]..ctor (IEnumerable`1 collection) [0x00000] in :0 
  at System.Linq.Enumerable.ToArray[Order] (IEnumerable`1 source) [0x00000] in :0 
  at OpenRA.Mods.RA.Widgets.WorldCommandWidget.PerformKeyboardOrderOnSelection (System.Func`2 f) [0x00000] in :0 
  at OpenRA.Mods.RA.Widgets.WorldCommandWidget.PerformStanceCycle () [0x00000] in :0 
  at OpenRA.Mods.RA.Widgets.WorldCommandWidget.ProcessInput (KeyInput e) [0x00000] in :0 
  at OpenRA.Mods.RA.Widgets.WorldCommandWidget.HandleKeyPress (KeyInput e) [0x00000] in :0 
  at OpenRA.Widgets.Widget.HandleKeyPressOuter (KeyInput e) [0x00000] in :0 
  at OpenRA.Widgets.Widget.HandleKeyPressOuter (KeyInput e) [0x00000] in :0 
  at OpenRA.Widgets.Widget.HandleKeyPressOuter (KeyInput e) [0x00000] in :0 
  at OpenRA.Widgets.Widget.HandleKeyPressOuter (KeyInput e) [0x00000] in :0 
  at OpenRA.Widgets.Widget.HandleKeyPressOuter (KeyInput e) [0x00000] in :0 
  at OpenRA.Widgets.Ui.HandleKeyPress (KeyInput e) [0x00000] in :0 
  at OpenRA.DefaultInputHandler+c__AnonStorey21.<>m__23 () [0x00000] in :0 
  at OpenRA.Sync.CheckSyncUnchanged[Boolean] (OpenRA.World world, System.Func`1 fn) [0x00000] in :0 
  at OpenRA.DefaultInputHandler.OnKeyInput (KeyInput input) [0x00000] in :0 
  at OpenRA.Renderer.SdlCommon.SdlInput.PumpInput (IInputHandler inputHandler) [0x00000] in :0 
  at OpenRA.Renderer.Cg.GraphicsDevice.PumpInput (IInputHandler inputHandler) [0x00000] in :0 
  at OpenRA.Graphics.Renderer.EndFrame (IInputHandler inputHandler) [0x00000] in :0 
  at OpenRA.Graphics.Viewport.DrawRegions (OpenRA.Graphics.WorldRenderer wr, IInputHandler inputHandler) [0x00000] in :0 
  at OpenRA.Game.Tick (OpenRA.Network.OrderManager orderManager, OpenRA.Graphics.Viewport viewPort) [0x00000] in :0 
  at OpenRA.Game.Run () [0x00000] in :0 
  at OpenRA.Program.Run (System.String[] args) [0x00000] in :0 
  at OpenRA.Program.Main (System.String[] args) [0x00000] in :0 
@chrisforbes
Member

Updating title

@chrisforbes
Member

OK, this is a timing thing.

@chrisforbes chrisforbes was assigned Jun 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment