Source and destination overlap in memcpy(0x7f22fc7c, 0x7f22fc7c, 10) at memcpy (mc_replace_strmem.c:497) by StreamOnMemory_Read (stream.c:100) by IWICStreamImpl_Read (stream.c:303) by test_StreamOnMemory (stream.c:132) by func_stream (stream.c:317) by run_test (test.h:541) by main (test.h:591) { Memcheck:Overlap fun:memcpy fun:StreamOnMemory_Read fun:IWICStreamImpl_Read fun:test_StreamOnMemory fun:func_stream fun:run_test fun:main } Source and destination overlap in memcpy(0x7f22fc7c, 0x7f22fc7c, 64) at memcpy (mc_replace_strmem.c:497) by StreamOnMemory_Read (stream.c:100) by IWICStreamImpl_Read (stream.c:303) by test_StreamOnMemory (stream.c:141) by func_stream (stream.c:317) by run_test (test.h:541) by main (test.h:591) { Memcheck:Overlap fun:memcpy fun:StreamOnMemory_Read fun:IWICStreamImpl_Read fun:test_StreamOnMemory fun:func_stream fun:run_test fun:main } HEAP SUMMARY: in use at exit: 314,644 bytes in 4,930 blocks total heap usage: 25,708 allocs, 20,778 frees, 6,254,737 bytes allocated LEAK SUMMARY: definitely lost: 0 bytes in 0 blocks indirectly lost: 120 bytes in 10 blocks possibly lost: 0 bytes in 0 blocks still reachable: 232,706 bytes in 2,108 blocks suppressed: 81,818 bytes in 2,812 blocks Reachable blocks (those to which a pointer was found) are not shown. To see them, rerun with: --leak-check=full --show-reachable=yes For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 312 from 95) used_suppression: 95 todo_suppress_libfontconfig_leak used_suppression: 151 todo_suppress_dlopen_leak used_suppression: 1 suppress_nss_leak used_suppression: 2 todo_wine_dlls_winex11drv__X11DRV_XRender_Init used_suppression: 2 todo_wine_dlls_winex11drv__X11DRV_XComposite_Init used_suppression: 2 todo_wine_dlls_winex11drv__X11DRV_XRandR_Init used_suppression: 2 todo_wine_dlls_winex11drv__X11DRV_XF86VM_Init used_suppression: 4 todo_wine_dlls_winex11drv__xinerama_init used_suppression: 2 todo_wine_dlls_winex11drv__XkbUseExtension used_suppression: 1 user32_builtin_classes_leak used_suppression: 1 todo_suppress_wine_init_load_order_leak used_suppression: 1 todo_suppress_wine_alloc_module_leak used_suppression: 1 todo_wine_dlls_winex11drv_XOpenDisplay used_suppression: 64 glibc-2.10-on-SUSE-10.3-(x86) used_suppression: 209 dl-hack3-cond-1