Invalid read of size 2 at RtlImageNtHeader (loader.c:2514) by RtlImageDirectoryEntryToData (loader.c:2688) by find_entry (resource.c:189) by LdrFindResource_U (resource.c:303) by find_resourceW (resource.c:139) by FindResourceExW (resource.c:183) by FindResourceW (resource.c:192) by LoadMenuW (menu.c:4335) by WIN_CreateWindowEx (win.c:1284) by CreateWindowExA (win.c:1467) by check_instance_ (class.c:266) by test_instances (class.c:416) by func_class (class.c:889) by run_test (test.h:541) by main (test.h:591) Address 0x12345678 is not stack'd, malloc'd or (recently) free'd { Memcheck:Addr2 fun:RtlImageNtHeader fun:RtlImageDirectoryEntryToData fun:find_entry fun:LdrFindResource_U fun:find_resourceW fun:FindResourceExW fun:FindResourceW fun:LoadMenuW fun:WIN_CreateWindowEx fun:CreateWindowExA fun:check_instance_ fun:test_instances fun:func_class fun:run_test fun:main } HEAP SUMMARY: in use at exit: 485,228 bytes in 5,084 blocks total heap usage: 26,709 allocs, 21,625 frees, 6,053,899 bytes allocated 28 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1700) by DIALOG_get_info (defdlg.c:335) by DIALOG_CreateIndirect (dialog.c:669) by CreateDialogIndirectParamAorW (dialog.c:755) by CreateDialogIndirectParamA (dialog.c:764) by CreateDialogParamA (dialog.c:729) by CreateDialogParamTest (class.c:833) by func_class (class.c:884) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:notify_alloc fun:RtlAllocateHeap fun:DIALOG_get_info fun:DIALOG_CreateIndirect fun:CreateDialogIndirectParamAorW fun:CreateDialogIndirectParamA fun:CreateDialogParamA fun:CreateDialogParamTest fun:func_class fun:run_test fun:main } LEAK SUMMARY: definitely lost: 28 bytes in 1 blocks indirectly lost: 120 bytes in 10 blocks possibly lost: 40,544 bytes in 21 blocks still reachable: 370,240 bytes in 2,353 blocks suppressed: 74,296 bytes in 2,699 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: 11 errors from 4 contexts (suppressed: 367 from 90) used_suppression: 94 todo_suppress_libfontconfig_leak used_suppression: 143 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: 4 todo_wine_dlls_winex11drv__XkbUseExtension used_suppression: 1 user32_builtin_classes_leak used_suppression: 1 todo_wine_dlls_winex11drv__x11drv_init_thread_data_main used_suppression: 1 todo_suppress_wine_init_load_order_leak used_suppression: 1 todo_suppress_wine_alloc_module_leak used_suppression: 2 todo_wine_dlls_winex11drv_XOpenDisplay used_suppression: 75 bogus_Xcursor used_suppression: 3 X on SUSE11 writev uninit padding 2 used_suppression: 56 glibc-2.10-on-SUSE-10.3-(x86) used_suppression: 193 dl-hack3-cond-1