URL:
  <http://gna.org/bugs/?22833>

                 Summary: Client crash when popping up first city dialog
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Sun 19 Oct 2014 11:35:33 BST
                Category: client-gtk-3.0
                Severity: 4 - Important
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 2.4.3
         Discussion Lock: Any
        Operating System: GNU/Linux
         Planned Release: 

    _______________________________________________________

Details:

A Debian testing (Jessie) user "amie78" reports that freeciv-gtk3 crashes when
they try to create their first city, at the point the city dialog would pop
up.

They initially experienced this with freeciv-gtk3 from the Debian 2.4.3-2
package, and reproduced it with a self-compiled version of our upstream 2.4.3
tarball. Backtrace <http://pastebin.com/65qFBzLE> from that:


(gdb) bt full
#0  __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:209
No locals.
#1  0x0000000000493af4 in cell_data_func (col=<optimized out>, cell=0x378e870,
model=<optimized out>, it=<optimized out>, data=<optimized out>) at
cma_fe.c:194
        pdialog = <optimized out>
        s1 = 0x0
        s2 = 0x595ec3 "custom"
        i1 = 1
        i2 = -1
        param = {minimal_surplus = {0, 0, 0, 0, 0, 0}, require_happy = false,
allow_disorder = false, allow_specialists = true, factor = {1, 1, 1, 1, 1, 1},
happy_factor = 1}
        path = <optimized out>
#2  0x00007f4b12e7a39e in apply_cell_attributes () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#3  0x00007f4b113f6240 in g_hash_table_foreach () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4  0x00007f4b12e7a411 in gtk_cell_area_real_apply_attributes () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#5  0x00007f4b12e83212 in gtk_cell_area_box_apply_attributes () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#6  0x00007f4b12fb08f6 in _gtk_marshal_VOID__OBJECT_BOXED_BOOLEAN_BOOLEANv ()
from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#7  0x00007f4b116dc474 in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#8  0x00007f4b116f6057 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#9  0x00007f4b116f69af in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#10 0x00007f4b12e7ce01 in gtk_cell_area_apply_attributes () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#11 0x00007f4b13136bbd in gtk_tree_view_column_cell_set_cell_data () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#12 0x00007f4b12dd5e59 in set_cell_data () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#13 0x00007f4b12dd6050 in create_cell () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#14 0x00007f4b12dd6177 in gtk_tree_view_accessible_ref_child () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#15 0x00007f4b0fc0ac05 in ?? () from
/usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0
No symbol table info available.
#16 0x00007f4b116edadb in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#17 0x00007f4b116f6748 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#18 0x00007f4b116f6efa in g_signal_emit_by_name () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#19 0x00007f4b12dd7f5d in _gtk_tree_view_accessible_add () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#20 0x00007f4b13120d66 in gtk_tree_view_row_inserted () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#21 0x00007f4b12face6a in _gtk_marshal_VOID__BOXED_BOXED () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#22 0x00007f4b116dc245 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#23 0x00007f4b116edf3c in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#24 0x00007f4b116f6748 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#25 0x00007f4b116f69af in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#26 0x00007f4b130f4cec in gtk_tree_model_row_inserted () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#27 0x00007f4b12fa03d3 in gtk_list_store_insert () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#28 0x00007f4b12fa081b in gtk_list_store_append () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#29 0x0000000000493ca8 in update_cma_preset_list (pdialog=0x3813e90) at
cma_fe.c:512
        buf = "Viel
Gold\000ktion\000\000\000\000\000\000\000\000\000\060/\337\001\000\000\000\000\220>\201\003\000\000\000\000?\004V\000\000\000\000\000\360R\317\001\000\000\000\000`f\202\003\000\000\000"
        it = {stamp = 539026036, user_data = 0x3856400, user_data2 = 0x57a9d0,
user_data3 = 0x56214f <fc_real_malloc+47>}
        i = 1
#30 0x0000000000494a29 in create_cma_dialog (pcity=<optimized out>) at
cma_fe.c:437
        pdialog = 0x3813e90
        param = {minimal_surplus = {0, 0, 0, 0, 0, 0}, require_happy = false,
allow_disorder = false, allow_specialists = true, factor = {1, 1, 1, 1, 1, 1},
happy_factor = 1}
        frame = <optimized out>
        page = <optimized out>
        hbox = <optimized out>
        label = <optimized out>
        table = 0x3826270
        vbox = 0x3826660
        sw = <optimized out>
        hscale = <optimized out>
        button = <optimized out>
        align = <optimized out>
        image = <optimized out>
        store = <optimized out>
        rend = <optimized out>
        view = <optimized out>
        column = <optimized out>
        layout_width = 20
#31 0x000000000048f2a8 in create_and_append_cma_page (pdialog=0x55c2a10) at
citydlg.c:1169
        page = 0x37df3c0
        label = 0x37d8df0
        tab_title = <optimized out>
#32 create_city_dialog (pcity=0x402f480) at citydlg.c:1424
        cbox = <optimized out>
        ebox = <optimized out>
        pdialog = 0x55c2a10
        close_command = <optimized out>
        vbox = <optimized out>
        hbox = <optimized out>
#33 real_city_dialog_popup (pcity=0x402f480) at citydlg.c:516
        pdialog = <optimized out>
#34 0x0000000000482e1c in cities_update_callback (data=<optimized out>) at
update_queue.c:579
        need_update = <optimized out>
        pcity_iter = 0x0
        pcity = 0x402f480
        pcity_player = <optimized out>
        _pslot = 0x2b64710
        data = <optimized out>
#35 0x0000000000482c72 in update_unqueue (data=<optimized out>) at
update_queue.c:317
        callback = 0x482d80 <cities_update_callback>
        uq_data = <optimized out>
        MY_mem_MY_iter = 0x7fff642d2aa0 "`\363U"
        MY_it_MY_iter = 0x7fff642d2aa0
        hash = 0x1d311a0
#36 0x00000000004133ca in idle_callback_wrapper (data=0x273bf40) at
gui_main.c:2084
        cb = 0x273bf40
#37 0x00007f4b11406b6d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#38 0x00007f4b11406f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#39 0x00007f4b11407272 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#40 0x00007f4b12fa4f2a in gtk_main () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#41 0x00000000004158fe in ui_main (argc=1, argv=0x7fff642d3128) at
gui_main.c:1711
        toplevel_font_name = <optimized out>
        sig = <optimized out>
        __FUNCTION__ = "ui_main"
#42 0x000000000043b60a in client_main (argc=1, argv=0x7fff642d3128) at
client_main.c:590
        i = 1
        loglevel = LOG_NORMAL
        ui_options = 1
        ui_separator = 32
        user_tileset = false
        fatal_assertions = -1
        aii = 1
        __FUNCTION__ = "client_main"
#43 0x00007f4b10bacb45 in __libc_start_main (main=0x412d20 <main>, argc=1,
argv=0x7fff642d3128, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff642d3118) at libc-start.c:287
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 4561961731735174833,
4271397, 140734874071328, 0, 0, -4561706221872070991, -4478414816276758863},
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x57a740 <__libc_csu_init>,
0x7fff642d3128}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 5744448}}}
        not_first_call = <optimized out>
#44 0x0000000000412d4e in _start ()
No symbol table info available.






    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?22833>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to