Author Topic: Crash in lobby 1.202D  (Read 2241 times)

Offline liq3

  • Sr. Member
  • ****
  • Posts: 320
Crash in lobby 1.202D
« on: September 06, 2009, 12:25:28 pm »
Ok, I think this happened when someone tried to join. I may have been alt-tabbed.

-----------------------------------Application_ThreadException-----------------------------------System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at Lidgren.Network.NetServer.AddConnection(Double now, NetConnection conn) in C:\vcother\lidgren-network\2009-7-07\lidgren-network\Lidgren.Network\NetServer.cs:line 329
   at Lidgren.Network.NetConnection.Approve(Byte[] localHailData) in C:\vcother\lidgren-network\2009-7-07\lidgren-network\Lidgren.Network\NetConnection.Approval.cs:line 36
   at Lidgren.Network.NetConnection.Approve() in C:\vcother\lidgren-network\2009-7-07\lidgren-network\Lidgren.Network\NetConnection.Approval.cs:line 14
   at AIWar.NetworkServerWrapper.CheckServer() in C:\vcprojs\AIWar\DX\NetworkServerWrapper.cs:line 147
   at AIWar.GameForm.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput) in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 535
   at AIWar.GameForm.gameLoop() in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 220
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 253
   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)


Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Crash in lobby 1.202D
« Reply #1 on: September 17, 2009, 07:54:19 pm »
I can't duplicate this, and no one else has reported this.  It seems to be something internal in the lidgren library, but from what I can tell so far it seems to be a fluke.  For now I am just going to leave this on the tech support forum as an open issue so that anyone else can comment if they see it.  At worst this is a super-rare issue, from the looks of it, but it may have been fixed in subsequent prereleases in a roundabout way.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!