Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2002:
[Freeciv-Dev] Patched Gtk client core
Home

[Freeciv-Dev] Patched Gtk client core

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Patched Gtk client core
From: Christian Knoke <chrisk@xxxxxxxx>
Date: Thu, 5 Sep 2002 18:48:31 +0200

CVS 05 SEP 2002 Gtk+ 1.2 patched

This is a reproducible core dump, but since it does not happen 
with clean CVS version for me, but a patched one, I post it here.

Maybe the author of the patch recognizes his code from the
backtrace below.

'Reproducible' also is somewhat relative, since you have to
give it several shots to crash it.

This is the list of patches I currently use:

diffs/connect2.diff
own/celebrate-fix1a.diff
own/diplodlg_submenus1a.diff
own/citysort-fix1.diff
diffs/finale_map_display.patch
diffs/connect2.1.diff

The backtrace:

While moving with a cruiser into the unknown:

(gdb) bt
#0  0x080d2a26 in improvement_redundant (pplayer=0x81ec48c, pcity=0x90da2b0, 
id=7, 
    want_to_build=0) at improvement.c:386
#1  0x080d02f3 in update_all_effects () at game.c:1082
#2  0x08072e51 in try_update_effects (need_update=1) at packhand.c:265
#3  0x08073e6e in handle_short_city (packet=0x90dc108) at packhand.c:642
#4  0x08062f4c in handle_packet_input (packet=0x90dc108, type=83) at 
civclient.c:306
#5  0x08067683 in input_from_server (fd=6) at clinet.c:335
#6  0x080a7272 in get_net_input (data=0x0, fid=6, condition=GDK_INPUT_READ) at 
gui_main.c:1060
#7  0x40193934 in gdk_io_invoke () from /usr/lib/libgdk-1.2.so.0
#8  0x401c53b0 in g_io_unix_dispatch () from /usr/lib/libglib-1.2.so.0
#9  0x401c6c46 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#10 0x401c7273 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#11 0x401c743c in g_main_run () from /usr/lib/libglib-1.2.so.0
#12 0x400df76c in gtk_main () from /usr/lib/libgtk-1.2.so.0
#13 0x080a6cdb in ui_main (argc=5, argv=0xbffff604) at gui_main.c:897
#14 0x08062dd6 in main (argc=5, argv=0xbffff604) at civclient.c:233
#15 0x4034d7ee in __libc_start_main () from /lib/libc.so.6
(gdb) 

How to reproduce:

Savegame is here:

http://www.enter.de/~c.knoke/bugs/gtkcore1.sav.gz

join multiplayer game as chris (start civserver seperately).
destroy caravelle with cruiser
move cruiser W or SW
quit and restart civserver (keep civclient running)
repeat about 2 times

Is this usefull at all?

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Patched Gtk client core, Christian Knoke <=