Invalid read of size 4 at X11DRV_GetKeyboardLayout (keyboard.c:1998) by GetKeyboardLayout (input.c:682) by IMM_DestroyContext (imm.c:679) by IMM_FreeThreadData (imm.c:239) by DllMain (imm.c:389) by __wine_spec_dll_entry (dll_entry.c:40) by ??? (loader.c:137) by MODULE_InitDLL (loader.c:982) by LdrShutdownThread (loader.c:2348) by exit_thread (thread.c:343) by ??? (signal_i386.c:2429) by call_thread_entry_point (signal_i386.c:2455) by start_thread (thread.c:399) by start_thread (in /lib/tls/i686/cmov/libpthread-2.10.1.so) by clone (in /lib/tls/i686/cmov/libc-2.10.1.so) Address 0x7f0118f4 is not stack'd, malloc'd or (recently) free'd { Memcheck:Addr4 fun:X11DRV_GetKeyboardLayout fun:GetKeyboardLayout fun:IMM_DestroyContext fun:IMM_FreeThreadData fun:DllMain fun:__wine_spec_dll_entry obj:/home/dank/wine-git/dlls/ntdll/ntdll.dll.so fun:MODULE_InitDLL fun:LdrShutdownThread fun:exit_thread obj:/home/dank/wine-git/dlls/ntdll/ntdll.dll.so fun:call_thread_entry_point fun:start_thread fun:start_thread fun:clone } Memcheck, a memory error detector Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. Using Valgrind-3.6.0.SVN and LibVEX; rerun with -h for copyright info Command: /home/dank/wine-git/loader/wine-preloader /home/dank/wine-git/loader/wine Z:\\home\\dank\\wine-git\\dlls\\user32\\tests\\user32_test.exe.so cursoricon 500ea preloader: Warning: failed to reserve range 00110000-68000000 HEAP SUMMARY: in use at exit: 394,679 bytes in 5,032 blocks total heap usage: 29,248 allocs, 24,216 frees, 6,267,532 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: 314,946 bytes in 2,224 blocks suppressed: 79,613 bytes in 2,798 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: 0 errors from 0 contexts (suppressed: 288 from 89) 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: 2 X on SUSE11 writev uninit padding 2 used_suppression: 55 glibc-2.10-on-SUSE-10.3-(x86) used_suppression: 191 dl-hack3-cond-1 HEAP SUMMARY: in use at exit: 447,724 bytes in 5,415 blocks total heap usage: 47,916 allocs, 42,501 frees, 8,106,234 bytes allocated LEAK SUMMARY: definitely lost: 0 bytes in 0 blocks indirectly lost: 120 bytes in 10 blocks possibly lost: 144 bytes in 1 blocks still reachable: 367,813 bytes in 2,605 blocks suppressed: 79,647 bytes in 2,799 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: 3 errors from 2 contexts (suppressed: 921 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 wine_bug_20692_wontfix used_suppression: 1 todo_suppress_wine_alloc_module_leak used_suppression: 2 todo_wine_dlls_winex11drv_XOpenDisplay used_suppression: 108 X on SUSE11 writev uninit padding 2 used_suppression: 524 bogus_Xcursor used_suppression: 56 glibc-2.10-on-SUSE-10.3-(x86) used_suppression: 193 dl-hack3-cond-1