Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: (PR#2534) civclient crash on FreeBSD 5.0
Home

[Freeciv-Dev] Re: (PR#2534) civclient crash on FreeBSD 5.0

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#2534) civclient crash on FreeBSD 5.0
From: "mwlucas@xxxxxxxxxxxxxxxxxxxx via RT" <rt@xxxxxxxxxxxxxx>
Date: Thu, 12 Dec 2002 04:49:12 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Wed, Dec 11, 2002 at 12:26:44PM -0800, Raimar Falke via RT wrote:
> This looks like you didn't compile with debug symbols or that you
> stripped your binary. Please make sure that "-g" is passed to the
> compiler. Make a backup of he civclient binary before you recompile.
> 
> Since we now also have the core dump the next question is: can you
> reproduce the problem? How?

I can reproduce this 100% of the time.

Start the server with "civserver."

Start up "civclient" and connect.  Pick any nation.

Build your first city, and let it start building the first unit
(warriors, phalanx, whatever.)

Play until that unit is complete.  Once that unit is built, fortify or
sentry it within the city.

The next turn, activate that unit.  The client pauses for a long
moment, then dumps core.

Here's the backtrace with -g and not stripped.

pedicular/usr/ports/games/freeciv-gtk/work/freeciv-1.13.0;gdb client/civclient 
/home/mwlucas/civ/civclient.core 
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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 "i386-undermydesk-freebsd"...
Core was generated by `civclient'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/local/lib/libintl.so.4...done.
Loaded symbols for /usr/local/lib/libintl.so.4
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/X11R6/lib/libgdk_imlib.so.5...done.
Loaded symbols for /usr/X11R6/lib/libgdk_imlib.so.5
Reading symbols from /usr/local/lib/libtiff.so.4...done.
Loaded symbols for /usr/local/lib/libtiff.so.4
Reading symbols from /usr/local/lib/libungif.so.5...done.
Loaded symbols for /usr/local/lib/libungif.so.5
Reading symbols from /usr/local/lib/libpng.so.5...done.
Loaded symbols for /usr/local/lib/libpng.so.5
Reading symbols from /usr/lib/libz.so.2...done.
Loaded symbols for /usr/lib/libz.so.2
Reading symbols from /usr/lib/libm.so.2...done.
Loaded symbols for /usr/lib/libm.so.2
Reading symbols from /usr/X11R6/lib/libgtk12.so.2...done.
Loaded symbols for /usr/X11R6/lib/libgtk12.so.2
Reading symbols from /usr/X11R6/lib/libgdk12.so.2...done.
Loaded symbols for /usr/X11R6/lib/libgdk12.so.2
Reading symbols from /usr/local/lib/libgmodule12.so.3...done.
Loaded symbols for /usr/local/lib/libgmodule12.so.3
Reading symbols from /usr/local/lib/libglib12.so.3...done.
Loaded symbols for /usr/local/lib/libglib12.so.3
Reading symbols from /usr/X11R6/lib/libXi.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/local/lib/libesd.so.2...done.
Loaded symbols for /usr/local/lib/libesd.so.2
Reading symbols from /usr/local/lib/libaudiofile.so.0...done.
Loaded symbols for /usr/local/lib/libaudiofile.so.0
Reading symbols from /usr/local/lib/libgnugetopt.so.1...done.
Loaded symbols for /usr/local/lib/libgnugetopt.so.1
Reading symbols from /usr/lib/libc.so.5...done.
Loaded symbols for /usr/lib/libc.so.5
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/local/lib/libjpeg.so.9...done.
Loaded symbols for /usr/local/lib/libjpeg.so.9
Reading symbols from /usr/X11R6/lib/X11/locale/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/xlcDef.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/common/ximcp.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/ximcp.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/common/xomGeneric.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/xomGeneric.so.2
Reading symbols from /usr/libexec/ld-elf.so.1...done.
Loaded symbols for /usr/libexec/ld-elf.so.1
#0  0x08091cb6 in popup_mes_close (dialog_shell=0x8444a00) at dialogs.c:1428
1428      if (GTK_IS_WIDGET(parent)) {
(gdb) bt
#0  0x08091cb6 in popup_mes_close (dialog_shell=0x8444a00) at dialogs.c:1428
#1  0x08091ea0 in popup_mes_handle_callback (widget=0x8423818, data=0x8444a00)
    at dialogs.c:1476
#2  0x2836e196 in gtk_marshal_NONE__NONE () from /usr/X11R6/lib/libgtk12.so.2
#3  0x283a7756 in gtk_handlers_run () from /usr/X11R6/lib/libgtk12.so.2
#4  0x283a68dc in gtk_signal_real_emit () from /usr/X11R6/lib/libgtk12.so.2
#5  0x283a40b2 in gtk_signal_emit () from /usr/X11R6/lib/libgtk12.so.2
#6  0x282f9ea2 in gtk_button_clicked () from /usr/X11R6/lib/libgtk12.so.2
#7  0x282fb90f in gtk_real_button_released () from /usr/X11R6/lib/libgtk12.so.2
#8  0x2836e196 in gtk_marshal_NONE__NONE () from /usr/X11R6/lib/libgtk12.so.2
#9  0x283a6755 in gtk_signal_real_emit () from /usr/X11R6/lib/libgtk12.so.2
#10 0x283a40b2 in gtk_signal_emit () from /usr/X11R6/lib/libgtk12.so.2
#11 0x282f9db2 in gtk_button_released () from /usr/X11R6/lib/libgtk12.so.2
#12 0x282fb147 in gtk_button_button_release ()
   from /usr/X11R6/lib/libgtk12.so.2
#13 0x2836ddc6 in gtk_marshal_BOOL__POINTER ()
   from /usr/X11R6/lib/libgtk12.so.2
#14 0x283a6928 in gtk_signal_real_emit () from /usr/X11R6/lib/libgtk12.so.2
#15 0x283a40b2 in gtk_signal_emit () from /usr/X11R6/lib/libgtk12.so.2
#16 0x283e5a77 in gtk_widget_event () from /usr/X11R6/lib/libgtk12.so.2
#17 0x2836dd15 in gtk_propagate_event () from /usr/X11R6/lib/libgtk12.so.2
#18 0x2836caaf in gtk_main_do_event () from /usr/X11R6/lib/libgtk12.so.2
#19 0x2842e78c in gdk_event_dispatch () from /usr/X11R6/lib/libgdk12.so.2
---Type <return> to continue, or q <return> to quit---
#20 0x2846234a in g_main_dispatch () from /usr/local/lib/libglib12.so.3
#21 0x2846291e in g_main_iterate () from /usr/local/lib/libglib12.so.3
#22 0x28462b04 in g_main_run () from /usr/local/lib/libglib12.so.3
#23 0x2836c3f7 in gtk_main () from /usr/X11R6/lib/libgtk12.so.2
#24 0x0809d1ba in ui_main (argc=1, argv=0xbfbff7a4) at gui_main.c:894
#25 0x080605ba in main (argc=1, argv=0xbfbff7a4) at civclient.c:216
#26 0x0805dde5 in _start ()
(gdb) quit





-- 
Michael Lucas           mwlucas@xxxxxxxxxxx, mwlucas@xxxxxxxxxxxxxxxxxxxx
http://www.oreillynet.com/pub/q/Big_Scary_Daemons

           Absolute BSD:   http://www.AbsoluteBSD.com/



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