Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] Re: (PR#3411) Core dump with sdl client
Home

[Freeciv-Dev] Re: (PR#3411) Core dump with sdl client

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#3411) Core dump with sdl client
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Thu, 13 Feb 2003 07:46:59 -0800

On Thu, Feb 13, 2003 at 03:12:36AM -0800, Raimar Falke wrote:
> 
> 
> With the attached patch I get this:
> (gdb) bt
> #0  0x402550a1 in kill () from /lib/libc.so.6
> #1  0x4009dfe6 in raise () from /lib/libpthread.so.0
> #2  0x40256364 in abort () from /lib/libc.so.6
> #3  0x4024f15d in __assert_fail () from /lib/libc.so.6
> #4  0x0809f068 in get_player_city_style () at city.c:1174
> #5  0x080640d1 in get_city_occupied_sprite (pcity=0x0) at tilespec.c:1141

These lines look wrong. I can't reproduce the error (I could reproduce
it before). My initial assumption was and still is that some code
overwrites player->city_style since I'm pretty sure that value sent
via player_info is valid. We should also asserts here.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "These download files are in Microsoft Word 6.0 format. After
  unzipping, these files can be viewed in any text editor, including
  all versions of Microsoft Word, WordPad, and Microsoft Word Viewer."
    -- http://www.microsoft.com/hwdev/pc99.htm




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