[Freeciv-Dev] Re: (PR#11388) AutoReply: pubserver crash in send_unit_inf
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=11388 >
Mike Kaufman wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=11388 >
>
> On Tue, Dec 07, 2004 at 01:31:39PM -0800, Jason Short wrote:
>
>>- In frame 1 (send_unit_info) dest is NULL. This means
>>game.game_connections is passed in to send_unit_info_to_onlookers,
>>causing the obvious crash if there's an unattached player.
>
> what do you mean by "untattached player"? unattached connection?
Unattached user.
>>which is odd. game_connections includes only one connection, username
>>Huo, attached to player 1. But game.players[0].connections includes
>>only one connection, username snaill, not attached to any player and not
>>an observer. So it seems the list of connections may be corrupted.
>
> what do game.all_connections and game.est_connections say?
(gdb) p game.all_connections $9 = {list = {nelements = 1, head_link =
0x8909d88, tail_link = 0x8909d88}}
(gdb) p game.est_connections
$10 = {list = {nelements = 1, head_link = 0x896fb80, tail_link = 0x896fb80}}
-jason
|
|