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 0x7f22e008 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,0x7f22f69c,0x00000000), stub! fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface fixme:d3d_surface:surface_load_ds_location No up to date depth stencil location wine: Unhandled page fault on write access to 0x00000000 at address 0x4edc4b1 (thread 0047), 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 70 48 preloader: Warning: failed to reserve range 00110000-68000000 Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x04edc4b1). Register dump: CS:0073 SS:007b DS:007b ES:0000 FS:000b GS:0013 EIP:04edc4b1 ESP:7f22f4f0 EBP:7f22f5d8 EFLAGS:00000004( - -- - -P- ) EAX:00008000 EBX:00000000 ECX:05cac2b3 EDX:04f5dd30 ESI:00000020 EDI:00000000 Stack dump: 0x7f22f4f0: 3f800000 bf800000 04f5e1b0 05b913b5 0x7f22f500: 3f800000 bf800000 7f22f5d8 0626798d 0x7f22f510: 07381000 00000000 00000002 00001406 0x7f22f520: 00000000 00000000 056e2ff4 0569c8ae 0x7f22f530: 3f800000 bf800000 00000000 00000000 0x7f22f540: 00000000 00000000 000080e1 00008367 Backtrace: =>0 0x04edc4b1 (0x7f22f5d8) 1 0x0569cdfe init_format_filter_info+0x275(gl_info=0x7f270a6c, vendor=HW_VENDOR_NVIDIA) [/home/dank/wine-git/dlls/wined3d/utils.c:986] in wined3d (0x7f22f658) 2 0x0569db12 initPixelFormats+0x81(gl_info=0x7f270a6c, vendor=HW_VENDOR_NVIDIA) [/home/dank/wine-git/dlls/wined3d/utils.c:1177] in wined3d (0x7f22f678) 3 0x056006d7 InitAdapters+0x268a(This=0x7f270a48) [/home/dank/wine-git/dlls/wined3d/directx.c:5097] in wined3d (0x7f22fba8) 4 0x056a8aeb WineDirect3DCreate+0x67(dxVersion=0x0007, parent=0x7f019c28) [/home/dank/wine-git/dlls/wined3d/wined3d_main.c:87] in wined3d (0x7f22fbf8) 5 0x049c8c02 DDRAW_Create+0x2d1(guid=(nil), DD=0x7f22fcf4, UnkOuter=(nil), iid=0x49eac8c) [/home/dank/wine-git/dlls/ddraw/main.c:211] in ddraw (0x7f22fc88) 6 0x049c90d3 DirectDrawCreate+0xac(GUID=(nil), DD=0x7f22fcf4, UnkOuter=(nil)) [/home/dank/wine-git/dlls/ddraw/main.c:315] in ddraw (0x7f22fcc8) 7 0x0495079f CapsTest+0x2d() [/home/dank/wine-git/dlls/ddraw/tests/d3d.c:905] in ddraw_test (0x7f22fd08) 8 0x0495e9b8 func_d3d+0xa6() [/home/dank/wine-git/dlls/ddraw/tests/d3d.c:3414] in ddraw_test (0x7f22fd28) 9 0x04985e64 run_test+0x9f(name="d3d.c") [/home/dank/wine-git/dlls/ddraw/tests/../../../include/wine/test.h:543] in ddraw_test (0x7f22fd88) 10 0x0498617e main+0x1f1(argc=0x7f22fe70, argv=0x7f001cb8) [/home/dank/wine-git/dlls/ddraw/tests/../../../include/wine/test.h:592] in ddraw_test (0x7f22fe58) 11 0x0498620e __wine_spec_exe_entry+0x6a(peb=0x7ffdf000) [/home/dank/wine-git/dlls/winecrt0/exe_entry.c:36] in ddraw_test (0x7f22fe98) 12 0x048554b8 start_process+0x137(peb=0x7ffdf000) [/home/dank/wine-git/dlls/kernel32/process.c:992] in kernel32 (0x7f22fed8) 13 0x04757a98 call_thread_func+0xc() in ntdll (0x7f22fee8) 14 0x04757ad6 call_thread_entry_point+0x34(entry=0x4855381, arg=0x7ffdf000) [/home/dank/wine-git/dlls/ntdll/signal_i386.c:2457] in ntdll (0x7f22ffc8) 15 0x04730736 LdrInitializeThunk(kernel_start=0x7ffdf000, unknown2=0, unknown3=0, unknown4=0) [/home/dank/wine-git/dlls/ntdll/loader.c:2621] in ntdll (0x7f22ffe8) 16 0x04032ed5 wine_call_on_stack+0x1d() in libwine.so.1 (0x00000000) 0x04edc4b1: movw %ax,0x0(%edi) 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 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- 4993000 Dwarf ddraw_test \-PE 4940000- 4993000 \ ddraw_test ELF 4993000- 49f4000 Dwarf ddraw \-PE 49a0000- 49f4000 \ ddraw ELF 49f4000- 4b17000 Deferred ole32 \-PE 4a10000- 4b17000 \ ole32 ELF 4b17000- 4b73000 Deferred advapi32 \-PE 4b20000- 4b73000 \ advapi32 ELF 4b73000- 4bec000 Deferred rpcrt4 \-PE 4b80000- 4bec000 \ rpcrt4 ELF 4bec000- 4d0e000 Deferred user32 \-PE 4c00000- 4d0e000 \ user32 ELF 4d0e000- 4da8000 Deferred gdi32 \-PE 4d20000- 4da8000 \ gdi32 ELF 4da8000- 4e27000 Deferred libfreetype.so.6 ELF 4e27000- 4e3d000 Deferred libz.so.1 ELF 4e3d000- 4e6a000 Deferred libfontconfig.so.1 ELF 4e6a000- 4e91000 Deferred libexpat.so.1 ELF 4ed9000- 4edb000 Deferred libnvidia-tls.so.1 ELF 4ee9000- 4ef2000 Deferred libsm.so.6 ELF 4ef2000- 4ef7000 Deferred libuuid.so.1 ELF 4ef7000- 4efb000 Deferred libxau.so.6 ELF 52fb000- 53ad000 Deferred winex11 \-PE 5310000- 53ad000 \ winex11 ELF 53ad000- 53c8000 Deferred libice.so.6 ELF 53c8000- 53d8000 Deferred libxext.so.6 ELF 53d8000- 5507000 Deferred libx11.so.6 ELF 5507000- 5525000 Deferred libxcb.so.1 ELF 5525000- 552a000 Deferred libxdmcp.so.6 ELF 552a000- 554b000 Deferred imm32 \-PE 5530000- 554b000 \ imm32 ELF 554b000- 554e000 Deferred libxinerama.so.1 ELF 554e000- 5554000 Deferred libxxf86vm.so.1 ELF 5554000- 555e000 Deferred libxrender.so.1 ELF 555e000- 5567000 Deferred libxrandr.so.2 ELF 5567000- 556b000 Deferred libxcomposite.so.1 ELF 556b000- 5571000 Deferred libxfixes.so.3 ELF 5571000- 557c000 Deferred libxcursor.so.1 ELF 557c000- 56e5000 Dwarf wined3d \-PE 5590000- 56e5000 \ wined3d ELF 5723000- 57cb000 Deferred libgl.so.1 ELF 57cb000- 6734000 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 00000046 (D) Z:\home\dank\wine-git\dlls\ddraw\tests\ddraw_test.exe 00000047 0 <== Backtrace: =>0 0x04edc4b1 (0x7f22f5d8) 1 0x0569cdfe init_format_filter_info+0x275(gl_info=0x7f270a6c, vendor=HW_VENDOR_NVIDIA) [/home/dank/wine-git/dlls/wined3d/utils.c:986] in wined3d (0x7f22f658) 2 0x0569db12 initPixelFormats+0x81(gl_info=0x7f270a6c, vendor=HW_VENDOR_NVIDIA) [/home/dank/wine-git/dlls/wined3d/utils.c:1177] in wined3d (0x7f22f678) 3 0x056006d7 InitAdapters+0x268a(This=0x7f270a48) [/home/dank/wine-git/dlls/wined3d/directx.c:5097] in wined3d (0x7f22fba8) 4 0x056a8aeb WineDirect3DCreate+0x67(dxVersion=0x0007, parent=0x7f019c28) [/home/dank/wine-git/dlls/wined3d/wined3d_main.c:87] in wined3d (0x7f22fbf8) 5 0x049c8c02 DDRAW_Create+0x2d1(guid=(nil), DD=0x7f22fcf4, UnkOuter=(nil), iid=0x49eac8c) [/home/dank/wine-git/dlls/ddraw/main.c:211] in ddraw (0x7f22fc88) 6 0x049c90d3 DirectDrawCreate+0xac(GUID=(nil), DD=0x7f22fcf4, UnkOuter=(nil)) [/home/dank/wine-git/dlls/ddraw/main.c:315] in ddraw (0x7f22fcc8) 7 0x0495079f CapsTest+0x2d() [/home/dank/wine-git/dlls/ddraw/tests/d3d.c:905] in ddraw_test (0x7f22fd08) 8 0x0495e9b8 func_d3d+0xa6() [/home/dank/wine-git/dlls/ddraw/tests/d3d.c:3414] in ddraw_test (0x7f22fd28) 9 0x04985e64 run_test+0x9f(name="d3d.c") [/home/dank/wine-git/dlls/ddraw/tests/../../../include/wine/test.h:543] in ddraw_test (0x7f22fd88) 10 0x0498617e main+0x1f1(argc=0x7f22fe70, argv=0x7f001cb8) [/home/dank/wine-git/dlls/ddraw/tests/../../../include/wine/test.h:592] in ddraw_test (0x7f22fe58) 11 0x0498620e __wine_spec_exe_entry+0x6a(peb=0x7ffdf000) [/home/dank/wine-git/dlls/winecrt0/exe_entry.c:36] in ddraw_test (0x7f22fe98) 12 0x048554b8 start_process+0x137(peb=0x7ffdf000) [/home/dank/wine-git/dlls/kernel32/process.c:992] in kernel32 (0x7f22fed8) 13 0x04757a98 call_thread_func+0xc() in ntdll (0x7f22fee8) 14 0x04757ad6 call_thread_entry_point+0x34(entry=0x4855381, arg=0x7ffdf000) [/home/dank/wine-git/dlls/ntdll/signal_i386.c:2457] in ntdll (0x7f22ffc8) 15 0x04730736 LdrInitializeThunk(kernel_start=0x7ffdf000, unknown2=0, unknown3=0, unknown4=0) [/home/dank/wine-git/dlls/ntdll/loader.c:2621] in ntdll (0x7f22ffe8) 16 0x04032ed5 wine_call_on_stack+0x1d() in libwine.so.1 (0x00000000) HEAP SUMMARY: in use at exit: 5,396,258 bytes in 6,886 blocks total heap usage: 37,183 allocs, 30,297 frees, 19,382,095 bytes allocated 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 DDRAW_Create (main.c:211) by DirectDrawCreate (main.c:315) by CapsTest (d3d.c:905) by func_d3d (d3d.c:3413) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:notify_alloc fun:RtlAllocateHeap fun:WineDirect3DCreate fun:DDRAW_Create fun:DirectDrawCreate fun:CapsTest fun:func_d3d fun:run_test fun:main } LEAK SUMMARY: definitely lost: 2,172 bytes in 1 blocks indirectly lost: 120 bytes in 10 blocks possibly lost: 647,940 bytes in 194 blocks still reachable: 4,083,642 bytes in 3,769 blocks suppressed: 662,384 bytes in 2,912 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: 140 errors from 41 contexts (suppressed: 441 from 113) used_suppression: 44 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: 2 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: 94 bogus_cond_libglcore used_suppression: 4 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) HEAP SUMMARY: in use at exit: 56,961 bytes in 131 blocks total heap usage: 6,861 allocs, 6,730 frees, 85,952,370 bytes allocated