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

Hi,
I couldn't reproduce the server crash right now (last time it occured
every first turn), but I found a client crash which occured when I
clicked on "Intelligence" in the "player"-menu.

Here's the backtrace:

GNU gdb 6.5
Copyright (C) 2006 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 "x86_64-suse-linux"...Using host libthread_db
library "/lib64/libthread_db.so.1".

(gdb) run
Starting program: /usr/local/bin/civclient
[Thread debugging using libthread_db enabled]
[New Thread 47143282715792 (LWP 4819)]
2: No real audio plugin present, proceeding with sound support disabled
2: For sound support, install SDL_mixer
2: http://www.libsdl.org/projects/SDL_mixer/index.html
civclient: tech.c:63: get_invention: Assertion `tech == (200-2) || (tech
>= 0 && tech < game.control.num_tech_types)' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 47143282715792 (LWP 4819)]
0x00002ae065669535 in raise () from /lib64/libc.so.6
(gdb) bt full
#0  0x00002ae065669535 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00002ae06566a990 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00002ae065662c16 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
#3  0x0000000000491039 in get_invention (pplayer=<value optimized out>,
    tech=199) at tech.c:62
        __PRETTY_FUNCTION__ = "get_invention"
#4  0x0000000000491564 in base_total_bulbs_required (pplayer=0x7bcf68,
    tech=199) at tech.c:423
        tech_cost_style = 1
        base_cost = <value optimized out>
        __PRETTY_FUNCTION__ = "base_total_bulbs_required"
#5  0x00000000004bae62 in update_intel_dialog (p=0x7bcf68) at
inteldlg.c:381
        research = (struct player_research *) 0x72ad54
        pdialog = (struct intel_dialog *) 0x54597a0
#6  0x00000000004baf26 in popup_intel_dialog (p=0x7bcf68) at
inteldlg.c:128
        pdialog = (struct intel_dialog *) 0x54597a0
#7  0x00000000004c78da in players_intel_callback (item=<value optimized
out>,
    data=<value optimized out>) at plrdlg.c:774
        plrno = <value optimized out>
        model = (GtkTreeModel *) 0x543e380
---Type <return> to continue, or q <return> to quit---
        it = {stamp = 837830640, user_data = 0x54a7a00, user_data2 =
0x0,
  user_data3 = 0x0}
#8  0x00002ae06325f77a in g_closure_invoke ()
   from /opt/gnome/lib64/libgobject-2.0.so.0
No symbol table info available.
#9  0x00002ae06326f96d in g_signal_override_class_closure ()
   from /opt/gnome/lib64/libgobject-2.0.so.0
No symbol table info available.
#10 0x00002ae063270dd5 in g_signal_emit_valist ()
   from /opt/gnome/lib64/libgobject-2.0.so.0
No symbol table info available.
#11 0x00002ae063270fb3 in g_signal_emit ()
   from /opt/gnome/lib64/libgobject-2.0.so.0
No symbol table info available.
#12 0x00002ae061fbd229 in gtk_button_set_alignment ()
   from /opt/gnome/lib64/libgtk-x11-2.0.so.0
No symbol table info available.
#13 0x00002ae06325f77a in g_closure_invoke ()
   from /opt/gnome/lib64/libgobject-2.0.so.0
No symbol table info available.
#14 0x00002ae06326fdbb in g_signal_override_class_closure ()
   from /opt/gnome/lib64/libgobject-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#15 0x00002ae063270dd5 in g_signal_emit_valist ()
   from /opt/gnome/lib64/libgobject-2.0.so.0
No symbol table info available.
#16 0x00002ae063270fb3 in g_signal_emit ()
   from /opt/gnome/lib64/libgobject-2.0.so.0
No symbol table info available.
#17 0x00002ae061fbbaa9 in gtk_button_released ()
   from /opt/gnome/lib64/libgtk-x11-2.0.so.0
No symbol table info available.
#18 0x00002ae06207924d in gtk_marshal_BOOLEAN__VOID ()
   from /opt/gnome/lib64/libgtk-x11-2.0.so.0
No symbol table info available.
#19 0x00002ae06325f77a in g_closure_invoke ()
   from /opt/gnome/lib64/libgobject-2.0.so.0
No symbol table info available.
#20 0x00002ae06326ff8a in g_signal_override_class_closure ()
   from /opt/gnome/lib64/libgobject-2.0.so.0
No symbol table info available.
#21 0x00002ae063270b9d in g_signal_emit_valist ()
   from /opt/gnome/lib64/libgobject-2.0.so.0
No symbol table info available.
#22 0x00002ae063270fb3 in g_signal_emit ()
   from /opt/gnome/lib64/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#23 0x00002ae0621767ee in gtk_widget_get_default_style ()
   from /opt/gnome/lib64/libgtk-x11-2.0.so.0
No symbol table info available.
#24 0x00002ae06207293d in gtk_propagate_event ()
   from /opt/gnome/lib64/libgtk-x11-2.0.so.0
No symbol table info available.
#25 0x00002ae062073951 in gtk_main_do_event ()
   from /opt/gnome/lib64/libgtk-x11-2.0.so.0
No symbol table info available.
#26 0x00002ae0625136ec in gdk_add_client_message_filter ()
   from /opt/gnome/lib64/libgdk-x11-2.0.so.0
No symbol table info available.
#27 0x00002ae0638cef94 in g_main_context_dispatch ()
   from /opt/gnome/lib64/libglib-2.0.so.0
No symbol table info available.
#28 0x00002ae0638d1dc5 in g_main_context_prepare ()
   from /opt/gnome/lib64/libglib-2.0.so.0
No symbol table info available.
#29 0x00002ae0638d20ca in g_main_loop_run ()
   from /opt/gnome/lib64/libglib-2.0.so.0
No symbol table info available.
#30 0x00002ae062073ce3 in gtk_main ()
from /opt/gnome/lib64/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#31 0x00000000004b5225 in ui_main (argc=1, argv=0x7fff48d7d9c8)
    at gui_main.c:1359
        home = <value optimized out>
        sig = <value optimized out>
        style = <value optimized out>
#32 0x0000000000413d81 in main (argc=<value optimized out>,
    argv=0x7fff48d7d9c8) at civclient.c:357
        i = 1
        loglevel = 2
        ui_options = <value optimized out>
        ui_separator = <value optimized out>
        option = 0x0
        user_tileset = false
(gdb)  


Thanks for your great work on Freeciv!

Tristan Hoffmann        

On Mon, 2007-02-26 at 04:48 -0800, Daniel Markstedt wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=36973 >
> 
> On 2/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > <URL: http://bugs.freeciv.org/Ticket/Display.html?id=36973 >
> >
> > Hi there,
> > I found a bug in the civserver which occured already in 2.1 Beta 2.
> > If I setup a server (tried on some differen systems) and some people
> > from the network connect with the civclient everything works, but the
> > server regularry crashes after some turns (often even in the first turn)
> > with a "Segmentation Fault".
> >
> > Yours
> >
> > Tristan Hoffmann
> >
> >
> 
> Hi Tristan,
> 
> Thanks for the report. Could you provide a backtrace of the crash to
> help us track down the bug?
> 
> See http://freeciv.wikia.com/wiki/Bug_Reporting
> 
> Regards,
> ~Daniel
> 
> 
> 

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to