Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] (PR#4124) Core dump because map.tiles isn't set up
Home

[Freeciv-Dev] (PR#4124) Core dump because map.tiles isn't set up

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#4124) Core dump because map.tiles isn't set up
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Thu, 1 May 2003 09:26:11 -0700
Reply-to: rt@xxxxxxxxxxxxxx


CVS, GTK2

The attached game is extracted from PR#4101. I changed the ruleset
from zalt to default. Login as joshua and start the game. You get a
core dump:

#0  set_worker_city (pcity=0x84166c8, city_x=2, city_y=0, type=C_TILE_WORKER)
    at city.c:174
174           ptile->worked = pcity;
(gdb) bt
#0  set_worker_city (pcity=0x84166c8, city_x=2, city_y=0, type=C_TILE_WORKER)
    at city.c:174
#1  0x08063d4e in handle_city_info (packet=0x8416428) at packhand.c:441
#2  0x08055124 in handle_packet_input (packet=0x8416428, type=10)
    at civclient.c:310
#3  0x08058939 in input_from_server (fd=5) at clinet.c:329
#4  0x40241e26 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#5  0x403ad831 in g_io_unix_dispatch () from /usr/lib/libglib-2.0.so.0
#6  0x4038edd3 in g_main_dispatch () from /usr/lib/libglib-2.0.so.0
#7  0x4038fc51 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#8  0x40390011 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#9  0x40390720 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#10 0x400db2b3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x08088ff5 in ui_main (argc=1, argv=0xbffff1e4) at gui_main.c:1123
#12 0x08054af0 in main (argc=1, argv=0xbffff1e4) at civclient.c:239
#13 0x404221c4 in __libc_start_main () from /lib/libc.so.6
(gdb) p map.tiles
$1 = (struct tile *) 0x0

Reason unknown.

        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

Attachment: civgame+1938.sav.gz
Description: civgame+1938.sav.gz


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