Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2005:
[Freeciv-Dev] Re: (PR#13388) Server Crash on Load Saved Game
Home

[Freeciv-Dev] Re: (PR#13388) Server Crash on Load Saved Game

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#13388) Server Crash on Load Saved Game
From: "White Raven" <whraven@xxxxxxxxxxxxxxxx>
Date: Tue, 5 Jul 2005 07:51:56 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13388 >

> Your logic is correct but I'm not convinced it's not a bug that the
> connection isn't already detached.  Because if the connection is still
> attached here then we remove the conn list from the player but
> pconn->player still points at that player, meaning that now
> pconn->player is garbage.

That's what I was thinking when I made the comment about not knowing
whether the assertion should be removed or modified.  However, after
thinking about the state of the client, it seemed that you'd need to
detach, load the savegame, and reattach the client, and that didn't
sound likely.  I did look around for this sort of thing, but not knowing
the code as well as you guys, I figured it would be faster to try the
patch, which seemed to work fine, and someone more familiar with the
code would catch the implications.





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