View Issue Details

IDProjectCategoryLast Update
0000187AI War 1 / ClassicCrash/ExceptionDec 20, 2010 9:08 pm
Reporterthemachineissentient Assigned Tokeith.lamothe  
Status minor fix for laterResolutionopen 
Product Version3.121-3.189 
Summary0000187: Unhandled exception: paint attack will kill the game if used by multiple thousands on multiple thousands
Descriptionhttp://www.arcengames.com/forums/index.php/topic,6588.0.html



I used paint attack to paint 6 ot 7 turret blobs with 4000 units. My game crashed.

07/08/2010 3:15:24 PM (3.1.7.5)
-----------------------------------Application_ThreadException-----------------------------------SlimDX.Direct3D9.Direct3D9Exception: E_OUTOFMEMORY: Ran out of memory (-2147024882)
   at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
   at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
   at SlimDX.Direct3D9.Sprite.Draw(Texture texture, Vector3 center, Vector3 position, Color4 color)
   at AIWar.Direct3DRenderer.DrawLineAngled(ArcenPoint P1, ArcenPoint P2, Single FullThickness, Int32 Color, Boolean UseViewportOffset, Boolean SkipIfAlreadyDrawn, Boolean DrawFuzzy) in C:\vcprojs\AIWar\Framework\Direct3DRenderer.cs:line 745
   at AIWar.ForegroundObject.RenderShipToShipLines(Direct3DRenderer R) in C:\vcprojs\AIWar\Framework\ForegroundObject.cs:line 12959
   at AIWar.Game.RenderShipToShipLines(List`1[] fgObjects) in C:\vcprojs\AIWar\GameFormParts\GamePanel.cs:line 3591
   at AIWar.Game.DrawDirect3D() in C:\vcprojs\AIWar\GameFormParts\GamePanel.cs:line 3559
   at AIWar.Game.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput) in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 2222
   at AIWar.Game.gameLoop() in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 300
   at AIWar.Game.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 286
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Yes, it is known that the current implementation of paint attack will kill the game if used by multiple thousands on multiple thousands. We have an alternate implementation planned, but in the meantime the workaround is "don't do that" Smiley
TagsNo tags attached.
Internal Weight

Activities

themachineissentient

Oct 3, 2010 4:56 pm

reporter   ~0000090

http://www.arcengames.com/forums/index.php/topic,5968.new.html#new

There is more discussion here.

Chris_McElligottPark

Oct 19, 2010 8:26 pm

administrator   ~0001441

This is even more the case now, but is pretty unavoidable. Deferred until post 4.0. Actually, the paint attack isn't even in 4.0, so that's solved for now. ;)

Issue History

Date Modified Username Field Change
Oct 3, 2010 4:17 pm themachineissentient New Issue
Oct 3, 2010 4:56 pm themachineissentient Note Added: 0000090
Oct 4, 2010 9:39 am keith.lamothe Assigned To => keith.lamothe
Oct 4, 2010 9:39 am keith.lamothe Status new => acknowledged
Oct 19, 2010 8:26 pm Chris_McElligottPark Note Added: 0001441
Oct 19, 2010 8:26 pm Chris_McElligottPark Status acknowledged => feature for later
Dec 20, 2010 9:08 pm Chris_McElligottPark Status feature for later => minor fix for later
Apr 14, 2014 9:27 am Chris_McElligottPark Category Bug - Crash or Exception => Crash/Exception