oleaut32: Add tmarshal conformance test

Alexandre Julliard julliard at winehq.org
Wed Aug 9 05:05:48 CDT 2006


Dan Hipschman <dsh at linux.ucla.edu> writes:

> This adds a conformance test written by Rob Shearman.  Pretty much all the
> code in the four files beginning with "tmarshal" is his.  All I did was make
> some changes to the Makefiles to be able to test things with IDL components,
> and I tweaked his stuff in one or two places where needed.  For example, I
> wrapped the tests that failed in todo_wine blocks, and I commented out a test
> that crashes Wine.  All the tests pass on Windows (including the one that
> crashes Wine).

They don't work on Wine here:

../../../tools/runtest -q -P wine -M oleaut32.dll -T ../../.. -p oleaut32_test.exe.so tmarshal.c && touch tmarshal.ok
fixme:ole:ITypeInfo_fnRelease destroy child objects
err:ole:marshal_object couldn't get IPSFactory buffer for interface {a028db05-30f0-4b93-b17a-41c72f831d84}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80040155
err:ole:CoMarshalInterface Failed to marshal the interface {a028db05-30f0-4b93-b17a-41c72f831d84}, 80040155
tmarshal.c:139: Test failed: CoMarshalInterface failed with error 0x80040155
err:ole:CoUnmarshalInterface IMarshal::UnmarshalInterface failed, 0x8003001e
tmarshal.c:760: Test failed: CoUnmarshalInterface failed with error 0x8003001e
wine: Unhandled page fault on write access to 0x00000000 at address 0x15a159 (thread 0009), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x0015a159).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
 EIP:0015a159 ESP:0033fc88 EBP:0033fd58 EFLAGS:00010246(   - 00      -RIZP1)
 EAX:00159310 EBX:7b8abaa8 ECX:00000000 EDX:00000001
 ESI:8003001e EDI:60412be7
Stack dump:
0x0033fc88:  00159310 7b88c87f 00159310 00000001
0x0033fc98:  0015a500 0015a158 00159310 0033ff2c
0x0033fca8:  7b82be98 7b8415c0 7b8abaa8 8003001e
0x0033fcb8:  60412be7 0033fd58 0033fc90 7b88c805
0x0033fcc8:  00000001 00000000 00000000 00000020
0x0033fcd8:  0033fd58 7bc2764f 00110000 7bc77848
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c0000119
Backtrace:
=>1 0x0015a159 (0x0015a159)
fixme:dbghelp:elf_load_debug_info_from_map Alpha-support for Dwarf2 information for oleaut32_test<elf>
  2 0x603092f7 func_tmarshal+0x2f7 [/home/julliard/wine/wine/dlls/oleaut32/tests/tmarshal.c:763] in oleaut32_test (0x603092f7)
  3 0x6040ee81 run_test+0x121(name=0x1103a9) [/home/julliard/wine/wine/dlls/oleaut32/tests/../../../include/wine/test.h:365] in oleaut32_test (0x6040ee81)
  4 0x6040f1a9 __wine_spec_exe_entry+0x99(peb=0x7ffdf000) [/home/julliard/wine/wine/dlls/winecrt0/exe_entry.c:37] in oleaut32_test (0x6040f1a9)
fixme:dbghelp:elf_load_debug_info_from_map Alpha-support for Dwarf2 information for kernel32<elf>
  5 0x7b87015b start_process+0xeb(arg=0x0) [/home/julliard/wine/wine/dlls/kernel/process.c:822] in kernel32 (0x7b87015b)
fixme:dbghelp:elf_load_debug_info_from_map Alpha-support for Dwarf2 information for libwine.so.1
  6 0x6001f887 wine_switch_to_stack+0x17 in libwine.so.1 (0x6001f887)
0x0015a159: addb	%dl,0x0(%ecx)
Wine-dbg>

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list