Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#88 Sometimes Crashes When Moving the Map with Auto Download

closed
nobody
Interface (19)
7
2013-03-22
2012-06-12
Gankov
No

Sometimes when i move map viking crash.

What i doing (Step to reproduce):
1 - run viking
2 - add map (layers-> new layer map)
3 - checkbox automatic download
4 - open gpx file
5 - moving map
after some time, when i move map, viking crash

I use openSUSE 12.1 and viking 1.3
backtrace in gdb:
Program received signal SIGSEGV, Segmentation fault.
gdk_rgb_convert_0888 (image_info=<optimized out>, image=<optimized out>, x0=<optimized out>, y0=<optimized out>, width=143, height=
64, buf=0x7fffdcfa0163 <Address 0x7fffdcfa0163 out of bounds>, rowstride=768, x_align=0, y_align=106, cmap=0x0) at gdkrgb.c:2146
2146 p[0] = bp2[2];
(gdb) bt
#0 gdk_rgb_convert_0888 (image_info=<optimized out>, image=<optimized out>, x0=<optimized out>, y0=<optimized out>, width=143,
height=64, buf=0x7fffdcfa0163 <Address 0x7fffdcfa0163 out of bounds>, rowstride=768, x_align=0, y_align=106, cmap=0x0)
at gdkrgb.c:2146
#1 0x00007ffff7327732 in gdk_draw_rgb_image_core (image_info=0xa190b0, drawable=0xa3c6a0, gc=0xa17360, x=<optimized out>,
y=<optimized out>, width=143, height=256, buf=0x7fffdcfa0163 <Address 0x7fffdcfa0163 out of bounds>, pixstride=3, rowstride=768,
conv=0x7ffff7325e30 <gdk_rgb_convert_0888>, cmap=0x0, xdith=0, ydith=0) at gdkrgb.c:3331
#2 0x00007ffff7329c12 in IA__gdk_draw_rgb_image_dithalign (drawable=0xa3c6a0, gc=0xa17360, x=0, y=106, width=143, height=256, dith=
GDK_RGB_DITHER_NONE, rgb_buf=0x7fffdcfa0163 <Address 0x7fffdcfa0163 out of bounds>, rowstride=768, xdith=0, ydith=0)
at gdkrgb.c:3421
#3 0x00007ffff7314a40 in gdk_drawable_real_draw_pixbuf (drawable=0xa2e010, gc=0xa17360, pixbuf=0xb7f370, src_x=113, src_y=0, dest_x=
0, dest_y=106, width=143, height=256, dither=GDK_RGB_DITHER_NONE, x_dither=0, y_dither=0) at gdkdraw.c:1828
#4 0x00007ffff73487ae in gdk_x11_draw_pixbuf (drawable=0xa3c6a0, gc=0x0, pixbuf=0xb7f370, src_x=0, src_y=0, dest_x=-113, dest_y=106,
width=256, height=256, dither=GDK_RGB_DITHER_NONE, x_dither=0, y_dither=0) at gdkdrawable-x11.c:1496
#5 0x00000000004350a6 in vik_viewport_draw_pixbuf ()
#6 0x000000000044b780 in maps_layer_draw_section ()
#7 0x000000000044b9be in maps_layer_draw ()
#8 0x0000000000436749 in vik_aggregate_layer_draw ()
#9 0x000000000042bae1 in draw_redraw ()
#10 0x000000000042bd49 in draw_update ()
#11 0x0000000000431b4d in pantool_move ()
#12 0x0000000000431465 in draw_mouse_motion ()
#13 0x00007ffff76e19d9 in _gtk_marshal_BOOLEAN__BOXED (closure=0x9af370, return_value=0x7fffffffd780, n_param_values=<optimized out>,
param_values=0x7fffffffd830, invocation_hint=<optimized out>, marshal_data=<optimized out>) at gtkmarshalers.c:86
---Type <return> to continue, or q <return> to quit---
#14 0x00007ffff65fb710 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0
#15 0x00007ffff660c790 in ?? () from /usr/lib64/libgobject-2.0.so.0
#16 0x00007ffff661432b in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
#17 0x00007ffff66148a2 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#18 0x00007ffff77f953e in gtk_widget_event_internal (widget=0x822050, event=0xc40190) at gtkwidget.c:4991
#19 0x00007ffff76dfd74 in IA__gtk_propagate_event (widget=0x822050, event=0xc40190) at gtkmain.c:2489
#20 0x00007ffff76e00cb in IA__gtk_main_do_event (event=0xc40190) at gtkmain.c:1684
#21 0x00007ffff734bcbc in gdk_event_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>)
at gdkevents-x11.c:2377
#22 0x00007ffff633e415 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#23 0x00007ffff633e748 in ?? () from /usr/lib64/libglib-2.0.so.0
#24 0x00007ffff633eb42 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#25 0x00007ffff76df0d7 in IA__gtk_main () at gtkmain.c:1256
#26 0x00000000004126ab in main ()

Discussion

  • Rob Norris
    Rob Norris
    2012-06-12

    Thank you for the report.

    Unfortunately despite attempted improvements I think there are still problems with the multi-threading redraw signalling method.

    Such crashes seem less prevalent than 1.2, but unfortunately they still occur.

    If you continue running Viking from the debugger, please also report the backtrace of each thread if/when it happens again.

     
  • Rob Norris
    Rob Norris
    2012-06-12

    • labels: 1167641 --> Interface
    • priority: 5 --> 7
    • summary: crash when map moving --> Sometimes Crashes When Moving the Map with Auto Download
     
  • Rob Norris
    Rob Norris
    2013-03-22

    • status: open --> closed
     
  • Rob Norris
    Rob Norris
    2013-03-22

    The final place where multi thread update conflicts were resolved in
    version 1.4