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 0x7f22d9a8 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,0x7f22f03c,0x00000000), stub! wine: Unhandled page fault on write access to 0x06c9cd5c at address 0x4e3b7c0 (thread 0022), 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 33 56 preloader: Warning: failed to reserve range 00110000-68000000 Unhandled exception: page fault on write access to 0x06c9cd5c in 32-bit code (0x04e3b7c0). Register dump: CS:0073 SS:007b DS:007b ES:0000 FS:000b GS:0013 EIP:04e3b7c0 ESP:7f22ea1c EBP:7f22eb08 EFLAGS:00000000( - -- - - - ) EAX:04553798 EBX:074980a4 ECX:0454d908 EDX:042dc6c0 ESI:7f22fe70 EDI:00000000 Stack dump: 0x7f22ea1c: 05dc3af3 3f800000 00000000 04553790 0x7f22ea2c: 05ca92b5 3f800000 00000000 7f22eb08 0x7f22ea3c: 0637e98d 07498000 00000008 00000002 0x7f22ea4c: 00001406 00000000 00000000 05825ff4 0x7f22ea5c: 057df895 3f800000 00000000 00000000 0x7f22ea6c: 00000000 00000000 00000000 000080e1 Backtrace: =>0 0x04e3b7c0 (0x7f22eb08) 1 0x057dfdfe init_format_filter_info+0x275(gl_info=0x7f067dc4, vendor=HW_VENDOR_NVIDIA) [/home/dank/wine-git/dlls/wined3d/utils.c:986] in wined3d (0x7f22eb88) 2 0x057e0b12 initPixelFormats+0x81(gl_info=0x7f067dc4, vendor=HW_VENDOR_NVIDIA) [/home/dank/wine-git/dlls/wined3d/utils.c:1177] in wined3d (0x7f22eba8) 3 0x057436d7 InitAdapters+0x268a(This=0x7f067da0) [/home/dank/wine-git/dlls/wined3d/directx.c:5097] in wined3d (0x7f22f0d8) 4 0x057ebaeb WineDirect3DCreate+0x67(dxVersion=0x0009, parent=0x7f0014a0) [/home/dank/wine-git/dlls/wined3d/wined3d_main.c:87] in wined3d (0x7f22f128) 5 0x06c7fb5e Direct3DCreate9+0x62(SDKVersion=0x0020) [/home/dank/wine-git/dlls/d3d9/d3d9_main.c:43] in d3d9 (0x7f22f168) 6 0x0551ac5e get_display_device_id+0xa0(szIdentifierBuffer="134.2 MB") [/home/dank/wine-git/dlls/dxdiagn/provider.c:212] in dxdiagn (0x7f22f608) 7 0x0551b721 DXDiag_InitDXDiagDisplayContainer+0x2bf(pSubCont=0x7f020070) [/home/dank/wine-git/dlls/dxdiagn/provider.c:537] in dxdiagn (0x7f22fc38) 8 0x0551c4f4 DXDiag_InitRootDXDiagContainer+0x1f9(pRootCont=0x7f014840) [/home/dank/wine-git/dlls/dxdiagn/provider.c:799] in dxdiagn (0x7f22fc78) 9 0x0551a937 IDxDiagProviderImpl_GetRootContainer+0xc5(iface=0x7f0151f0, ppInstance=0x7f22fcf4) [/home/dank/wine-git/dlls/dxdiagn/provider.c:122] in dxdiagn (0x7f22fcb8) 10 0x0494d467 test_GetRootContainer+0x24b() [/home/dank/wine-git/dlls/dxdiagn/tests/provider.c:140] in dxdiagn_test (0x7f22fd08) 11 0x0494d4fc func_provider+0x2b() [/home/dank/wine-git/dlls/dxdiagn/tests/provider.c:152] in dxdiagn_test (0x7f22fd28) 12 0x0494e0f8 run_test+0x9f(name="provider.c") [/home/dank/wine-git/dlls/dxdiagn/tests/../../../include/wine/test.h:543] in dxdiagn_test (0x7f22fd88) 13 0x0494e412 main+0x1f1(argc=0x7f22fe70, argv=0x7f001cd0) [/home/dank/wine-git/dlls/dxdiagn/tests/../../../include/wine/test.h:592] in dxdiagn_test (0x7f22fe58) 14 0x0494e4a2 __wine_spec_exe_entry+0x6a(peb=0x7ffdf000) [/home/dank/wine-git/dlls/winecrt0/exe_entry.c:36] in dxdiagn_test (0x7f22fe98) 15 0x048554b8 start_process+0x137(peb=0x7ffdf000) [/home/dank/wine-git/dlls/kernel32/process.c:992] in kernel32 (0x7f22fed8) 16 0x04757a98 call_thread_func+0xc() in ntdll (0x7f22fee8) 17 0x04757ad6 call_thread_entry_point+0x34(entry=0x4855381, arg=0x7ffdf000) [/home/dank/wine-git/dlls/ntdll/signal_i386.c:2457] in ntdll (0x7f22ffc8) 18 0x04730736 LdrInitializeThunk(kernel_start=0x7ffdf000, unknown2=0, unknown3=0, unknown4=0) [/home/dank/wine-git/dlls/ntdll/loader.c:2621] in ntdll (0x7f22ffe8) 19 0x04032ed5 wine_call_on_stack+0x1d() in libwine.so.1 (0x00000000) 0x04e3b7c0: movl $0x100,0x074c8d5c Modules: Module Address Debug info Name (69 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 Dwarf libwine.so.1 ELF 4179000- 4192000 Deferred libpthread.so.0 ELF 4193000- 42d8000 Deferred libc.so.6 ELF 42d8000- 42dc000 Deferred libdl.so.2 ELF 46dd000- 479e000 Dwarf ntdll \-PE 46f0000- 479e000 \ ntdll ELF 479e000- 47c4000 Deferred libm.so.6 ELF 47c4000- 47cc000 Deferred libnss_compat.so.2 ELF 47cc000- 47e3000 Deferred libnsl.so.1 ELF 47e3000- 47ee000 Deferred libnss_nis.so.2 ELF 47ee000- 47fa000 Deferred libnss_files.so.2 ELF 47fa000- 4939000 Dwarf kernel32 \-PE 4810000- 4939000 \ kernel32 ELF 4939000- 4953000 Dwarf dxdiagn_test \-PE 4940000- 4953000 \ dxdiagn_test ELF 4953000- 4a76000 Deferred ole32 \-PE 4970000- 4a76000 \ ole32 ELF 4a76000- 4ad2000 Deferred advapi32 \-PE 4a80000- 4ad2000 \ advapi32 ELF 4ad2000- 4b4b000 Deferred rpcrt4 \-PE 4ae0000- 4b4b000 \ rpcrt4 ELF 4b4b000- 4c6d000 Deferred user32 \-PE 4b60000- 4c6d000 \ user32 ELF 4c6d000- 4d07000 Deferred gdi32 \-PE 4c80000- 4d07000 \ gdi32 ELF 4d07000- 4d86000 Deferred libfreetype.so.6 ELF 4d86000- 4d9c000 Deferred libz.so.1 ELF 4d9c000- 4dc9000 Deferred libfontconfig.so.1 ELF 4dc9000- 4df0000 Deferred libexpat.so.1 ELF 4e38000- 4e3a000 Deferred libnvidia-tls.so.1 ELF 4e48000- 4e4c000 Deferred libxau.so.6 ELF 524c000- 52fe000 Deferred winex11 \-PE 5260000- 52fe000 \ winex11 ELF 52fe000- 5307000 Deferred libsm.so.6 ELF 5307000- 5322000 Deferred libice.so.6 ELF 5322000- 5332000 Deferred libxext.so.6 ELF 5332000- 5461000 Deferred libx11.so.6 ELF 5461000- 5466000 Deferred libuuid.so.1 ELF 5466000- 5484000 Deferred libxcb.so.1 ELF 5484000- 5489000 Deferred libxdmcp.so.6 ELF 5489000- 54aa000 Deferred imm32 \-PE 5490000- 54aa000 \ imm32 ELF 54aa000- 54ad000 Deferred libxinerama.so.1 ELF 54ad000- 54b3000 Deferred libxxf86vm.so.1 ELF 54b3000- 54bd000 Deferred libxrender.so.1 ELF 54bd000- 54c6000 Deferred libxrandr.so.2 ELF 54c6000- 54ca000 Deferred libxcomposite.so.1 ELF 54ca000- 54d0000 Deferred libxfixes.so.3 ELF 54d0000- 54db000 Deferred libxcursor.so.1 ELF 5507000- 5523000 Dwarf dxdiagn \-PE 5510000- 5523000 \ dxdiagn ELF 5523000- 5584000 Deferred ddraw \-PE 5530000- 5584000 \ ddraw ELF 5584000- 559e000 Deferred version \-PE 5590000- 559e000 \ version ELF 559e000- 55b2000 Deferred lz32 \-PE 55a0000- 55b2000 \ lz32 ELF 55b2000- 56bf000 Deferred oleaut32 \-PE 55d0000- 56bf000 \ oleaut32 ELF 56bf000- 5828000 Dwarf wined3d \-PE 56d0000- 5828000 \ wined3d ELF 583a000- 58e2000 Deferred libgl.so.1 ELF 58e2000- 684b000 Deferred libglcore.so.1 ELF 6c6c000- 6ca4000 Dwarf d3d9 \-PE 6c70000- 6ca4000 \ d3d9 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 0000000b dsound_test.exe 00000020 15 00000044 0 00000021 (D) Z:\home\dank\wine-git\dlls\dxdiagn\tests\dxdiagn_test.exe 00000022 0 <== Backtrace: =>0 0x04e3b7c0 (0x7f22eb08) 1 0x057dfdfe init_format_filter_info+0x275(gl_info=0x7f067dc4, vendor=HW_VENDOR_NVIDIA) [/home/dank/wine-git/dlls/wined3d/utils.c:986] in wined3d (0x7f22eb88) 2 0x057e0b12 initPixelFormats+0x81(gl_info=0x7f067dc4, vendor=HW_VENDOR_NVIDIA) [/home/dank/wine-git/dlls/wined3d/utils.c:1177] in wined3d (0x7f22eba8) 3 0x057436d7 InitAdapters+0x268a(This=0x7f067da0) [/home/dank/wine-git/dlls/wined3d/directx.c:5097] in wined3d (0x7f22f0d8) 4 0x057ebaeb WineDirect3DCreate+0x67(dxVersion=0x0009, parent=0x7f0014a0) [/home/dank/wine-git/dlls/wined3d/wined3d_main.c:87] in wined3d (0x7f22f128) 5 0x06c7fb5e Direct3DCreate9+0x62(SDKVersion=0x0020) [/home/dank/wine-git/dlls/d3d9/d3d9_main.c:43] in d3d9 (0x7f22f168) 6 0x0551ac5e get_display_device_id+0xa0(szIdentifierBuffer="134.2 MB") [/home/dank/wine-git/dlls/dxdiagn/provider.c:212] in dxdiagn (0x7f22f608) 7 0x0551b721 DXDiag_InitDXDiagDisplayContainer+0x2bf(pSubCont=0x7f020070) [/home/dank/wine-git/dlls/dxdiagn/provider.c:537] in dxdiagn (0x7f22fc38) 8 0x0551c4f4 DXDiag_InitRootDXDiagContainer+0x1f9(pRootCont=0x7f014840) [/home/dank/wine-git/dlls/dxdiagn/provider.c:799] in dxdiagn (0x7f22fc78) 9 0x0551a937 IDxDiagProviderImpl_GetRootContainer+0xc5(iface=0x7f0151f0, ppInstance=0x7f22fcf4) [/home/dank/wine-git/dlls/dxdiagn/provider.c:122] in dxdiagn (0x7f22fcb8) 10 0x0494d467 test_GetRootContainer+0x24b() [/home/dank/wine-git/dlls/dxdiagn/tests/provider.c:140] in dxdiagn_test (0x7f22fd08) 11 0x0494d4fc func_provider+0x2b() [/home/dank/wine-git/dlls/dxdiagn/tests/provider.c:152] in dxdiagn_test (0x7f22fd28) 12 0x0494e0f8 run_test+0x9f(name="provider.c") [/home/dank/wine-git/dlls/dxdiagn/tests/../../../include/wine/test.h:543] in dxdiagn_test (0x7f22fd88) 13 0x0494e412 main+0x1f1(argc=0x7f22fe70, argv=0x7f001cd0) [/home/dank/wine-git/dlls/dxdiagn/tests/../../../include/wine/test.h:592] in dxdiagn_test (0x7f22fe58) 14 0x0494e4a2 __wine_spec_exe_entry+0x6a(peb=0x7ffdf000) [/home/dank/wine-git/dlls/winecrt0/exe_entry.c:36] in dxdiagn_test (0x7f22fe98) 15 0x048554b8 start_process+0x137(peb=0x7ffdf000) [/home/dank/wine-git/dlls/kernel32/process.c:992] in kernel32 (0x7f22fed8) 16 0x04757a98 call_thread_func+0xc() in ntdll (0x7f22fee8) 17 0x04757ad6 call_thread_entry_point+0x34(entry=0x4855381, arg=0x7ffdf000) [/home/dank/wine-git/dlls/ntdll/signal_i386.c:2457] in ntdll (0x7f22ffc8) 18 0x04730736 LdrInitializeThunk(kernel_start=0x7ffdf000, unknown2=0, unknown3=0, unknown4=0) [/home/dank/wine-git/dlls/ntdll/loader.c:2621] in ntdll (0x7f22ffe8) 19 0x04032ed5 wine_call_on_stack+0x1d() in libwine.so.1 (0x00000000) HEAP SUMMARY: in use at exit: 2,117,824 bytes in 6,856 blocks total heap usage: 36,543 allocs, 29,687 frees, 14,708,728 bytes allocated 24 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1700) by DXDiag_CreateDXDiagContainer (container.c:319) by DXDiag_InitRootDXDiagContainer (provider.c:797) by IDxDiagProviderImpl_GetRootContainer (provider.c:122) by test_GetRootContainer (provider.c:140) by func_provider (provider.c:151) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:notify_alloc fun:RtlAllocateHeap fun:DXDiag_CreateDXDiagContainer fun:DXDiag_InitRootDXDiagContainer fun:IDxDiagProviderImpl_GetRootContainer fun:test_GetRootContainer fun:func_provider fun:run_test fun:main } 32 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1700) by DXDiag_CreateDXDiagProvider (provider.c:144) by DXDiagCF_CreateInstance (dxdiag_main.c:73) by CoCreateInstance (compobj.c:2510) by test_GetRootContainer (provider.c:100) by func_provider (provider.c:151) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:notify_alloc fun:RtlAllocateHeap fun:DXDiag_CreateDXDiagProvider fun:DXDiagCF_CreateInstance fun:CoCreateInstance fun:test_GetRootContainer fun:func_provider fun:run_test fun:main } 2,172 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1700) by WineDirect3DCreate (wined3d_main.c:81) by Direct3DCreate9 (d3d9_main.c:43) by get_display_device_id (provider.c:212) by DXDiag_InitDXDiagDisplayContainer (provider.c:536) by DXDiag_InitRootDXDiagContainer (provider.c:799) by IDxDiagProviderImpl_GetRootContainer (provider.c:122) by test_GetRootContainer (provider.c:140) by func_provider (provider.c:151) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:notify_alloc fun:RtlAllocateHeap fun:WineDirect3DCreate fun:Direct3DCreate9 fun:get_display_device_id fun:DXDiag_InitDXDiagDisplayContainer fun:DXDiag_InitRootDXDiagContainer fun:IDxDiagProviderImpl_GetRootContainer fun:test_GetRootContainer fun:func_provider fun:run_test fun:main } LEAK SUMMARY: definitely lost: 2,228 bytes in 3 blocks indirectly lost: 120 bytes in 10 blocks possibly lost: 146,008 bytes in 196 blocks still reachable: 1,563,577 bytes in 3,696 blocks suppressed: 405,891 bytes in 2,951 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: 147 errors from 50 contexts (suppressed: 395 from 110) used_suppression: 44 suppress_leak_libgl used_suppression: 94 todo_suppress_libfontconfig_leak used_suppression: 204 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 wine_bug_20692_wontfix 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: 1 bogus_cond_libglcore used_suppression: 2 X on SUSE11 writev uninit padding 2 used_suppression: 254 dl-hack3-cond-1 used_suppression: 91 glibc-2.10-on-SUSE-10.3-(x86)