Follow-up Comment #2, bug #15347 (project freeciv):

...and here's a backtrace from S2_2 r16811.

Also a screenshot (again, a different session), in which I was able to scroll
rightwards a few times (it crashed soon after).


#0  0x000000000048ae3a in putline (pDest=0x1cd5cc0, x0=1343, y0=-120,
x1=-368, 
    y1=-120, color=65407) at graphics.c:832
No locals.
#1  0x000000000043ffc9 in draw_trade_route_line (ptile1=<value optimized
out>, 
    ptile2=<value optimized out>, color=<value optimized out>)
    at mapview_common.c:1169
        line_count = 1
        i = 1
        pcolor = (struct color *) 0x1c92a10
#2  0x000000000044008c in draw_trade_routes_for_city (pcity_src=0x4ed75d0)
    at mapview_common.c:1193
        pcity_dest = <value optimized out>
#3  0x00000000004412be in update_map_canvas (canvas_x=0, canvas_y=950, 
    width=1280, height=10) at mapview_common.c:1217
        gui_x0 = 1568
        gui_y0 = 2438
        full = false
        tmp = <value optimized out>
#4  0x0000000000442f87 in base_set_mapview_origin (gui_x0=1568, gui_y0=1488)
    at mapview_common.c:527
        target = (struct canvas *) 0x1cd5d20
        old_gui_x0 = 1593
        old_gui_y0 = 1478
        dx = -25
        dy = 10
        width = 1280
        height = <value optimized out>
        common_x0 = <value optimized out>
        common_x1 = 1255
        common_y0 = 1488
        common_y1 = 2438
        update_x0 = 1568
        update_x1 = 1593
        update_y0 = 950
        update_y1 = 10
#5  0x000000000044311e in set_mapview_origin (gui_x0=1568, gui_y0=1488)
    at mapview_common.c:611
        diff_x = -384
        timing_sec = 0.20000000000000001
        frames = 7
        start_y = <value optimized out>
        diff_y = 144
        currtime = 0.21528347523423641
        xmin = -2400
        xmax = 3632
        ymin = 1152
        ymax = 2712
        xsize = 1280
        ysize = 960
        anim_timer = (struct timer *) 0x2d98a20
        total_frames = 131.67085384457317
        total_time = 4.3232117187765562
#6  0x000000000044326b in center_tile_mapcanvas (ptile=<value optimized
out>)
    at mapview_common.c:805
        gui_x = 1568
        gui_y = -368
        first = false
#7  0x000000000040b977 in button_up_on_map (button_behavior=0x77ae00)
    at mapctrl.c:2233
        ptile = <value optimized out>
        pCity = <value optimized out>
#8  0x00000000004050ab in main_mouse_button_up_handler
(pButtonEvent=0x8081b0, 
    pData=<value optimized out>) at gui_main.c:331
No locals.
#9  0x00000000004057f4 in gui_event_loop (pData=0x0, loop_action=0, 
    key_down_handler=0x405170 <main_key_down_handler>, 
    key_up_handler=0x404d20 <main_key_up_handler>, 
    mouse_button_down_handler=0x4050b0 <main_mouse_button_down_handler>, 
    mouse_button_up_handler=0x405050 <main_mouse_button_up_handler>, 
    mouse_motion_handler=0x404d50 <main_mouse_motion_handler>)
    at gui_main.c:680
        ID = 0
        t_current = <value optimized out>
        t_last_unit_anim = 30569
        t_last_map_scrolling = 30599
        real_timer_next_call = 30628
        tv = {tv_sec = 0, tv_usec = 0}
        civfdset = {fds_bits = {0 <repeats 16 times>}}
        result = 0
        schot_nr = 0
        schot = '\0' <repeats 31 times>
