Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2005:
[Freeciv-Dev] (PR#14102) client crash with CMA
Home

[Freeciv-Dev] (PR#14102) client crash with CMA

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#14102) client crash with CMA
From: "Christian Knoke" <chrisk@xxxxxxxxx>
Date: Sat, 24 Sep 2005 03:36:23 -0700
Reply-to: bugs@xxxxxxxxxxx

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


CVS 24 SEPT 2005 HEAD GTK2

Client crashes when I activate CMA in any city, with a double click on a
preset.

Reproducible on request. Backtrace:

Core was generated by `civclient'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: Eingabe-/Ausgabefehler

Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...done.
Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...done.
Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/lib/libatk-1.0.so.0...Reading symbols from 
/usr/lib/debug/usr/lib/libatk-1.0.so.0.800.0...done.
done.
Loaded symbols for /usr/lib/libatk-1.0.so.0
Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...done.
Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /usr/lib/libpangoxft-1.0.so.0...done.
Loaded symbols for /usr/lib/libpangoxft-1.0.so.0
Reading symbols from /usr/lib/libpangox-1.0.so.0...done.
Loaded symbols for /usr/lib/libpangox-1.0.so.0
Reading symbols from /usr/lib/libpango-1.0.so.0...done.
Loaded symbols for /usr/lib/libpango-1.0.so.0
Reading symbols from /usr/lib/libgobject-2.0.so.0...done.
Loaded symbols for /usr/lib/libgobject-2.0.so.0
Reading symbols from /usr/lib/libgmodule-2.0.so.0...done.
Loaded symbols for /usr/lib/libgmodule-2.0.so.0
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /usr/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/lib/libglib-2.0.so.0
Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /usr/lib/libSDL_mixer-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL_mixer-1.2.so.0
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXrandr.so.2...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.2
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
Reading symbols from /usr/lib/libXft.so.2...done.
Loaded symbols for /usr/lib/libXft.so.2
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libpangoft2-1.0.so.0...done.
Loaded symbols for /usr/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/lib/libvorbisfile.so.3...done.
Loaded symbols for /usr/lib/libvorbisfile.so.3
Reading symbols from /usr/lib/libvorbis.so.0...done.
Loaded symbols for /usr/lib/libvorbis.so.0
Reading symbols from /usr/lib/libogg.so.0...done.
Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib/libsmpeg-0.4.so.0...done.
Loaded symbols for /usr/lib/libsmpeg-0.4.so.0
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from 
/usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
Reading symbols from /lib/tls/libnss_compat.so.2...done.
Loaded symbols for /lib/tls/libnss_compat.so.2
Reading symbols from /lib/tls/libnsl.so.1...done.
Loaded symbols for /lib/tls/libnsl.so.1
Reading symbols from /lib/tls/libnss_nis.so.2...done.
Loaded symbols for /lib/tls/libnss_nis.so.2
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /usr/lib/gtk-2.0/2.4.0/engines/libclearlooks.so...done.
Loaded symbols for /usr/lib/gtk-2.0/2.4.0/engines/libclearlooks.so
Reading symbols from 
/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so...done.
Loaded symbols for /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/pango/1.4.0/modules/pango-basic-fc.so...done.
Loaded symbols for /usr/lib/pango/1.4.0/modules/pango-basic-fc.so
#0  0x40696db5 in free () from /lib/tls/libc.so.6
(gdb) bt
#0  0x40696db5 in free () from /lib/tls/libc.so.6
#1  0x0806d221 in attribute_set (key=0, id=0, x=0, y=0, data_length=1078244006, 
data=0x0) at attribute.c:328
#2  0x0806d478 in attr_city_set (what=0, city_id=0, data_length=0, data=0x0) at 
attribute.c:423
#3  0x0810a93e in cma_set_parameter (attr=0, city_id=0, parameter=0x8271d8c) at 
cma_core.c:633
#4  0x0810aad2 in cmafec_set_fe_parameter (pcity=0x0, parameter=0x0) at 
cma_fec.c:100
#5  0x08118594 in cma_activate_preset_callback (view=0x905b200, path=0x0, 
col=0x9097998, data=0x90032d8)
    at cma_fe.c:510
#6  0x40154e3a in _gtk_marshal_VOID__BOXED_OBJECT () from 
/usr/lib/libgtk-x11-2.0.so.0
#7  0x40439736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#8  0x4044adcf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#9  0x40449e9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#10 0x4044a126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#11 0x40228b33 in gtk_tree_view_row_activated () from 
/usr/lib/libgtk-x11-2.0.so.0
#12 0x4021ab32 in gtk_tree_view_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x4015399e in _gtk_marshal_BOOLEAN__BOXED () from 
/usr/lib/libgtk-x11-2.0.so.0
#14 0x404399c9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#15 0x40439736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#16 0x4044a855 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#17 0x40449c8c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#18 0x4044a126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#19 0x40242d87 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x401524b2 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x40151306 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x4034e825 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#23 0x40490582 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#24 0x404915f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0x40491930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x40491ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#27 0x40150bb3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x08124a02 in ui_main (argc=1, argv=0xbffffc74) at gui_main.c:1211
#29 0x0807108a in main (argc=1, argv=0xbffffc74) at civclient.c:351
(gdb) bt full
#0  0x40696db5 in free () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x0806d221 in attribute_set (key=0, id=0, x=0, y=0, data_length=1078244006, 
data=0x0) at attribute.c:328
        old_key = (void *) 0x4044b2a6
        old_value = (void *) 0x0
        pkey = (struct attr_key *) 0x20a3ff
        pvalue = (void *) 0x91c10c8
#2  0x0806d478 in attr_city_set (what=0, city_id=0, data_length=0, data=0x0) at 
attribute.c:423
No locals.
#3  0x0810a93e in cma_set_parameter (attr=0, city_id=0, parameter=0x8271d8c) at 
cma_core.c:633
        i = O_LAST
        buffer = 
"\002\000\000\000\000\000\000\000\031��\000\000��\000\000��\000\000��\000\n\000\000\000"
        dout = {dest = 0xbfffee80, dest_size = 29, used = 29, current = 29, 
too_short = false}
#4  0x0810aad2 in cmafec_set_fe_parameter (pcity=0x0, parameter=0x0) at 
cma_fec.c:100
No locals.
#5  0x08118594 in cma_activate_preset_callback (view=0x905b200, path=0x0, 
col=0x9097998, data=0x90032d8)
    at cma_fe.c:510
        pdialog = (struct cma_dialog *) 0x90032d8
        preset_index = 0
        pparam = (const struct cm_parameter *) 0x8271d8c
#6  0x40154e3a in _gtk_marshal_VOID__BOXED_OBJECT () from 
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0x40439736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#8  0x4044adcf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#9  0x40449e9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#10 0x4044a126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0x40228b33 in gtk_tree_view_row_activated () from 
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#12 0x4021ab32 in gtk_tree_view_get_type () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#13 0x4015399e in _gtk_marshal_BOOLEAN__BOXED () from 
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x404399c9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#15 0x40439736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#16 0x4044a855 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#17 0x40449c8c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#18 0x4044a126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0x40242d87 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#20 0x401524b2 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#21 0x40151306 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0x4034e825 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#23 0x40490582 in g_main_depth () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#24 0x404915f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#25 0x40491930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#26 0x40491ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#27 0x40150bb3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#28 0x08124a02 in ui_main (argc=1, argv=0xbffffc74) at gui_main.c:1211
        home = (const gchar *) 0x0
        sig = 0
        style = (GtkStyle *) 0x0
#29 0x0807108a in main (argc=1, argv=0xbffffc74) at civclient.c:351
        i = 1
        loglevel = 2
        ui_options = 0
        ui_separator = false
        option = 0x200 <Address 0x200 out of bounds>

-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#14102) client crash with CMA, Christian Knoke <=