==14194== Invalid read of size 8 ==14194== at 0x5AE38C0: cairo_matrix_transform_distance (cairo-matrix.c:332) ==14194== by 0x5AE5D85: _compute_face (cairo-path-stroke.c:547) ==14194== by 0x5AE6C98: _cairo_stroker_curve_to (cairo-path-stroke.c:825) ==14194== by 0x5AE518C: _cairo_path_fixed_interpret (cairo-path-fixed.c:483) ==14194== by 0x5AE66D3: _cairo_path_fixed_stroke_to_traps (cairo-path-stroke.c:1013) ==14194== by 0x5AE03FB: _cairo_gstate_stroke_extents (cairo-gstate.c:1156) ==14194== by 0x5AD86A4: cairo_stroke_extents (cairo.c:2241) ==14194== by 0x5FD0333: Shape::getbounds() (shape.cpp:254) ==14194== by 0x5FC958E: Canvas::getbounds() (runtime.cpp:749) ==14194== by 0x5FC55FF: item_update_bounds (runtime.cpp:136) ==14194== by 0x5FC7D0E: UIElement::FullInvalidate(bool) (runtime.cpp:355) ==14194== by 0x5FC7F6F: UIElement::OnSubPropertyChanged(DependencyProperty*, DependencyProperty*) (runtime.cpp:327) ==14194== Address 0x4E4CF90 is 240 bytes inside a block of size 336 free'd ==14194== at 0x402110F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14194== by 0x5AE0DD4: _cairo_gstate_restore (cairo-gstate.c:186) ==14194== by 0x5AD9BF1: cairo_restore (cairo.c:400) ==14194== by 0x5FD040E: Shape::render(Surface*, int, int, int, int) (shape.cpp:238) ==14194== by 0x5FC57B3: UIElement::dorender(Surface*, int, int, int, int) (runtime.cpp:446) ==14194== by 0x5FCABC6: Canvas::render(Surface*, int, int, int, int) (runtime.cpp:1235) ==14194== by 0x5FC57B3: UIElement::dorender(Surface*, int, int, int, int) (runtime.cpp:446) ==14194== by 0x5FC5A80: surface_paint (runtime.cpp:1514) ==14194== by 0x5FC767B: expose_event_callback(_GtkWidget*, _GdkEventExpose*, void*) (runtime.cpp:1044) ==14194== by 0x57E8F4D: (within /opt/gnome/lib/libgtk-x11-2.0.so.0.800.11) ==14194== by 0x5A9E8DA: g_closure_invoke (in /opt/gnome/lib/libgobject-2.0.so.0.800.6) ==14194== by 0x5AAF232: (within /opt/gnome/lib/libgobject-2.0.so.0.800.6)