Follow-up Comment #1, bug #19825 (project freeciv):

Aha, this is reproducible.
Just spawn a new game from the client, go into edit mode, and middle-click on
the tile with your initial units.

Here's a gdb backtrace (fortunately this is a -O0 build):


#0  0x00007fc846aff7bb in raise (sig=<value optimised out>)
    at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
No locals.
#1  0x000000000062684b in fc_assert_fail (file=0x6d47b9 "bitvector.c", 
    function=0x6d4939 "dbv_isset", line=116, 
    assertion=0x6d4849 "bit < pdbv->bits", message=0x6d0a54 "nologmsg:%s")
    at log.c:525
        level = LOG_FATAL
#2  0x0000000000643cbc in dbv_isset (pdbv=0x3aa85e8, bit=631)
    at bitvector.c:116
        __FUNCTION__ = "dbv_isset"
#3  0x0000000000515da6 in objbind_get_value_from_object (ob=0x3935d50, 
    op=0x382efc0) at editprop.c:1508
        pplayer = 0x3aa7b00
        _pslot = 0x3979f78
        tile_y = 8
        nat_y = 8
        ptile = 0x3bdcdf0
        tile_x = 7
        nat_x = 7
        objtype = OBJTYPE_TILE
        propid = OPID_TILE_VISION
        pv = 0xcf4100
        __FUNCTION__ = "objbind_get_value_from_object"
#4  0x0000000000518fa3 in objprop_refresh_widget (op=0x382efc0, ob=0x3935d50)
    at editprop.c:2931
        w = 0x38efa00
        label = 0x38ef040
        image = 0x38e2820
        entry = 0xd14b70
        spin = 0x199c3f0
        button = 0x7fc841198c04
        ev = 0x386cda0
        pv = 0x382ebe0
        modified = false
        propid = OPID_TILE_VISION
        min = 2.9223919711107065e-316
        max = 0
        step = 1.4821969375237396e-323
        big_step = 6.7468418838530609e-317
        buf =
" 03 00 00 00 00 00 00 00200321 25352377177 00 00 00 00 00 00 00 00 00 00_245 
31A310177 00 00@256320D310177 00 00z251240D310177 00 00 02200 00 00377177 00 
00@256320D310177 00 00340ղ 06 00 00 00 00̠ 31A310177 00 00 02200 00@",
' 00' <repeats 12 times>"320,
 61320 00 00 00 00 00Ӡ240D310177 00 00 01200 00 00 00 00 00 70207230 32A310177 
00 00 60345202 03 00 00 00 00`_320 00 00 00 00 00 60345202 03",
' 00' <repeats 12 times>"210,
247267@310177 00 00357344 32A310177 00 00 00 00 00 00 00 00 00 00`C323 00
 00 00 00 30$220 01 00 00 00 00240321 25352377177 00 00200321 25352377177 00 00 
60216206 03",
' 00' <repeats 20 times>"300, 321 25352377177 00 00 20216X 02 00 00 00"
#5  0x000000000051e183 in property_page_selection_changed (sel=0x3863800, 
    userdata=0x38198d0) at editprop.c:4210
        MY_mem_op = 0x7fffea15d1e0 "246233c"
        MY_it_op = 0x7fffea15d1e0
        op = 0x382efc0
        pp = 0x38198d0
        ob = 0x3935d50
#6  0x00007fc84119a5de in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#7  0x00007fc8411ae598 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#8  0x00007fc8411afa76 in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#9  0x00007fc8411b0033 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#10 0x00007fc842f6e718 in gtk_tree_selection_select_path ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#11 0x00007fc842f6e7fd in gtk_tree_selection_select_iter ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#12 0x0000000000520681 in property_page_fill_widgets (pp=0x38198d0)
    at editprop.c:4967
        sel = 0x3863800
        iter = {stamp = 2031265885, user_data = 0x6b3daa0, user_data2 = 0x0, 
          user_data3 = 0x0}
        rr = 0x3934be0
        model = 0x2588e10
        path = 0x6b3de10
        ob = 0x7fffea15d690
#13 0x00000000005208ad in property_page_load_tiles (pp=0x38198d0, 
    tiles=0x7947620) at editprop.c:5034
        __FUNCTION__ = "property_page_load_tiles"
#14 0x00000000005224fa in property_editor_load_tiles (pe=0x191e3b0, 
    tiles=0x7947620) at editprop.c:5807
        pp = 0x38198d0
        objtype = OBJTYPE_TILE
        i = 59950416
        preferred = {OBJTYPE_CITY, OBJTYPE_UNIT, OBJTYPE_STARTPOS, 
          OBJTYPE_TILE}
#15 0x00000000004f04c2 in editgui_popup_properties (tiles=0x7947620,
objtype=6)
    at editgui.c:1836
        pe = 0x191e3b0
#16 0x000000000046c08c in popup_properties (ptile=0x3bdcdf0) at editor.c:544
        tiles = 0x7947620
#17 0x000000000046c1fe in editor_mouse_button_press (canvas_x=700, 
    canvas_y=339, button=2, modifiers=0) at editor.c:601
        ptile = 0x3bdcdf0
#18 0x00000000004ee315 in handle_edit_mouse_button_press (ev=0x78b58e0)
    at editgui.c:944
No locals.
#19 0x0000000000453c67 in butt_down_mapcanvas (w=0xddf490, ev=0x78b58e0, 
    data=0x0) at mapctrl.c:237
        pcity = 0x0
        ptile = 0x0
#20 0x00007fc842e8a188 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#21 0x00007fc84119a5de in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#22 0x00007fc8411ae598 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#23 0x00007fc8411af8b9 in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#24 0x00007fc8411b0033 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#25 0x00007fc842fa10cf in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#26 0x00007fc842e82653 in gtk_propagate_event ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#27 0x00007fc842e8372b in gtk_main_do_event ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#28 0x00007fc842af786c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#29 0x00007fc8408dc8c2 in g_main_context_dispatch () from
/lib/libglib-2.0.so.0
No symbol table info available.
#30 0x00007fc8408e0748 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#31 0x00007fc8408e0c55 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#32 0x00007fc842e83bc7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#33 0x0000000000451b52 in ui_main (argc=1, argv=0x7fffea15e468)
    at gui_main.c:1673
        home = 0xcba490 "/home/jtn"
        sig = 29
        __FUNCTION__ = "ui_main"
#34 0x000000000045c1a8 in client_main (argc=1, argv=0x7fffea15e468)
    at client_main.c:590
        i = 2
        loglevel = LOG_NORMAL
        ui_options = 0
        ui_separator = false
        option = 0x0
        user_tileset = false
        fatal_assertions = 6
        aii = 3
        __FUNCTION__ = "client_main"
#35 0x0000000000451457 in main (argc=2, argv=0x7fffea15e468) at
gui_main.c:1508
No locals.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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