[Freeciv-Dev] Core dump with latest CVS build
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi folks.
I just cvs update'd, make'd, and tried the client. Sadly, it dumps core
just as the game starts. Details:
* Code from the CVS repo as of 2130 PDT.
* Problem in both gui-gtk and gui-xaw
To repro:
(1) Start civclient, civserver.
(2) Connect civclient to civserver.
(3) Start a new game.
(4) Select a race.
(5) Watch as core is dumped.
A stack trace of the Gtk client reveals:
(gdb) bt
#0 0x8074745 in set_bulb_sol_government (bulb=0, sol=0, government=1) at
mapview.c:444
#1 0x8074201 in update_info_label () at mapview.c:264
#2 0x805f0ff in handle_player_info (pinfo=0x8194a00) at packhand.c:726
#3 0x805a2fa in handle_packet_input (packet=0x8194a00 "", type=11) at
civclient.c:170
#4 0x805acaf in input_from_server (fid=6) at clinet.c:176
#5 0x8070717 in get_net_input (data=0x0, fid=6, condition=GDK_INPUT_READ) at
gui_main.c:716
#6 0x40149c02 in gdk_io_invoke (source=0x8171268, condition=G_IO_IN,
data=0x8173dd8) at gdkevents.c:878
#7 0x401744d2 in g_io_unix_dispatch (source_data=0x81690b0,
current_time=0xbffff434, user_data=0x8173dd8)
at giounix.c:135
#8 0x40175c13 in g_main_dispatch (current_time=0xbffff434) at gmain.c:656
#9 0x401761fb in g_main_iterate (block=1, dispatch=1) at gmain.c:874
#10 0x4017637d in g_main_run (loop=0x81690d0) at gmain.c:932
#11 0x400ab99f in gtk_main () at gtkmain.c:476
#12 0x8070705 in ui_main (argc=1, argv=0xbffff4ec) at gui_main.c:708
#13 0x805a133 in main (argc=1, argv=0xbffff4ec) at civclient.c:123
#14 0x8059f8b in ___crt_dummy__ ()
(gdb) list
439 struct Sprite *gov_sprite;
440
441 bulb = CLIP(0, bulb, NUM_TILES_PROGRESS-1);
442 sol = CLIP(0, sol, NUM_TILES_PROGRESS-1);
443
444 gtk_pixmap_set(GTK_PIXMAP(bulb_label), sprites.bulb[bulb]->pixmap,
NULL);
445
446 gtk_pixmap_set(GTK_PIXMAP(sun_label), sprites.warming[sol]->pixmap,
NULL);
447
448 if (game.government_count==0) {
(gdb) print sprites.bulb
$1 = {0x3, 0x814cd50, 0x814cde8, 0x814ce80, 0x814cf18, 0x814cf78, 0x811c148,
0x811be68}
(gdb) print bulb
$2 = 0
(gdb)
Does anyone else have this problem? Better yet, can anyone (help me) fix
this?
Thanks,
Corey
- [Freeciv-Dev] Core dump with latest CVS build,
Corin Anderson <=
|
|