Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2006:
[Freeciv-Dev] Re: (PR#18293) Freeciv crash
Home

[Freeciv-Dev] Re: (PR#18293) Freeciv crash

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: iainuki@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#18293) Freeciv crash
From: "Marko Lindqvist" <cazfi74@xxxxxxxxx>
Date: Sun, 9 Jul 2006 08:26:31 -0700
Reply-to: bugs@xxxxxxxxxxx

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


  You should be able to avoid crash by adding missing b.amusement_park 
tag in to buildings.spec.


  Of course missing tag should not cause silent crash. Backtrace follows

> Program received signal SIGSEGV, Segmentation fault.
> 0x004ce379 in get_sprite_dimensions (sprite=0x0, width=0x22bd64, 
> height=0x22bd68)
>     at ../../../src-2.1/client/gui-gtk-2.0/sprite.c:115
> 115       *width = sprite->width;
> (gdb) bt full
> #0  0x004ce379 in get_sprite_dimensions (sprite=0x0, width=0x22bd64, 
> height=0x22bd68)
>     at ../../../src-2.1/client/gui-gtk-2.0/sprite.c:115
>         sprite = (struct sprite *) 0x0
>         width = (int *) 0x22bd64
>         height = (int *) 0x22bd64
> #1  0x00428533 in create_reqtree () at ../../src-2.1/client/reqtree.c:182
>         myiter = 0
>         preq = (struct requirement *) 0x0
>         impr = (struct impr_type *) 0x513dc4
>         impr_type = 77
>         icons_width_sum = 5
>         max_icon_height = 0
>         sprite = (struct sprite *) 0x0
>         swidth = 36
>         sheight = 20
>         width = (int *) 0x12bac588
>         height = (int *) 0x12bac58c
>         node = (struct tree_node *) 0x12bac560
>         i = 132
>         layer = 314054560
>         layer_offs = 5324228
>         i = 20
>         j = 20
> #2  0x004d06e8 in popup_science_dialog (raise=true)
>     at ../../../src-2.1/client/gui-gtk-2.0/repodlgs.c:228
>         reqtree = (struct reqtree *) 0x12a36848
>         width = 2
>         height = 2276896
>         x = 275088896
>         reqtree = (struct reqtree *) 0x12a36848
>         width = 2
>         height = 2276896
>         x = 275088896
>         raise = true
>         frame = (GtkWidget *) 0x0
>         hbox = (GtkWidget *) 0x4276b0
>         w = (GtkWidget *) 0x0
> #3  0x6aef7245 in gtk_item_factory_get_type () from 
> /usr/bin/cyggtk-x11-2.0-0.dll
> No symbol table info available.
> #4  0x6e583595 in g_closure_invoke () from /usr/bin/cyggobject-2.0-0.dll
> No symbol table info available.
> #5  0x6e597857 in g_signal_has_handler_pending () from 
> /usr/bin/cyggobject-2.0-0.dll
> No symbol table info available.
> #6  0x6e598c52 in g_signal_emit_valist () from /usr/bin/cyggobject-2.0-0.dll
> No symbol table info available.
> #7  0x6e598ef6 in g_signal_emit () from /usr/bin/cyggobject-2.0-0.dll
> No symbol table info available.
> #8  0x6afec615 in gtk_widget_activate () from /usr/bin/cyggtk-x11-2.0-0.dll
> No symbol table info available.
> #9  0x6af1d4ec in gtk_menu_shell_activate_item () from 
> /usr/bin/cyggtk-x11-2.0-0.dll
> No symbol table info available.
> #10 0x6af1d7be in gtk_menu_shell_activate_item () from 
> /usr/bin/cyggtk-x11-2.0-0.dll
> No symbol table info available.
> #11 0x6af0eff4 in gtk_marshal_VOID__UINT_STRING () from 
> /usr/bin/cyggtk-x11-2.0-0.dll
> No symbol table info available.
> #12 0x6e583595 in g_closure_invoke () from /usr/bin/cyggobject-2.0-0.dll
> No symbol table info available.
> #13 0x6e5979c8 in g_signal_has_handler_pending () from 
> /usr/bin/cyggobject-2.0-0.dll
> No symbol table info available.
> #14 0x6e5989dc in g_signal_emit_valist () from /usr/bin/cyggobject-2.0-0.dll
> No symbol table info available.
> #15 0x6e598ef6 in g_signal_emit () from /usr/bin/cyggobject-2.0-0.dll
> No symbol table info available.
> #16 0x6afec791 in gtk_widget_activate () from /usr/bin/cyggtk-x11-2.0-0.dll
> No symbol table info available.
> #17 0x6af0d65d in gtk_propagate_event () from /usr/bin/cyggtk-x11-2.0-0.dll
> No symbol table info available.
> #18 0x6af0d95f in gtk_main_do_event () from /usr/bin/cyggtk-x11-2.0-0.dll
> No symbol table info available.
> #19 0x67ba9531 in gdk_event_get_graphics_expose () from 
> /usr/bin/cyggdk-x11-2.0-0.dll
> No symbol table info available.
> #20 0x6aa5c227 in g_source_remove_poll () from /usr/bin/cygglib-2.0-0.dll
> No symbol table info available.
> #21 0x6aa5e6d7 in g_main_context_acquire () from /usr/bin/cygglib-2.0-0.dll
> No symbol table info available.
> #22 0x6aa5ea1a in g_main_loop_run () from /usr/bin/cygglib-2.0-0.dll
> No symbol table info available.
> #23 0x6af0cdcc in gtk_main () from /usr/bin/cyggtk-x11-2.0-0.dll
> No symbol table info available.
> #24 0x004b2b78 in ui_main (argc=1, argv=0x100e22d8)
>     at ../../../src-2.1/client/gui-gtk-2.0/gui_main.c:1336
>         home = (const gchar *) 0x22bd64 "$"
>         sig = 2276708
>         style = (GtkStyle *) 0x50435f
> #25 0x004061f8 in main (argc=3, argv=0x100e22d8) at 
> ../../src-2.1/client/civclient.c:355
>         i = 3
>         loglevel = 2
>         ui_options = 5143072
>         ui_separator = false
>         option = 0x4e8800 "http://meta.freeciv.org/metaserver.phtml";
>         argc = 1


  - ML






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