Complete.Org: Mailing Lists: Archives: freeciv-dev: September 1999:
[Freeciv-Dev] Re: Core dump with latest CVS build
Home

[Freeciv-Dev] Re: Core dump with latest CVS build

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: corin@xxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Core dump with latest CVS build
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Tue, 21 Sep 1999 22:32:49 +1000 (EST)

Corin Anderson wrote:
> 
>   I just cvs update'd, make'd, and tried the client.  Sadly, it dumps core
> just as the game starts.  Details:
> 
> * Code from the CVS repo as of 2130 PDT.
> * Problem in both gui-gtk and gui-xaw
> 
> To repro:
> 
> (1) Start civclient, civserver.
> (2) Connect civclient to civserver.
> (3) Start a new game.
> (4) Select a race.
> (5) Watch as core is dumped.
> 
> A stack trace of the Gtk client reveals:
> 
> (gdb) bt
> #0  0x8074745 in set_bulb_sol_government (bulb=0, sol=0, government=1) at 
> mapview.c:444
> #1  0x8074201 in update_info_label () at mapview.c:264
> #2  0x805f0ff in handle_player_info (pinfo=0x8194a00) at packhand.c:726

I couldn't reproduce this with either client, but I just checked
in a patch which _may_ help: in only calls update_info_label()
from handle_player_info() if the game is already running.

This may be related to bug PR#128, which I think is also fixed 
by this (but that one I could reproduce).

-- David

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