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

Looks a lot better, thanks, but I did get one more segfault (while scrolling
downwards).

I'm also seeing pixel dust appearing when scrolling left -- it looks as
though lines drawn to the extreme right of the screen bleed onto the left
side by one pixel. I'm seeing this from city labels even with trade route
drawing disabled, so this may be a new bug.

(I'm not quite sure what I was doing when I claimed there was no option to
turn trade routes on and off in the SDL client -- the "City Trade Routes"
option seems to do so.)


#0  putline (pDest=0x48abef0, x0=<value optimized out>, 
    y0=<value optimized out>, x1=744, y1=<value optimized out>, color=65407)
    at graphics.c:906
No locals.
#1  0x00000000004426f9 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 *) 0x57dd130
#2  0x00000000004427bc in draw_trade_routes_for_city (pcity_src=0x4f5e7d0)
    at mapview_common.c:1193
        pcity_dest = <value optimized out>
#3  0x0000000000445e9e in update_map_canvas (canvas_x=0, canvas_y=991, 
    width=1680, height=59) at mapview_common.c:1217
        gui_x0 = 888
        gui_y0 = 2338
        tmp = <value optimized out>
#4  0x0000000000447dd7 in base_set_mapview_origin (gui_x0=888, gui_y0=1347)
    at mapview_common.c:527
        target = (struct canvas *) 0x48ac000
        old_gui_x0 = 916
        old_gui_y0 = 1288
        dx = -28
        dy = 59
        width = 1680
        height = <value optimized out>
        common_x0 = <value optimized out>
        common_x1 = 1652
        common_y0 = 1347
        common_y1 = 2338
        update_x0 = 888
        update_x1 = 916
        update_y0 = 991
        update_y1 = 59
#5  0x0000000000447f86 in set_mapview_origin (gui_x0=888, gui_y0=1347)
    at mapview_common.c:611
        diff_x = -96
        timing_sec = 0.20000000000000001
        frames = 3
        start_y = <value optimized out>
        diff_y = 195
        currtime = 0.21178867565465065
        xmin = -2400
        xmax = 4032
        ymin = 1152
        ymax = 2712
        xsize = 1680
        ysize = 1050
        anim_timer = (struct timer *) 0x57d6900
        total_frames = 7.8902009999999994
        total_time = 0.49116245310000001
#6  0x00000000004481db in center_tile_mapcanvas (ptile=<value optimized
out>)
    at mapview_common.c:805
        gui_x = 888
        gui_y = 6912
        first = false
#7  0x000000000040c757 in button_up_on_map (button_behavior=0x78ce20)
    at mapctrl.c:2233
        ptile = <value optimized out>
        pCity = <value optimized out>
#8  0x00000000004050fb in main_mouse_button_up_handler
(pButtonEvent=0x81a4b0, 
    pData=<value optimized out>) at gui_main.c:331
No locals.
#9  0x0000000000405844 in gui_event_loop (pData=0x0, loop_action=0, 
    key_down_handler=0x4051c0 <main_key_down_handler>, 
    key_up_handler=0x404d70 <main_key_up_handler>, 
    mouse_button_down_handler=0x405100 <main_mouse_button_down_handler>, 
    mouse_button_up_handler=0x4050a0 <main_mouse_button_up_handler>, 
    mouse_motion_handler=0x404da0 <main_mouse_motion_handler>)
    at gui_main.c:680
        ID = 0
        t_current = <value optimized out>
        t_last_unit_anim = 29256
        t_last_map_scrolling = 29327
        real_timer_next_call = 29345
        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 0x0000000000405fa2 in ui_main (argc=1, argv=0x7fff03872678)
    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 = 0 '\0', state = 0 '\0'}, key = {type = 24 '\030', which = 0 '\0',

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

    value = 3}, jball = {type = 24 '\030', which = 0 '\0', ball = 0 '\0', 
    xrel = 3, 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 = 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 = 115 's', state = 2 '\002'}, key = {type = 24 '\030', 
    which = 115 's', state = 2 '\002', keysym = {scancode = 5 '\005', 
      sym = SDLK_UNKNOWN, mod = KMOD_NONE, unicode = 0}}, motion = {
    type = 24 '\030', which = 115 's', state = 2 '\002', x = 5, y = 0, 
    xrel = 0, yrel = 0}, button = {type = 24 '\030', which = 115 's', 
    button = 2 '\002', state = 20 '\024', x = 5, y = 0}, jaxis = {
    type = 24 '\030', which = 115 's', axis = 2 '\002', value = 5}, jball =
{
    type = 24 '\030', which = 115 's', ball = 2 '\002', xrel = 5, yrel = 0},

  jhat = {type = 24 '\030', which = 115 's', hat = 2 '\002', 
    value = 20 '\024'}, jbutton = {type = 24 '\030', which = 115 's', 
    button = 2 '\002', state = 20 '\024'}, 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 = 217 '�', state = 85 'U'}, key = {type = 24 '\030', which = 217
'�', 
    state = 85 'U', keysym = {scancode = 6 '\006', sym = SDLK_UNKNOWN, 
      mod = KMOD_NONE, unicode = 0}}, motion = {type = 24 '\030', 
    which = 217 '�', state = 85 'U', x = 6, y = 0, xrel = 0, yrel = 0}, 
  button = {type = 24 '\030', which = 217 '�', button = 85 'U', 
    state = 0 '\0', x = 6, y = 0}, jaxis = {type = 24 '\030', which = 217
'�', 
    axis = 85 'U', value = 6}, jball = {type = 24 '\030', which = 217 '�',

    ball = 85 'U', xrel = 6, yrel = 0}, jhat = {type = 24 '\030', 
    which = 217 '�', hat = 85 'U', value = 0 '\0'}, jbutton = {
    type = 24 '\030', which = 217 '�', button = 85 'U', 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 = 0 '\0', state = 0 '\0'}, key = {type = 24
'\030', 
    which = 0 '\0', state = 0 '\0', keysym = {scancode = 7 '\a', 
      sym = SDLK_UNKNOWN, mod = KMOD_NONE, unicode = 0}}, motion = {
    type = 24 '\030', which = 0 '\0', state = 0 '\0', x = 7, y = 0, xrel = 0,

    yrel = 0}, button = {type = 24 '\030', which = 0 '\0', button = 0 '\0', 
    state = 0 '\0', x = 7, y = 0}, jaxis = {type = 24 '\030', which = 0 '\0',

    axis = 0 '\0', value = 7}, jball = {type = 24 '\030', which = 0 '\0', 
    ball = 0 '\0', xrel = 7, 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 = 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 0x0000000000428bc7 in client_main (argc=<value optimized out>, 
    argv=0x7fff03872678) at client_main.c:479
        i = 1
        loglevel = 2
        ui_options = 5455040
        ui_separator = <value optimized out>
        option = 0x0
        user_tileset = false
#12 0x00007fff2321c5a6 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#13 0x00000000004049c9 in _start () at ../sysdeps/x86_64/elf/start.S:113
No locals.


    _______________________________________________________

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