Follow-up Comment #4, bug #18005 (project freeciv):

Here's a backtrace of my reproduction case (trunk r19594 + patch #2627). I
haven't analysed it yet.


#0  0x00007fd09fb667bb in raise (sig=<value optimised out>)
    at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
No locals.
#1  0x000000000056a86f in fc_assert_fail (file=0x5d70ed "bitvector.c", 
    function=0x5d725e "dbv_isset", line=120, assertion=<value optimised out>,

    message=0x0) at log.c:491
        level = LOG_FATAL
#2  0x000000000057fd9e in dbv_isset (pdbv=<value optimised out>, 
    bit=<value optimised out>) at bitvector.c:120
        __FUNCTION__ = "dbv_isset"
#3  0x0000000000562923 in tile_get_known (ptile=0x8d03a90,
pplayer=0x76872c0)
    at tile.c:388
No locals.
#4  0x00000000004c306a in base_city_can_work_tile (restriction=0x76872c0, 
    pcity=0x8d75bb0, ptile=0x8d03a90) at city.c:1325
        powner = 0x76872c0
        city_map_x = 5
        city_map_y = 5
#5  0x00000000004386ca in find_city_or_settler_near_tile (ptile=0x8cfe1b0, 
    punit=0x7fff426988b8) at mapview_common.c:2227
        tile1 = <value optimised out>
        _x = 5
        _y = 10
        _x_y_index = 75
        closest_city = 0x0
        pcity = <value optimised out>
        closest_settler = <value optimised out>
        best_settler = 0x270
        __FUNCTION__ = "find_city_or_settler_near_tile"
#6  0x000000000045a94b in fill_city_overlays_sprite_array (
    t=<value optimised out>, sprs=<value optimised out>, 
    layer=<value optimised out>, ptile=0x8cfe1b0, pedge=<value optimised
out>, 
    pcorner=<value optimised out>, punit=0x0, pcity=0x0, citymode=0x0)
    at tilespec.c:3738
        pwork = 0x0
        city_x = 0
        NUM_CITY_COLORS = <value optimised out>
        psettler = <value optimised out>
        city_y = 16282160
#7  fill_sprite_array (t=<value optimised out>, sprs=<value optimised out>, 
    layer=<value optimised out>, ptile=0x8cfe1b0, pedge=<value optimised
out>, 
    pcorner=<value optimised out>, punit=0x0, pcity=0x0, citymode=0x0)
    at tilespec.c:4641
        tileno = <value optimised out>
        tspecial_near = {{vec = " 00"}, {vec = " 00"}, {vec = " 00"}, {
            vec = " 00"}, {vec = " 00"}, {vec = " 00b"}, {vec = " 00"}, {
            vec = " 00"}}
        tspecial = {vec = " 00"}
        tterrain_near = {0x92f478, 0x92f478, 0x92f478, 0x92f478, 0x92f478, 
          0x92f478, 0x92f478, 0x92f478}
        pterrain = <value optimised out>
        owner = <value optimised out>
        __FUNCTION__ = "fill_sprite_array"
#8  0x000000000043c0f9 in put_one_element (pcanvas=0xf87230, 
    layer=<value optimised out>, ptile=0x8cfe1b0, pedge=<value optimised
