Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2002:
[Freeciv-Dev] Re: crash on "quit"
Home

[Freeciv-Dev] Re: crash on "quit"

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: crash on "quit"
From: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 28 Sep 2002 09:16:04 -0500

On Sat, Sep 28, 2002 at 01:45:10PM +0200, Christian Knoke wrote:
> After quitting the server, civclient's connect windows appears.
> When I click on "Quit", it freezes, consuming lot cpu time.
> 
> In an attempt to reproduce it, current civclient crashed on "Quit":
> 
> (gdb) bt
> #0  0x403a5a0c in chunk_free () from /lib/libc.so.6
> #1  0x403a59a3 in free () from /lib/libc.so.6
> #2  0x080f9506 in cma_free () at cma_core.c:1915
> #3  0x080f4450 in agents_free () at agents.c:309
> #4  0x0806363f in client_game_free () at civclient.c:596
> #5  0x08062f59 in main (argc=5, argv=0xbffff624) at civclient.c:232
> #6  0x4034e7ee in __libc_start_main () from /lib/libc.so.6
> 
> Christian

I just committed a patch that I believe fixes this.

I was able to reproduce this bug by setting seed and randseed to 4 and 5
and then 

starting a game, 
building a city, 
ending the turn, 
quitting server,
quitting out of connect dialog.

-mike


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