Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: segfault when clicking 'Change' in Cities window (PR#1
Home

[Freeciv-Dev] Re: segfault when clicking 'Change' in Cities window (PR#1

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: kimiko@xxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: segfault when clicking 'Change' in Cities window (PR#1299)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Mar 2002 20:38:35 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Tue, Mar 05, 2002 at 11:21:10AM -0800, kimiko@xxxxxxxxx wrote:
> Full_Name: Kimiko Koopman
> Version: 1.12.1-devel gui-gtk
> Distribution: Built from source
> Client: Gtk+
> OS: Linux 2.4.17-0.18, RedHat RawHide, i686
> Submission from: (NULL) (213.84.28.102)
> 
> 
> Late in the game (I have Armor and Battleship), the client crashes when I 
> click
> the 'Change' button in the Cities window. I have had this bug since at least a
> few weeks and it always occurs late in the game (tech-wise, I haven't 
> conquered
> a lot yet) and whether I have selected one or more cities. When I reconnect
> after starting the client again, the same thing happens. When I save the game
> from the server and restart both the server and the client, the bug still
> occurs.
> 
> Here is some output from gdb:
> >Program received signal SIGSEGV, Segmentation fault.
> >0x080bc571 in get_unit_name (id=27) at unittype.c:223
> >223      my_snprintf(buffer, sizeof(buffer),
> >(gdb) bt
> >#0  0x080bc571 in get_unit_name (id=27) at unittype.c:223

There is nothing in get_unit_name which can crash with id=27. ptype is
always !=NULL, buffer is always there.

Please send the savegame.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Using only the operating-system that came with your computer is just
  like only playing the demo-disc that came with your CD-player."


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