Huw Davies huw@codeweavers.com writes:
dlls/winspool.drv/tests/info.c | 110 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 110 insertions(+), 0 deletions(-)
It doesn't work here:
../../../tools/runtest -q -P wine -M winspool.drv -T ../../.. -p winspool.drv_test.exe.so info.c && touch info.ok info.c:2302: Tests skipped: Level 1 not supported info.c:2302: Tests skipped: Level 3 not supported info.c:2302: Tests skipped: Level 8 not supported info.c:2969: Test failed: got 0 wine: Unhandled page fault on read access to 0x00000028 at address 0x687e23fa (thread 002a), starting debugger... Unhandled exception: page fault on read access to 0x00000028 in 32-bit code (0x687e23fa). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:687e23fa ESP:0032fb50 EBP:0032fc58 EFLAGS:00010246( R- -- I Z- -P- ) EAX:00000000 EBX:687ec60c ECX:687e7eac EDX:0011e180 ESI:687e7ae5 EDI:0011deb0 Stack dump: 0x0032fb50: 687e7ae5 00000b9b 00000000 0011e180 0x0032fb60: 0000012e 0032fc3c 00000012 6833fef5 0x0032fb70: 683d88e8 00000000 0011e180 0001fc40 0x0032fb80: 0011dcd0 687e7e99 687e7c3c 00000001 0x0032fb90: 00000000 00000000 00000000 00000000 0x0032fba0: 00000000 00000000 00000000 00000000 Backtrace: =>0 0x687e23fa test_OpenPrinter_defaults+0x83a() [/home/julliard/wine/wine/dlls/winspool.drv/tests/info.c:2971] in winspool.drv_test (0x0032fc58) 1 0x687e561e func_info+0x22fd() [/home/julliard/wine/wine/dlls/winspool.drv/tests/info.c:3031] in winspool.drv_test (0x0032fd18) 2 0x687e6e70 run_test+0x11f(name="info.c") [/home/julliard/wine/wine/dlls/winspool.drv/tests/../../../include/wine/test.h:556] in winspool.drv_test (0x0032fd68) 3 0x687dadf3 main+0x152(argc=0x20746f67, argv=0x78383025) [/home/julliard/wine/wine/dlls/winspool.drv/tests/../../../include/wine/test.h:624] in winspool.drv_test (0x0032fe28) 4 0x687e79d5 __wine_spec_exe_entry+0x74(peb=0x7ffdf000) [/home/julliard/wine/wine/dlls/winecrt0/exe_entry.c:36] in winspool.drv_test (0x0032fe70) 5 0x6848fdbc call_process_entry+0xb() in kernel32 (0x0032fe88) 6 0x68490f3f start_process+0x5e(peb=0x7ffdf000) [/home/julliard/wine/wine/dlls/kernel32/process.c:1083] in kernel32 (0x0032fec8) 7 0x6837d200 call_thread_func_wrapper+0xb() in ntdll (0x0032fed8) 8 0x6837ff0d call_thread_func+0x7c(entry=0x68490ee0, arg=0x7ffdf000, frame=0x32ffc8) [/home/julliard/wine/wine/dlls/ntdll/signal_i386.c:2532] in ntdll (0x0032ffa8) 9 0x6837d1de call_thread_entry_point+0x11() in ntdll (0x0032ffc8) 10 0x6835530e start_process+0x1d(kernel_start=0x68490ee0) [/home/julliard/wine/wine/dlls/ntdll/loader.c:2653] in ntdll (0x0032ffe8) 11 0x68028a9d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000) 12 0x68028b5b wine_switch_to_stack+0x2a(func=0x683552f0, arg=0x68490ee0, stack=0x330000) [/home/julliard/wine/wine/libs/wine/port.c:59] in libwine.so.1 (0xff917048) 13 0x6835ae86 LdrInitializeThunk+0x3b5(kernel_start=0x68490ee0, unknown2=0, unknown3=0, unknown4=0) [/home/julliard/wine/wine/dlls/ntdll/loader.c:2709] in ntdll (0xff9170b8) 14 0x68496e02 __wine_kernel_init+0x9e1() [/home/julliard/wine/wine/dlls/kernel32/process.c:1255] in kernel32 (0xff918258) 15 0x6835b5db __wine_process_init+0x25a() [/home/julliard/wine/wine/dlls/ntdll/loader.c:2918] in ntdll (0xff9182d8) 16 0x68025fe8 wine_init+0x277(argc=0x3, argv=0xff918834, error="", error_size=0x400) [/home/julliard/wine/wine/libs/wine/loader.c:831] in libwine.so.1 (0xff918338) 17 0x7bf00e5b main+0x7a(argc=0x3, argv=0xff918834) [/home/julliard/wine/wine/loader/main.c:230] in <wine-loader> (0xff918788) 18 0x681bce46 __libc_start_main+0xe5() in libc.so.6 (0xff918808) 0x687e23fa test_OpenPrinter_defaults+0x83a [/home/julliard/wine/wine/dlls/winspool.drv/tests/info.c:2971] in winspool.drv_test: movl 0x28(%eax),%eax 2971 ok( job_info->pDevMode->dmFields == DM_PAPERSIZE, "got %08x\n",