out>, 
    pcorner=<value optimised out>, punit=<value optimised out>, pcity=0x0, 
    canvas_x=-68, canvas_y=0, citymode=0x0) at mapview_common.c:952
        tile_sprs = {{foggable = false, sprite = 0x5c20440, offset_x = 0, 
            offset_y = -24}, {foggable = false, sprite = 0x3db4cb0, 
            offset_x = 19, offset_y = -6}, {foggable = false, 
            sprite = 0xffb2c0, offset_x = 0, offset_y = -24}, {
            foggable = false, sprite = 0x1495ef0, offset_x = 0, 
            offset_y = -24}, {foggable = false, sprite = 0x1495f30, 
            offset_x = 0, offset_y = -24}, {foggable = false, 
            sprite = 0x1495ef0, offset_x = 0, offset_y = -24}, {
            foggable = false, sprite = 0x1495ef0, offset_x = 0, 
            offset_y = -24}, {foggable = false, sprite = 0xfa9a50, 
            offset_x = 0, offset_y = 0}, {foggable = 152, 
            sprite = 0x7fd0a42f54e0, offset_x = -47098187, offset_y = 0}, {
            foggable = 34, sprite = 0x0, offset_x = -1540521528, 
            offset_y = 32720}, {foggable = 5, sprite = 0x0, offset_x = 1, 
            offset_y = 0}, {foggable = 228, sprite = 0xf0, 
            offset_x = 1114213168, offset_y = 32767}, {foggable = false, 
            sprite = 0x7fd0a42d98d0, offset_x = 1114213544, offset_y =
32767}, 
          {foggable = 87, sprite = 0xe943b264, offset_x = -1542425513, 
            offset_y = 32720}, {foggable = false, sprite = 0x3a50ec9, 
            offset_x = 36, offset_y = 0}, {foggable = 44, sprite = 0x0, 
            offset_x = 1114213168, offset_y = 32767}, {foggable = 224, 
            sprite = 0x7fd0a2f7bab8, offset_x = -2147483648, offset_y = 0},
{
            foggable = false, sprite = 0x9f378d0, offset_x = 2, offset_y =
0}, 
          {foggable = 16, sprite = 0x7fd0a42ee000, offset_x = -1540399104, 
            offset_y = 32720}, {foggable = false, sprite = 0x0, 
            offset_x = -1540396640, offset_y = 32720}, {foggable = 115, 
            sprite = 0x7fd0a2f7bed8, offset_x = -1556416024, 
            offset_y = 32720}, {foggable = false, sprite = 0x100000029, 
            offset_x = -1542408303, offset_y = 32720}, {foggable = 5, 
            sprite = 0x7fd0a42f6358, offset_x = 1114213600, offset_y =
32767}, 
          {foggable = false, sprite = 0x7fff42698d08, offset_x = -1540399104,

            offset_y = 32720}, {foggable = 100, sprite = 0x7fd0a4107722, 
            offset_x = 0, offset_y = 0}, {foggable = false, sprite = 0x5, 
            offset_x = 0, offset_y = 0}, {foggable = true, 
            sprite = 0x7fd0a42f6000, offset_x = 124326400, offset_y = 0}, {
            foggable = 208, sprite = 0x7fd0a42d3820, offset_x = 0, 
            offset_y = 0}, {foggable = 88, sprite = 0x7fff42698c90, 
            offset_x = 1114213544, offset_y = 32767}, {foggable = 32, 
            sprite = 0xffffffffffffffff, offset_x = -1556413581, 
            offset_y = 32720}, {foggable = 255, sprite = 0x7fd0a33b1781, 
            offset_x = 1114213920, offset_y = 32767}, {foggable = 192, 
            sprite = 0x7fff42698ec8, offset_x = 167299104, offset_y = 0}, {
            foggable = 224, sprite = 0x9f87bd0, offset_x = 132144, 
            offset_y = 0}, {foggable = 176, sprite = 0x7fd0a2f7bab8, 
            offset_x = 166827968, offset_y = 0}, {foggable = 160, 
            sprite = 0x9f2a7d0, offset_x = -1615516096, offset_y = 32720}, {
            foggable = 144, sprite = 0x7691470, offset_x = -1618680736, 
            offset_y = 32720}, {foggable = 160, sprite = 0x7fd0a3c3ffc0, 
            offset_x = -1556418560, offset_y = 32720}, {foggable = 145, 
            sprite = 0x5, offset_x = -1615516096, offset_y = 32720}, {
            foggable = false, sprite = 0x38, offset_x = 32, offset_y = 0}, {
            foggable = 64, sprite = 0x1, offset_x = 56, offset_y = 0}, {
            foggable = 32, sprite = 0x7690ca0, offset_x = -1547436096, 
            offset_y = 32720}, {foggable = 131, sprite = 0x7691200, 
            offset_x = -1618756931, offset_y = 32720}, {foggable = 96, 
            sprite = 0x1, offset_x = 124322144, offset_y = 0}, {
            foggable = 200, sprite = 0x7fff42698e20, offset_x = -1556401376,

            offset_y = 32720}, {foggable = 28, sprite = 0x7fff426992c0, 
            offset_x = 167279568, offset_y = 0}, {foggable = false, 
            sprite = 0x7fff42698e1c, offset_x = -1549613956, 
            offset_y = 32720}, {foggable = 28, sprite = 0x7fd0a3a2c210, 
            offset_x = -1549614560, offset_y = 32720}, {foggable = 64, 
            sprite = 0xdfc410, offset_x = 1114213920, offset_y = 32767}, {
            foggable = 240, sprite = 0x7fd0a3a2c210, offset_x = -1549614560,

            offset_y = 32720}, {foggable = 64, sprite = 0x3000000018, 
            offset_x = 1114215184, offset_y = 0}, {foggable = false, 
            sprite = 0x0, offset_x = 0, offset_y = 0}, {foggable = false, 
            sprite = 0xf214e0, offset_x = 15865056, offset_y = 0}, {
            foggable = false, sprite = 0x7fd09d8636b7, offset_x = 0, 
            offset_y = 0}, {foggable = false, sprite = 0x0, offset_x = 0, 
            offset_y = 0}, {foggable = false, sprite = 0x0, offset_x = 0, 
            offset_y = 0}, {foggable = false, sprite = 0x0, offset_x = 0, 
            offset_y = 0}, {foggable = false, sprite = 0x7fd0a08d358c, 
            offset_x = 0, offset_y = 0}, {foggable = false, sprite =
0xf95aa0, 
            offset_x = 16327680, offset_y = 0}, {foggable = 160, sprite =
0x0, 
            offset_x = 0, offset_y = 0}, {foggable = 160, sprite = 0xf92400,

            offset_x = 15865056, offset_y = 0}, {foggable = false, 
            sprite = 0x0, offset_x = 1, offset_y = 0}, {foggable = 160, 
            sprite = 0xf9cc00, offset_x = 15865056, offset_y = 0}, {
            foggable = false, sprite = 0x7fd0a2216ea2, offset_x = 0, 
            offset_y = 0}, {foggable = 126, sprite = 0xf95aa0, 
            offset_x = -1652148444, offset_y = 32720}, {foggable = 224, 
            sprite = 0x5403818, offset_x = 16370688, offset_y = 0}, {
            foggable = 235, sprite = 0xf95aa0, offset_x = 147025280, 
            offset_y = 0}, {foggable = 48, sprite = 0xf95aa0, offset_x = 0, 
            offset_y = 0}, {foggable = false, sprite = 0x1, 
            offset_x = -1575102059, offset_y = 32720}, {foggable = false, 
            sprite = 0x300, offset_x = 1, offset_y = 0}, {foggable = 209, 
            sprite = 0xf92400, offset_x = 123015792, offset_y = 1440}, {
            foggable = 160, sprite = 0x7fd0a21e9fcf, offset_x = 1440, 
            offset_y = 0}, {foggable = 112, sprite = 0xf92000, 
            offset_x = 16341664, offset_y = 0}, {foggable = false, 
            sprite = 0x0, offset_x = 1, offset_y = 0}, {foggable = 149, 
            sprite = 0x300, offset_x = -1549748616, offset_y = 32720}, {
            foggable = false, sprite = 0x7fff426990b0, offset_x =
-1549748552, 
            offset_y = 32720}, {foggable = 232, sprite = 0x0, 
            offset_x = 4343400, offset_y = 0}, {foggable = 176, 
            sprite = 0x563919, offset_x = 0, offset_y = 0}, {foggable = 153,

            sprite = 0xe488d0, offset_x = 147841456, offset_y = 0}, {
            foggable = false, sprite = 0xf87230, offset_x = 0, offset_y = 0},
{
            foggable = 230, sprite = 0xf, offset_x = 194, offset_y = 0}}
        count = <value optimised out>
