Author Topic: Crashing While Hosting/Loading  (Read 309 times)

Offline Spikey00

  • Lord of just 5 Colony Ships
  • Master Member Mark II
  • *****
  • Posts: 1,680
  • "Does this white background make me look obtuse?"
    • View Profile
    • Spikey00's Community Forums
Crashing While Hosting/Loading
« on: July 28, 2010, 05:27:23 PM »
Weird... problem seems to have disappeared after RETRYING the first dialog and RETRYING [a dialog for a JIT debugger], though I might as well post this if the problem is to reoccur.

--

All caused by attempting to host or load a savegame; reinstall did not help.

Quote from: Sample of dialog immediately when hosting
Assertion Failed

Trying to read past the buffer size - likely caused by mismatching Write/Reads, different size or order.
at NetBuffer.ReadUint16()
at IncomingNetMessage.ReadFrom(NetBuffer buffer, IPEndPoint endpoint)
at NetBase.BaseHeartbeat(Double now)
at NetServer.Heartbeat()
at NetBase.Run()
at ThreadHelper.ThreadStart_Context(Object state)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at ThreadHelper.ThreadStart()


28/07/2010 4:03:50 PM (3.1.7.2)
-----------------------------------Application_ThreadException-----------------------------------System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at AIWar.Game.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 24
   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)

Savegame loading:

28/07/2010 4:06:21 PM (3.1.7.2)
-----------------------------------Application_ThreadException-----------------------------------SlimDX.Direct3D9.Direct3D9Exception: D3DERR_INVALIDCALL: Invalid call (-2005530516)
   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.Device.BeginScene()
   at AIWar.Direct3DWrapper.BeginScene()
   at AIWar.Game.DrawDirect3D()
   at AIWar.Game.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput)
   at AIWar.Game.gameLoop()
   at AIWar.Game.GameForm_Load(Object sender, EventArgs e)
   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)
28/07/2010 4:19:11 PM (3.1.7.2)
-----------------------------------Application_ThreadException-----------------------------------SlimDX.Direct3D9.Direct3D9Exception: D3DERR_INVALIDCALL: Invalid call (-2005530516)
   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.Device.BeginScene()
   at AIWar.Direct3DWrapper.BeginScene()
   at AIWar.Game.DrawDirect3D()
   at AIWar.Game.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput)
   at AIWar.Game.gameLoop()
   at AIWar.Game.GameForm_Load(Object sender, EventArgs e)
   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)
Be wary of the Mossy Barrel and Purple Men Alliance
AI War Web IRC / irc.rtsnet.org/aiwar
AI War Facebook Page
AI War Steam Group

Offline x4000

  • Chris Park, Arcen Games Founder and Lead Dev
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 21,108
    • View Profile
    • Email
Re: Crashing While Hosting/Loading
« Reply #1 on: July 29, 2010, 10:14:46 AM »
Hmmm. So the problem is fixed now, yes?  It looks like your network card was getting some bad data on the port that AI War is on...
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!