Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] Re: (PR#8585) client crash in packets code
Home

[Freeciv-Dev] Re: (PR#8585) client crash in packets code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8585) client crash in packets code
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Sun, 25 Apr 2004 11:09:11 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8585 >

On Sun, Apr 25, 2004 at 12:02:14AM -0700, Jason Short wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8585 >
> 
> I started a game through the conndlg, then (after nation selection) 
> immediately disconnected.  I started another, and (when I pressed the 
> "start" button) the client immediately crashed.
> 
> This seems to be reproducable.  But if I connect to a network game in 
> between I can then go back and launch another game.

The reason is that you try to send using a closed connection. After
connection_common_close() you have to call connection_common_init() to
use the connection again.

So try to find the error in some upper layers.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Despite all the medical advances of the 20th century, the mortality 
  rate remains unchanged at 1 death per person."




[Prev in Thread] Current Thread [Next in Thread]