[PATCH 6/6] d3d9/tests: Add test for occlusion query with result bigger than UINT32_MAX.
Alexandre Julliard
julliard at winehq.org
Tue Nov 22 16:28:52 CST 2016
Józef Kucia <jkucia at codeweavers.com> writes:
> Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
> ---
> dlls/d3d9/tests/device.c | 87 +++++++++++++++++++++++++++++++++++++++++++-----
> 1 file changed, 78 insertions(+), 9 deletions(-)
This one fails here:
../../../tools/runtest -q -P wine -T ../../.. -M d3d9.dll -p d3d9_test.exe.so device && touch device.ok
device.c:2291: Tests skipped: could not create device, IDirect3D9_CreateDevice returned 0x8876086c
device.c:5666: Test failed: Failed to create render target, hr 0x8876017c.
device.c:5670: Test failed: Failed to set render target, hr 0x8876086c.
device.c:5705: Test failed: Got unexpected query result 0x0000000003f7a000.
wine: Unhandled page fault on read access to 0x00000000 at address 0x7ecb5a48 (thread 00bd), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x7ecb5a48).
fixme:dbghelp_dwarf:dwarf2_parse_const_type Unsupported children
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7ecb5a48 ESP:0032f484 EBP:0032f658 EFLAGS:00210212( R- -- I -A- - )
EAX:00000000 EBX:7ed3f000 ECX:0032f480 EDX:00000000
ESI:00000001 EDI:7ed15e7c
Stack dump:
0x0032f484: 7ed198a4 00000000 03f7a000 04000000
0x0032f494: 7ed198a4 7ed12a3f 7ed13f78 00000001
0x0032f4a4: 001434b8 01390060 00000042 7ed15e7c
0x0032f4b4: 00000001 7ed1e200 7ed12a26 0032f4e0
0x0032f4c4: 00000000 03f7a000 00161970 00000000
0x0032f4d4: 00000000 0013ea60 0013aa30 03f7a000
Backtrace:
=>0 0x7ecb5a48 test_occlusion_query+0xe58() [/home/julliard/wine/wine/dlls/d3d9/tests/device.c:5713] in d3d9_test (0x0032f658)
1 0x7ecbe103 func_device+0x4772() [/home/julliard/wine/wine/dlls/d3d9/tests/device.c:11382] in d3d9_test (0x0032fd68)
2 0x7ec85d9a main+0x379(argc=<is not available>, argv=<is not available>) [/home/julliard/wine/wine/dlls/d3d9/tests/../../../include/wine/test.h:589] in d3d9_test (0x0032fe18)
3 0x7ed124db __wine_spec_exe_entry+0x4a(peb=<couldn't compute location>) [/home/julliard/wine/wine/dlls/winecrt0/exe_entry.c:36] in d3d9_test (0x0032fe58)
4 0x7b45e3cc call_process_entry+0xb() in kernel32 (0x0032fe78)
5 0x7b45f34a start_process+0x59(peb=<couldn't compute location>) [/home/julliard/wine/wine/dlls/kernel32/process.c:1108] in kernel32 (0x0032fea8)
6 0x7bc7fb8c call_thread_func_wrapper+0xb() in ntdll (0x0032fec8)
7 0x7bc8295f call_thread_func+0xde(entry=0x7b45f2f0, arg=0x7ffdf000, frame=0x32ffc8) [/home/julliard/wine/wine/dlls/ntdll/signal_i386.c:2759] in ntdll (0x0032ffa8)
8 0x7bc7fb6a call_thread_entry_point+0x11() in ntdll (0x0032ffc8)
9 0x7bc53587 start_process+0x16(kernel_start=0x7b45f2f0) [/home/julliard/wine/wine/dlls/ntdll/loader.c:3047] in ntdll (0x0032ffe8)
10 0xf755e8cd wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
11 0xf755ea30 wine_switch_to_stack+0x1f(func=0x7bc53570, arg=0x7b45f2f0, stack=0x330000) [/home/julliard/wine/wine/libs/wine/port.c:77] in libwine.so.1 (0xffda6508)
12 0x7bc59279 LdrInitializeThunk+0x228(kernel_start=<couldn't compute location>, unknown2=<couldn't compute location>, unknown3=<couldn't compute location>, unknown4=<couldn't compute location>) [/home/julliard/wine/wine/dlls/ntdll/loader.c:3103] in ntdll (0xffda6548)
13 0x7b465179 __wine_kernel_init+0xa58() [/home/julliard/wine/wine/dlls/kernel32/process.c:1302] in kernel32 (0xffda7438)
14 0x7bc5a0c3 __wine_process_init+0x152() [/home/julliard/wine/wine/dlls/ntdll/loader.c:3312] in ntdll (0xffda74a8)
15 0xf755cac3 wine_init+0x2a2(argc=0x3, argv=0xffda79e4, error="", error_size=0x400) [/home/julliard/wine/wine/libs/wine/loader.c:956] in libwine.so.1 (0xffda74f8)
16 0x7c000a3a main+0x79(argc=<is not available>, argv=<is not available>) [/home/julliard/wine/wine/loader/main.c:254] in <wine-loader> (0xffda7938)
17 0xf736a276 __libc_start_main+0xf5() in libc.so.6 (0x00000000)
0x7ecb5a48 test_occlusion_query+0xe58 [/home/julliard/wine/wine/dlls/d3d9/tests/device.c:5713] in d3d9_test: movl 0x0(%eax),%edx
5713 IDirect3DSurface9_Release(rt);
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list