Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] Re: (PR#3024) Crash when starting a 2nd game with client
Home

[Freeciv-Dev] Re: (PR#3024) Crash when starting a 2nd game with client

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: kenn@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#3024) Crash when starting a 2nd game with client
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Feb 2003 15:38:14 -0800
Reply-to: rt@xxxxxxxxxxxxxx

kenn@xxxxxxxxxxxxxx wrote:
> On Wed, 2003-02-19 at 22:17, Jason Short wrote:
> 
>>[guest - Sat Feb  8 05:16:40 2003]:
>>
>>
>>>I played a game and died early on.  After death, I press End Turn twice
>>>until it was greyed out.  I quit civserver and started a new game,
>>>leaving the civclient running.  I reconnected the client, chose my
>>>nation, and when I pressed ok, I got a segmentation fault.
>>
>>Can you reproduce it under this patch?

> Yes.. On the first try even, and without playing a previous game with
> the same client.  I tried a couple of other games and they started
> without error.  Same location (GTK_IS_OBJECT):
> 
> (gdb) bt
> #0  0x40383092 in g_type_check_instance_is_a ()
>    from /usr/lib/libgobject-2.0.so.0
> #1  0x0808bb81 in races_by_name_callback (w=0x83c2398, data=0x0)
>     at dialogs.c:2046

OK.  Vasco thinks the problem is because of some odd GTK code right in 
the nation selection dialog (including the GTK_IS_OBJECT line); this 
code differs from the gui-gtk code for unknown reason.  We'll just have 
to see what he comes up with...

I was eventually able to reproduce this myself after starting 3-4 games 
with the same client.

jason




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