Hi, the tests in d3d9 all crash for me : wine d3d9_test.exe.so stateblock fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x7fec77c0) : stub, emulating 64Mib for now, returning 64Mib wine: Unhandled page fault on read access to 0x00000000 at address 0xb7eb77a0 (thread 0009), starting debugger... WineDbg starting on pid 0x8 Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0xb7eb77a0). In 32 bit mode. Register dump: CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033 EIP:b7eb77a0 ESP:7fc5fb58 EBP:7fc5fb5c EFLAGS:00010206( - 00 - RIP1) EAX:7fec7418 EBX:7ee0e18c ECX:7fec7417 EDX:00000000 ESI:7fec7418 EDI:7fec73f0 Stack dump: 0x7fc5fb58: 7fec77c0 7fc5fda0 7edc3794 7fec7418 0x7fc5fb68: 00000000 00001f01 7ee0e8dc 7edf8740 0x7fc5fb78: 00000000 00000000 0000ffff 000001b4 0x7fc5fb88: 00000008 00000001 00000000 7c04dc58 0x7fc5fb98: 00000000 00000000 7fec7418 00000300 0x7fc5fba8: 7ee0ee60 7fc5fbc4 7fc5fbe4 0000a838 Backtrace: =>1 0xb7eb77a0 (0xb7eb77a0) 2 0x7edc3794 IWineD3DImpl_FillGLCaps+0x68 [/LFS/winecvs/wine/dlls/wined3d/directx.c:234] in wined3d (0x7edc3794) 3 0x7edc799e IWineD3DImpl_CreateDevice(iface=0x7fec73f0, Adapter=0x0, DeviceType=0x1, hFocusWindow=0x0, BehaviourFlags=0x20, pPresentationParameters=0x7fc5fe14, ppReturnedDeviceInterface=0x7fec71c8, parent=0x7fec71c0, D3DCB_CreateAdditionalSwapChain=0x7ef8a014) [/LFS/winecvs/wine/dlls/wined3d/directx.c:1808] in wined3d (0x7edc799e) 4 0x7ef8a2f2 IDirect3D9Impl_CreateDevice+0xde(iface=0x7fec7320, Adapter=0x0, DeviceType=0x1, hFocusWindow=0x0, BehaviourFlags=0x20, pPresentationParameters=0x7fc5fe98, ppReturnedDeviceInterface=0x7fc5fe94) [/LFS/winecvs/wine/dlls/d3d9/directx.c:312] in d3d9 (0x7ef8a2f2) 5 0x7ffb7648 func_stateblock [/LFS/winecvs/wine/dlls/d3d9/tests/stateblock.c:46] in d3d9_test (0x7ffb7648) 6 0x7ffb7eb4 run_test [/LFS/winecvs/wine/dlls/d3d9/tests/../../../include/wine/test.h:355] in d3d9_test (0x7ffb7eb4) 7 0x7ffb8149 __wine_spec_exe_entry(peb=0x7bc6f680) [/LFS/winecvs/wine/dlls/winecrt0/exe_entry.c:36] in d3d9_test (0x7ffb8149) 8 0x7b862855 start_process+0xc1(arg=0x0) [/LFS/winecvs/wine/dlls/kernel/process.c:1027] in kernel32 (0x7b862855) 9 0xb7f8f57b wine_switch_to_stack+0x17 in libwine.so.1 (0xb7f8f57b) 0xb7eb77a0: movzbl 0x0(%edx),%eax
etc.
Anone an idea why they crash?
___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
Louis. Lenders <xerox_xerox2000 <at> yahoo.co.uk> writes:
Backtrace: =>1 0xb7eb77a0 (0xb7eb77a0) 2 0x7edc3794 IWineD3DImpl_FillGLCaps+0x68 [/LFS/winecvs/wine/dlls/wined3d/directx.c:234] in wined3d (0x7edc3794)
Anone an idea why they crash?
What does the file /LFS/winecvs/wine/dlls/wined3d/directx.c at line 234 say? Is it the strcpy()? If so, then that means that glGetString() returned NULL, which means that there was no valid OpenGL context created. There should be a null check for that strcpy and an error message and bad return from that function if it fails. If we don't have a GLX context at that point something very bad is going on.
Regards, Aric