==19966== Invalid read of size 4 ==19966== at 0x535B2ED: shape_get_stroke_dash_array (shape.cpp:465) ==19966== by 0x535C7B9: Shape::DoDraw(_cairo*, bool, bool) (shape.cpp:205) ==19966== by 0x535CB58: Shape::GetBounds() (shape.cpp:252) ==19966== by 0x5343C72: Canvas::GetBounds() (canvas.cpp:104) ==19966== by 0x5365C2F: UIElement::UpdateBounds() (uielement.cpp:30) ==19966== by 0x5347472: VisualCollection::VisualUpdate(DependencyObject*) (collection.cpp:317) ==19966== by 0x53485BB: VisualCollection::Add(DependencyObject*) (collection.cpp:335) ==19966== by 0x5347307: collection_add (collection.cpp:150) ==19966== by 0x6D23E0B: ??? ==19966== by 0x6D23D7E: ??? ==19966== by 0x4BABCFC: ??? ==19966== by 0x4BAA062: ??? ==19966== Address 0x6387AD0 is 0 bytes inside a block of size 48 free'd ==19966== at 0x402110f: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==19966== by 0x4057891: g_free (in /opt/gnome/lib/libglib-2.0.so.0.800.6) ==19966== by 0x4bb7f6d: System.Runtime.InteropServices.Marshal:FreeHGlobal ==19966== by 0x65da08f: System.Windows.DependencyObject:FreeValue ==19966== by 0x6d2b080: System.Windows.DependencyObject:SetValue ==19966== by 0x6d2af5a: System.Windows.Shapes.Shape:set_StrokeDashArray ==19966== by 0x4babcdd: X:Main ==19966== by 0x4baa062: ??? ==19966== by 0x809e1da: mono_runtime_exec_main (object.c:2448) ==19966== by 0x809E518: mono_runtime_run_main (object.c:2283) ==19966== by 0x805F6D3: mono_main (driver.c:578) ==19966== by 0x805E2E1: main (main.c:6)