Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] (PR#12509) Crash when selecting a unit in the city dialog
Home

[Freeciv-Dev] (PR#12509) Crash when selecting a unit in the city dialog

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12509) Crash when selecting a unit in the city dialog
From: "Johan Thelin" <e8johan@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Mar 2005 03:26:23 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12509 >

Hi!

I'm using Freeciv 2.0, beta 7. When I click on a one of the city's units in 
the city dialog, I get a segfault. Backtrace and gdb log below:

[e8johan@c213-100-203-78 civ]$ gdb ../bin/civclient
GNU gdb 6.0-2mdk (Mandrake Linux)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-mandrake-linux-gnu"...Using host 
libthread_db library "/lib64/tls/libthread_db.so.1".

(gdb) run
Starting program: /home/e8johan/bin/civclient
[Thread debugging using libthread_db enabled]
[New Thread 182920165376 (LWP 17559)]
1: Cannot find sound spec-file "stdsounds".
1: To get sound you need to download a sound set!
1: Get sound sets from <ftp://ftp.freeciv.org/freeciv/contrib/sounds/sets>.
1: Will continue with disabled sounds.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182920165376 (LWP 17559)]
0x0000002a96938c10 in strlen () from /lib64/tls/libc.so.6
(gdb) bt
#0  0x0000002a96938c10 in strlen () from /lib64/tls/libc.so.6
#1  0x0000002a9582b8e7 in gtk_label_parse_uline () 
from /usr/lib64/libgtk-1.2.so.0
#2  0x00000000004cb2e6 in gtk_accelbutton_new (label=0x2a00000000 <Address 
0x2a00000000 out of bounds>, accel=0x84f130)
    at gui_stuff.c:143
#3  0x00000000004c1a4e in base_popup_message_dialog (parent=Variable "parent" 
is not available.
) at dialogs.c:1401
#4  0x00000000004c1de2 in popup_message_dialog (parent=0x890920, 
dialogname=0x4f7628 "Unit Commands",
    text=0xa47ba0 "Workers (green)\n\nMoves: 1\nfrom Hannover\nnear 
Gelsenkirchen",
    close_callback=0x4c45f0 <dummy_close_callback>, close_callback_data=0x0) 
at dialogs.c:1460
#5  0x00000000004b56e5 in supported_unit_callback (w=Variable "w" is not 
available.
) at citydlg.c:2366
#6  0x0000002a958371ae in gtk_marshal_BOOL__POINTER () 
from /usr/lib64/libgtk-1.2.so.0
#7  0x0000002a95868dc8 in gtk_signal_remove_emission_hook () 
from /usr/lib64/libgtk-1.2.so.0
#8  0x0000002a95868132 in gtk_signal_set_funcs () 
from /usr/lib64/libgtk-1.2.so.0
#9  0x0000002a95865e0c in gtk_signal_emit () from /usr/lib64/libgtk-1.2.so.0
#10 0x0000002a9589edef in gtk_widget_event () from /usr/lib64/libgtk-1.2.so.0
#11 0x0000002a95837065 in gtk_propagate_event () 
from /usr/lib64/libgtk-1.2.so.0
#12 0x0000002a958362c9 in gtk_main_do_event () from /usr/lib64/libgtk-1.2.so.0
#13 0x0000002a95a0bc12 in gdk_wm_protocols_filter () 
from /usr/lib64/libgdk-1.2.so.0
#14 0x0000002a95c44429 in g_get_current_time () 
from /usr/lib64/libglib-1.2.so.0
#15 0x0000002a95c44ab1 in g_get_current_time () 
from /usr/lib64/libglib-1.2.so.0
#16 0x0000002a95c44b8f in g_main_run () from /usr/lib64/libglib-1.2.so.0
#17 0x0000002a95835c2e in gtk_main () from /usr/lib64/libgtk-1.2.so.0
#18 0x00000000004ca925 in ui_main (argc=Variable "argc" is not available.
) at gui_main.c:961
#19 0x000000000042a1c0 in main (argc=1, argv=0x7fbffff418) at civclient.c:332

BR/Johan Thelin





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12509) Crash when selecting a unit in the city dialog, Johan Thelin <=