#9  0x000000000043ca64 in put_one_tile (canvas_x=<value optimised out>, 
    canvas_y=<value optimised out>, width=<value optimised out>, 
    height=<value optimised out>) at mapview_common.c:1126
No locals.
#10 update_map_canvas (canvas_x=<value optimised out>, 
    canvas_y=<value optimised out>, width=<value optimised out>, 
    height=<value optimised out>) at mapview_common.c:1326
        cx = -68
        cy = 0
        ptile = 0x8cfe1b0
        pedge = <value optimised out>
        pcorner = <value optimised out>
        ptile_r1 = 2
        ptile_y0 = 95
        ptile_index = 194
        ptile_yi = <value optimised out>
        ptile_w = 96
        ptile_x0 = 93
        ptile_y1 = <value optimised out>
        ptile_count = 4416
        ptile_xi = <value optimised out>
        ptile_di = <value optimised out>
        ptile_h = 48
        ptile_x1 = <value optimised out>
        ptilepedge = {type = EDGE_NS, tile = {0x0, 0x8cfd550}}
        ptilepcorner = {tile = {0x0, 0x0, 0x8cfd550, 0x0}}
        ptile_si = <value optimised out>
        gui_x_0 = <value optimised out>
        gui_y_0 = <value optimised out>
        gui_x_w = <value optimised out>
        gui_y_h = <value optimised out>
        layer = <value optimised out>
        gui_x0 = 2276
        gui_y0 = 1152
        tmp = <value optimised out>
        __FUNCTION__ = "update_map_canvas"
