Syscall param ioctl(generic) points to uninitialised byte(s) at ??? (in /lib/ld-2.10.1.so) by ??? (in /usr/lib/libGLcore.so.185.18.36) Address 0x7f22e978 is on thread 1's stack Uninitialised value was created by a stack allocation at ??? (in /usr/lib/libGLcore.so.185.18.36) { Memcheck:Param ioctl(generic) obj:/lib/ld-2.10.1.so obj:/usr/lib/libGLcore.so.185.18.36 } fixme:win:EnumDisplayDevicesW ((null),0,0x7f22f714,0x00000000), stub! Jump to the invalid address stated on the next line at ??? by test_DirectDrawEnumerateA (ddrawmodes.c:145) by func_ddrawmodes (ddrawmodes.c:700) by run_test (test.h:541) by main (test.h:591) Address 0x0 is not stack'd, malloc'd or (recently) free'd { Memcheck:Jump obj:* fun:test_DirectDrawEnumerateA fun:func_ddrawmodes fun:run_test fun:main } err:seh:segv_handler Got unexpected trap 0 wine: Unhandled illegal instruction at address (nil) (thread 0025), starting debugger... 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 winedbg --auto 42 48 preloader: Warning: failed to reserve range 00110000-68000000 Unhandled exception: illegal instruction in 32-bit code (0x00000000). Register dump: CS:0073 SS:007b DS:007b ES:0000 FS:000b GS:0013 EIP:00000000 ESP:7f22fbec EBP:7f22fce8 EFLAGS:00000044( - -- Z- -P- ) EAX:00000000 EBX:049f0ff4 ECX:fd5dd3ca EDX:7f22ff08 ESI:7f22fe70 EDI:00000000 Stack dump: 0x7f22fbec: 049c8114 00000000 049f1e8f 049f1e9e 0x7f22fbfc: 00000000 00000001 04780ff4 7f22fc88 0x7f22fc0c: 047270ff 7f22ff08 049c7619 0000000c 0x7f22fc1c: 049f0ff4 7f22fe70 00000000 7f22fce8 0x7f22fc2c: 81a8f73d fd5dd3ca 00000000 00000000 0x7f22fc3c: 00000000 00000000 00000000 7f22fbc8 Backtrace: =>0 0x00000000 (0x7f22fce8) 1 0x0495dfd0 test_DirectDrawEnumerateA+0x5c() [/home/dank/wine-git/dlls/ddraw/tests/ddrawmodes.c:145] in ddraw_test (0x7f22fd18) 2 0x04960319 func_ddrawmodes+0x2a() [/home/dank/wine-git/dlls/ddraw/tests/ddrawmodes.c:701] in ddraw_test (0x7f22fd28) 3 0x04984774 run_test+0x9f(name="ddrawmodes.c") [/home/dank/wine-git/dlls/ddraw/tests/../../../include/wine/test.h:543] in ddraw_test (0x7f22fd88) 4 0x04984a8e main+0x1f1(argc=0x7f22fe70, argv=0x7f001d00) [/home/dank/wine-git/dlls/ddraw/tests/../../../include/wine/test.h:592] in ddraw_test (0x7f22fe58) 5 0x04984b1e __wine_spec_exe_entry+0x6a(peb=0x7ffdf000) [/home/dank/wine-git/dlls/winecrt0/exe_entry.c:36] in ddraw_test (0x7f22fe98) 6 0x04854ba4 start_process+0x137(peb=0x7ffdf000) [/home/dank/wine-git/dlls/kernel32/process.c:1028] in kernel32 (0x7f22fed8) 7 0x047569f0 call_thread_func+0xc() in ntdll (0x7f22fee8) 8 0x04756a2e call_thread_entry_point+0x34(entry=0x4854a6d, arg=0x7ffdf000) [/home/dank/wine-git/dlls/ntdll/signal_i386.c:2457] in ntdll (0x7f22ffc8) 9 0x0472f736 LdrInitializeThunk(kernel_start=0x7ffdf000, unknown2=0, unknown3=0, unknown4=0) [/home/dank/wine-git/dlls/ntdll/loader.c:2621] in ntdll (0x7f22ffe8) -- no code accessible -- Modules: Module Address Debug info Name (59 modules) ELF 4000000- 401d000 Deferred ld-linux.so.2 ELF 401f000- 4022000 Deferred vgpreload_core-x86-linux.so ELF 4022000- 402a000 Deferred vgpreload_memcheck-x86-linux.so ELF 402a000- 4167000 Deferred libwine.so.1 ELF 4178000- 4191000 Deferred libpthread.so.0 ELF 4192000- 42d7000 Deferred libc.so.6 ELF 42d7000- 42db000 Deferred libdl.so.2 ELF 46dc000- 479d000 Dwarf ntdll \-PE 46f0000- 479d000 \ ntdll ELF 479d000- 47c3000 Deferred libm.so.6 ELF 47c3000- 47cb000 Deferred libnss_compat.so.2 ELF 47cb000- 47e2000 Deferred libnsl.so.1 ELF 47e2000- 47ed000 Deferred libnss_nis.so.2 ELF 47ed000- 47f9000 Deferred libnss_files.so.2 ELF 47f9000- 4938000 Dwarf kernel32 \-PE 4810000- 4938000 \ kernel32 ELF 4938000- 4992000 Dwarf ddraw_test \-PE 4940000- 4992000 \ ddraw_test ELF 4992000- 49f3000 Deferred ddraw \-PE 49a0000- 49f3000 \ ddraw ELF 49f3000- 4b16000 Deferred ole32 \-PE 4a10000- 4b16000 \ ole32 ELF 4b16000- 4b72000 Deferred advapi32 \-PE 4b20000- 4b72000 \ advapi32 ELF 4b72000- 4beb000 Deferred rpcrt4 \-PE 4b80000- 4beb000 \ rpcrt4 ELF 4beb000- 4d0d000 Deferred user32 \-PE 4c00000- 4d0d000 \ user32 ELF 4d0d000- 4da7000 Deferred gdi32 \-PE 4d20000- 4da7000 \ gdi32 ELF 4da7000- 4e26000 Deferred libfreetype.so.6 ELF 4e26000- 4e3c000 Deferred libz.so.1 ELF 4e3c000- 4e69000 Deferred libfontconfig.so.1 ELF 4e69000- 4e90000 Deferred libexpat.so.1 ELF 4eb2000- 4f63000 Deferred winex11 \-PE 4ec0000- 4f63000 \ winex11 ELF 4f65000- 4f67000 Deferred libnvidia-tls.so.1 ELF 4f74000- 4f7d000 Deferred libsm.so.6 ELF 4f7d000- 4f98000 Deferred libice.so.6 ELF 4f98000- 4fa8000 Deferred libxext.so.6 ELF 4fa8000- 50d7000 Deferred libx11.so.6 ELF 50d7000- 50dc000 Deferred libuuid.so.1 ELF 50dc000- 50e0000 Deferred libxau.so.6 ELF 50e0000- 50fe000 Deferred libxcb.so.1 ELF 50fe000- 5103000 Deferred libxdmcp.so.6 ELF 5103000- 5124000 Deferred imm32 \-PE 5110000- 5124000 \ imm32 ELF 5124000- 5127000 Deferred libxinerama.so.1 ELF 5127000- 512d000 Deferred libxxf86vm.so.1 ELF 512d000- 5137000 Deferred libxrender.so.1 ELF 5137000- 5140000 Deferred libxrandr.so.2 ELF 5140000- 5144000 Deferred libxcomposite.so.1 ELF 5144000- 514a000 Deferred libxfixes.so.3 ELF 514a000- 5155000 Deferred libxcursor.so.1 ELF 5181000- 52ea000 Deferred wined3d \-PE 5190000- 52ea000 \ wined3d ELF 52fb000- 53a3000 Deferred libgl.so.1 ELF 5f55000- 6ebe000 Deferred libglcore.so.1 ELF 7bf00000-7bf04000 Deferred Threads: process tid prio (all id:s are in hex) 00000008 notepad.exe 00000009 0 0000000e services.exe 00000014 0 00000010 0 0000000f 0 00000011 winedevice.exe 00000018 0 00000017 0 00000013 0 00000012 0 00000019 explorer.exe 0000001a 0 0000002a (D) Z:\home\dank\wine-git\dlls\ddraw\tests\ddraw_test.exe 00000025 0 <== Backtrace: =>0 0x00000000 (0x7f22fce8) 1 0x0495dfd0 test_DirectDrawEnumerateA+0x5c() [/home/dank/wine-git/dlls/ddraw/tests/ddrawmodes.c:145] in ddraw_test (0x7f22fd18) 2 0x04960319 func_ddrawmodes+0x2a() [/home/dank/wine-git/dlls/ddraw/tests/ddrawmodes.c:701] in ddraw_test (0x7f22fd28) 3 0x04984774 run_test+0x9f(name="ddrawmodes.c") [/home/dank/wine-git/dlls/ddraw/tests/../../../include/wine/test.h:543] in ddraw_test (0x7f22fd88) 4 0x04984a8e main+0x1f1(argc=0x7f22fe70, argv=0x7f001d00) [/home/dank/wine-git/dlls/ddraw/tests/../../../include/wine/test.h:592] in ddraw_test (0x7f22fe58) 5 0x04984b1e __wine_spec_exe_entry+0x6a(peb=0x7ffdf000) [/home/dank/wine-git/dlls/winecrt0/exe_entry.c:36] in ddraw_test (0x7f22fe98) 6 0x04854ba4 start_process+0x137(peb=0x7ffdf000) [/home/dank/wine-git/dlls/kernel32/process.c:1028] in kernel32 (0x7f22fed8) 7 0x047569f0 call_thread_func+0xc() in ntdll (0x7f22fee8) 8 0x04756a2e call_thread_entry_point+0x34(entry=0x4854a6d, arg=0x7ffdf000) [/home/dank/wine-git/dlls/ntdll/signal_i386.c:2457] in ntdll (0x7f22ffc8) 9 0x0472f736 LdrInitializeThunk(kernel_start=0x7ffdf000, unknown2=0, unknown3=0, unknown4=0) [/home/dank/wine-git/dlls/ntdll/loader.c:2621] in ntdll (0x7f22ffe8) err:seh:segv_handler Got unexpected trap 0 HEAP SUMMARY: in use at exit: 1,083,967 bytes in 5,346 blocks total heap usage: 28,980 allocs, 23,634 frees, 11,427,004 bytes allocated HEAP SUMMARY: in use at exit: 38,467 bytes in 171 blocks total heap usage: 3,490 allocs, 3,319 frees, 25,212,993 bytes allocated LEAK SUMMARY: definitely lost: 0 bytes in 0 blocks indirectly lost: 120 bytes in 10 blocks possibly lost: 106,147 bytes in 52 blocks still reachable: 845,348 bytes in 2,486 blocks suppressed: 132,352 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: 59 errors from 10 contexts (suppressed: 351 from 112) used_suppression: 41 suppress_leak_libgl used_suppression: 94 todo_suppress_libfontconfig_leak used_suppression: 174 todo_suppress_dlopen_leak used_suppression: 1 suppress_nss_leak used_suppression: 1 user32_builtin_classes_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 todo_wine_dlls_winex11drv__x11drv_init_thread_data_main used_suppression: 1 wine_bug_20692_wontfix 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: 1 X on SUSE11 writev uninit padding 2 used_suppression: 229 dl-hack3-cond-1 used_suppression: 68 glibc-2.10-on-SUSE-10.3-(x86) 8 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1700) by elf_load_file (elf_module.c:1130) by elf_search_and_load_file (elf_module.c:1268) by elf_search_loader (elf_module.c:1398) by elf_read_wine_loader_dbg_info (elf_module.c:1417) by check_live_target (dbghelp.c:277) by SymInitializeW (dbghelp.c:368) by SymInitialize (dbghelp.c:404) by dbg_init (winedbg.c:370) by dbg_handle_debug_event (tgt_active.c:521) by wait_exception (tgt_active.c:692) by dbg_active_wait_for_first_exception (tgt_active.c:723) by dbg_active_auto (tgt_active.c:968) by main (winedbg.c:668) { Memcheck:Leak fun:notify_alloc fun:RtlAllocateHeap fun:elf_load_file fun:elf_search_and_load_file fun:elf_search_loader fun:elf_read_wine_loader_dbg_info fun:check_live_target fun:SymInitializeW fun:SymInitialize fun:dbg_init fun:dbg_handle_debug_event fun:wait_exception fun:dbg_active_wait_for_first_exception fun:dbg_active_auto fun:main } 368 bytes in 46 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1700) by elf_load_file (elf_module.c:1130) by elf_search_and_load_file (elf_module.c:1268) by elf_enum_sync_cb (elf_module.c:1335) by elf_enum_modules_internal (elf_module.c:1319) by elf_synchronize_module_list (elf_module.c:1360) by SymInitializeW (dbghelp.c:372) by SymInitialize (dbghelp.c:404) by dbg_init (winedbg.c:370) by dbg_handle_debug_event (tgt_active.c:521) by wait_exception (tgt_active.c:692) by dbg_active_wait_for_first_exception (tgt_active.c:723) by dbg_active_auto (tgt_active.c:968) by main (winedbg.c:668) { Memcheck:Leak fun:notify_alloc fun:RtlAllocateHeap fun:elf_load_file fun:elf_search_and_load_file fun:elf_enum_sync_cb fun:elf_enum_modules_internal fun:elf_synchronize_module_list fun:SymInitializeW fun:SymInitialize fun:dbg_init fun:dbg_handle_debug_event fun:wait_exception fun:dbg_active_wait_for_first_exception fun:dbg_active_auto fun:main } LEAK SUMMARY: definitely lost: 376 bytes in 47 blocks indirectly lost: 120 bytes in 10 blocks possibly lost: 0 bytes in 0 blocks still reachable: 28,572 bytes in 46 blocks suppressed: 9,399 bytes in 68 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: 131 from 53) used_suppression: 53 todo_suppress_dlopen_leak used_suppression: 1 suppress_nss_leak used_suppression: 2 todo_suppress_wine_alloc_module_leak used_suppression: 1 todo_suppress_wine_init_load_order_leak used_suppression: 1 dl-hack3-cond-4 used_suppression: 40 glibc-2.10-on-SUSE-10.3-(x86) used_suppression: 86 dl-hack3-cond-1