#10 0x0000000000405f52 in ui_main (argc=1, argv=0x7fff081d64b8)
    at gui_main.c:992
        __Net_User_Event = {type = 24 '\030', active = {type = 24 '\030', 
    gain = 0 '\0', state = 0 '\0'}, key = {type = 24 '\030', which = 0 '\0',

    state = 0 '\0', keysym = {scancode = 1 '\001', sym = SDLK_UNKNOWN, 
      mod = KMOD_NONE, unicode = 0}}, motion = {type = 24 '\030', 
    which = 0 '\0', state = 0 '\0', x = 1, y = 0, xrel = 0, yrel = 0}, 
  button = {type = 24 '\030', which = 0 '\0', button = 0 '\0', state = 0
'\0', 
    x = 1, y = 0}, jaxis = {type = 24 '\030', which = 0 '\0', axis = 0 '\0',

    value = 1}, jball = {type = 24 '\030', which = 0 '\0', ball = 0 '\0', 
    xrel = 1, yrel = 0}, jhat = {type = 24 '\030', which = 0 '\0', 
    hat = 0 '\0', value = 0 '\0'}, jbutton = {type = 24 '\030', 
    which = 0 '\0', button = 0 '\0', state = 0 '\0'}, resize = {
    type = 24 '\030', w = 1, h = 0}, expose = {type = 24 '\030'}, quit = {
    type = 24 '\030'}, user = {type = 24 '\030', code = 1, data1 = 0x0, 
    data2 = 0x0}, syswm = {type = 24 '\030', msg = 0x0}}
        __GGZ_User_Event = {type = 24 '\030', active = {type = 24 '\030', 
    gain = 0 '\0', state = 0 '\0'}, key = {type = 24 '\030', which = 0 '\0',

    state = 0 '\0', keysym = {scancode = 2 '\002', sym = SDLK_UNKNOWN, 
      mod = KMOD_NONE, unicode = 0}}, motion = {type = 24 '\030', 
    which = 0 '\0', state = 0 '\0', x = 2, y = 0, xrel = 0, yrel = 0}, 
  button = {type = 24 '\030', which = 0 '\0', button = 0 '\0', state = 0
'\0', 
    x = 2, y = 0}, jaxis = {type = 24 '\030', which = 0 '\0', axis = 0 '\0',

    value = 2}, jball = {type = 24 '\030', which = 0 '\0', ball = 0 '\0', 
    xrel = 2, yrel = 0}, jhat = {type = 24 '\030', which = 0 '\0', 
    hat = 0 '\0', value = 0 '\0'}, jbutton = {type = 24 '\030', 
    which = 0 '\0', button = 0 '\0', state = 0 '\0'}, resize = {
    type = 24 '\030', w = 2, h = 0}, expose = {type = 24 '\030'}, quit = {
    type = 24 '\030'}, user = {type = 24 '\030', code = 2, data1 = 0x0, 
    data2 = 0x0}, syswm = {type = 24 '\030', msg = 0x0}}
        __Anim_User_Event = {type = 24 '\030', active = {type = 24 '\030', 
    gain = 110 'n', state = 81 'Q'}, key = {type = 24 '\030', which = 110
'n', 
    state = 81 'Q', keysym = {scancode = 3 '\003', sym = SDLK_UNKNOWN, 
      mod = KMOD_NONE, unicode = 0}}, motion = {type = 24 '\030', 
    which = 110 'n', state = 81 'Q', x = 3, y = 0, xrel = 0, yrel = 0}, 
  button = {type = 24 '\030', which = 110 'n', button = 81 'Q', 
    state = 0 '\0', x = 3, y = 0}, jaxis = {type = 24 '\030', which = 110
'n', 
    axis = 81 'Q', value = 3}, jball = {type = 24 '\030', which = 110 'n', 
    ball = 81 'Q', xrel = 3, yrel = 0}, jhat = {type = 24 '\030', 
    which = 110 'n', hat = 81 'Q', value = 0 '\0'}, jbutton = {
    type = 24 '\030', which = 110 'n', button = 81 'Q', state = 0 '\0'}, 
  resize = {type = 24 '\030', w = 3, h = 0}, expose = {type = 24 '\030'}, 
  quit = {type = 24 '\030'}, user = {type = 24 '\030', code = 3, data1 = 0x0,

    data2 = 0x0}, syswm = {type = 24 '\030', msg = 0x0}}
        __Info_User_Event = {type = 24 '\030', active = {type = 24 '\030', 
    gain = 178 '�', state = 84 'T'}, key = {type = 24 '\030', which = 178
'�', 
    state = 84 'T', keysym = {scancode = 5 '\005', sym = SDLK_UNKNOWN, 
      mod = KMOD_NONE, unicode = 0}}, motion = {type = 24 '\030', 
    which = 178 '�', state = 84 'T', x = 5, y = 0, xrel = 0, yrel = 0}, 
  button = {type = 24 '\030', which = 178 '�', button = 84 'T', 
    state = 0 '\0', x = 5, y = 0}, jaxis = {type = 24 '\030', which = 178
'�', 
    axis = 84 'T', value = 5}, jball = {type = 24 '\030', which = 178 '�',

    ball = 84 'T', xrel = 5, yrel = 0}, jhat = {type = 24 '\030', 
    which = 178 '�', hat = 84 'T', value = 0 '\0'}, jbutton = {
    type = 24 '\030', which = 178 '�', button = 84 'T', state = 0 '\0'}, 
  resize = {type = 24 '\030', w = 5, h = 0}, expose = {type = 24 '\030'}, 
  quit = {type = 24 '\030'}, user = {type = 24 '\030', code = 5, data1 = 0x0,

    data2 = 0x0}, syswm = {type = 24 '\030', msg = 0x0}}
        __Flush_User_Event = {type = 24 '\030', active = {type = 24 '\030', 
    gain = 3 '\003', state = 0 '\0'}, key = {type = 24 '\030', 
    which = 3 '\003', state = 0 '\0', keysym = {scancode = 6 '\006', 
      sym = SDLK_UNKNOWN, mod = KMOD_NONE, unicode = 0}}, motion = {
    type = 24 '\030', which = 3 '\003', state = 0 '\0', x = 6, y = 0, 
    xrel = 0, yrel = 0}, button = {type = 24 '\030', which = 3 '\003', 
    button = 0 '\0', state = 0 '\0', x = 6, y = 0}, jaxis = {type = 24
'\030', 
    which = 3 '\003', axis = 0 '\0', value = 6}, jball = {type = 24 '\030', 
    which = 3 '\003', ball = 0 '\0', xrel = 6, yrel = 0}, jhat = {
    type = 24 '\030', which = 3 '\003', hat = 0 '\0', value = 0 '\0'}, 
  jbutton = {type = 24 '\030', which = 3 '\003', button = 0 '\0', 
    state = 0 '\0'}, resize = {type = 24 '\030', w = 6, h = 0}, expose = {
    type = 24 '\030'}, quit = {type = 24 '\030'}, user = {type = 24 '\030', 
    code = 6, data1 = 0x0, data2 = 0x0}, syswm = {type = 24 '\030', msg =
0x0}}
        __pMap_Scroll_User_Event = {type = 24 '\030', active = {
    type = 24 '\030', gain = 1 '\001', state = 0 '\0'}, key = {
    type = 24 '\030', which = 1 '\001', state = 0 '\0', keysym = {
      scancode = 7 '\a', sym = SDLK_UNKNOWN, mod = KMOD_NONE, unicode = 0}},

  motion = {type = 24 '\030', which = 1 '\001', state = 0 '\0', x = 7, y = 0,

    xrel = 0, yrel = 0}, button = {type = 24 '\030', which = 1 '\001', 
    button = 0 '\0', state = 0 '\0', x = 7, y = 0}, jaxis = {type = 24
'\030', 
    which = 1 '\001', axis = 0 '\0', value = 7}, jball = {type = 24 '\030', 
    which = 1 '\001', ball = 0 '\0', xrel = 7, yrel = 0}, jhat = {
    type = 24 '\030', which = 1 '\001', hat = 0 '\0', value = 0 '\0'}, 
  jbutton = {type = 24 '\030', which = 1 '\001', button = 0 '\0', 
    state = 0 '\0'}, resize = {type = 24 '\030', w = 7, h = 0}, expose = {
    type = 24 '\030'}, quit = {type = 24 '\030'}, user = {type = 24 '\030', 
    code = 7, data1 = 0x0, data2 = 0x0}, syswm = {type = 24 '\030', msg =
0x0}}
#11 0x00000000004264f7 in client_main (argc=<value optimized out>, 
    argv=0x7fff081d64b8) at client_main.c:479
        i = 1
        loglevel = 2
        ui_options = 5393824
        ui_separator = <value optimized out>
        option = 0x0
        user_tileset = false
#12 0x00007ff0e01375a6 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#13 0x0000000000404979 in _start () at ../sysdeps/x86_64/elf/start.S:113
No locals.


(file #8060)
    _______________________________________________________

Additional Item Attachment:

File name: S2_2-badtrade-right.png        Size:723 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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