#11 0x000000000043d9d8 in unqueue_mapview_updates (
    write_to_screen=<value optimised out>) at mapview_common.c:2519
        W = <value optimised out>
        H = 48
        UW = 96
        UH = 72
        city_width = 864
        city_height = <value optimised out>
        area = {{dx = 0, dy = 0, w = 96, h = 48}, {dx = -48, dy = -24, 
            w = 192, h = 96}, {dx = 0, dy = -24, w = 96, h = 72}, {dx = -59,

            dy = 48, w = 215, h = 48}, {dx = -384, dy = -192, w = 864, 
            h = 432}, {dx = 48, dy = 48, w = 0, h = 0}}
        my_tile_updates = {0x0, 0x9e76cc0, 0x9e2a820, 0x9edf640, 0x8ddb2f0, 
          0x0}
        __FUNCTION__ = "unqueue_mapview_updates"
#12 0x000000000043e9de in move_unit_map_canvas (punit=0x90a8e90, 
    src_tile=0x8d113b0, dx=0, dy=0) at mapview_common.c:2150
        start_x = <value optimised out>
        canvas_dx = <value optimised out>
        timing_sec = 0.10000000000000001
        start_y = 384
        canvas_dy = <value optimised out>
        mytime = <value optimised out>
        anim_timer = 0x0
        dest_tile = <value optimised out>
        __FUNCTION__ = "move_unit_map_canvas"
#13 0x0000000000427413 in do_move_unit (punit=0x90a8e90, 
    target_unit=<value optimised out>) at control.c:2162
        dx = 0
        dy = -1
        src_tile = 0x8d113b0
        dst_tile = 0x8d0f010
#14 0x00000000004466a5 in handle_unit_packet_common (packet_unit=0x7691100)
    at packhand.c:1356
        pcity = <value optimised out>
        pcity = <value optimised out>
        punit = 0x90a8e90
        need_menus_update = false
        need_economy_report_update = <value optimised out>
        need_units_report_update = false
        repaint_unit = true
        repaint_city = false
        old_tile = 0x8d113b0
        check_focus = false
        moved = false
        ret = <value optimised out>
        __FUNCTION__ = "handle_unit_packet_common"
#15 0x0000000000446f31 in handle_unit_info (packet=0x8f82ca0)
    at packhand.c:1167
        punit = 0x7691100
#16 0x0000000000449782 in client_handle_packet (type=<value optimised out>, 
    packet=0x0) at packhand_gen.c:142
No locals.
#17 0x000000000041e12e in client_packet_input (packet=<value optimised out>,

    type=63) at client_main.c:596
        __FUNCTION__ = "client_packet_input"
#18 0x0000000000423e55 in input_from_server (fd=<value optimised out>)
    at clinet.c:418
        result = true
        packet = 0x0
        type = PACKET_UNIT_INFO
        nb = <value optimised out>
        __FUNCTION__ = "input_from_server"
#19 0x0000000000413950 in get_net_input (source=<value optimised out>, 
    condition=<value optimised out>, data=<value optimised out>)
    at gui_main.c:1860
No locals.
#20 0x00007fd09fffa8c2 in g_main_context_dispatch () from
/lib/libglib-2.0.so.0
No symbol table info available.
#21 0x00007fd09fffe748 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#22 0x00007fd09fffec55 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#23 0x00007fd0a25a1bb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#24 0x0000000000416e14 in ui_main (argc=1, argv=0x7fff42699ac8)
    at gui_main.c:1652
        home = <value optimised out>
        sig = <value optimised out>
        __FUNCTION__ = "ui_main"
#25 0x000000000041e5ef in client_main (argc=<value optimised out>, 
    argv=0x7fff42699ac8) at client_main.c:535
        i = 5
        loglevel = LOG_NORMAL
        ui_options = <value optimised out>
        ui_separator = false
        option = <value optimised out>
        user_tileset = false
        fatal_assertions = 6
        __FUNCTION__ = "client_main"
#26 0x00007fd09f7f2c4d in __libc_start_main (main=<value optimised out>, 
    argc=<value optimised out>, ubp_av=<value optimised out>, 
    init=<value optimised out>, fini=<value optimised out>, 
    rtld_fini=<value optimised out>, stack_end=0x7fff42699ab8)
    at libc-start.c:226
        result = <value optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 7615475258811714098, 
                4272112, 140734307605184, 0, 0, -7615271731919353294, 
                -7633983343906813390}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x58b820, 0x7fff42699ac8}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 5814304}}}
        not_first_call = <value optimised out>
#27 0x0000000000413019 in _start ()
No symbol table info available.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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