[PATCH 2/2] mshtml: Added tests of handling ActiveX objects without IQuickActivate interface implemented

Alexandre Julliard julliard at winehq.org
Wed Nov 16 12:20:50 CST 2011

Jacek Caban <jacek at codeweavers.com> writes:

> ---
>  dlls/mshtml/tests/activex.c |  133
> ++++++++++++++++++++++++++++++------------
>  1 files changed, 95 insertions(+), 38 deletions(-)

It doesn't work here:

../../../tools/runtest -q -P wine -M mshtml.dll -T ../../.. -p mshtml_test.exe.so activex.c && touch activex.ok
wine: Unhandled page fault on read access to 0x00000008 at address 0x6a76d2a6 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000008 in 32-bit code (0x6a76d2a6).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:6a76d2a6 ESP:0032fab0 EBP:0032fac8 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:01824650 EBX:00000000 ECX:00000008 EDX:00000000
 ESI:01824650 EDI:00000000
Stack dump:
0x0032fab0:  01824650 6ad31584 0182459c 018244c8
0x0032fac0:  018244c8 00000000 0032faf8 6a45f2cd
0x0032fad0:  018244c8 00000003 6ad316db 00000000
0x0032fae0:  018244c8 0032fb28 001ab708 01828bd8
0x0032faf0:  0171af60 00000000 0032fb48 6a4b7d29
0x0032fb00:  018244c8 00000000 0032fb28 6a617b0f
=>0 0x6a76d2a6 in xul (+0xb2d2a6) (0x0032fac8)
  1 0x6a45f2cd in xul (+0x81f2cc) (0x0032faf8)
  2 0x6a4b7d29 in xul (+0x877d28) (0x0032fb48)
  3 0x6a4b9648 in xul (+0x879647) (0x0032fb98)
  4 0x6a4b73db in xul (+0x8773da) (0x0032fbc8)
  5 0x555e04e7 NSContainer_Release+0x76(This=0x17978b8) [/home/julliard/wine/wine/dlls/mshtml/nsembed.c:1886] in mshtml (0x0032fbf8)
  6 0x55585435 CustomDoc_Release+0x1c4(iface=0x135c8c) [/home/julliard/wine/wine/dlls/mshtml/htmldoc.c:2315] in mshtml (0x0032fc38)
  7 0x5557f2e4 HTMLDocument_Release+0x13(iface=0x135b78) [/home/julliard/wine/wine/dlls/mshtml/mshtml_private.h:433] in mshtml (0x0032fc58)
  8 0x687657a4 release_doc+0x23(doc=0x135b78) [/home/julliard/wine/wine/dlls/mshtml/tests/activex.c:1945] in mshtml_test (0x0032fc78)
  9 0x6876a445 func_activex+0x18b4() [/home/julliard/wine/wine/dlls/mshtml/tests/activex.c:2060] in mshtml_test (0x0032fd58)
  10 0x68763202 main+0x3a1(argc=*** Invalid address 0x00000008 ***
, argv=*** Invalid address 0x0000000c ***
Internal symbol error: unable to access memory location 0xc) [/home/julliard/wine/wine/dlls/mshtml/tests/../../../include/wine/test.h:556] in mshtml_test (0x0032fe28)
  11 0x687becf5 __wine_spec_exe_entry+0x74(peb=0x7ffdf000) [/home/julliard/wine/wine/dlls/winecrt0/exe_entry.c:36] in mshtml_test (0x0032fe70)
  12 0x6848858c call_process_entry+0xb() in kernel32 (0x0032fe88)
  13 0x6848953f start_process+0x5e(peb=0x7ffdf000) [/home/julliard/wine/wine/dlls/kernel32/process.c:1090] in kernel32 (0x0032fec8)
  14 0x68375dd0 call_thread_func_wrapper+0xb() in ntdll (0x0032fed8)
  15 0x68378abd call_thread_func+0x7c(entry=0x684894e0, arg=0x7ffdf000, frame=0x32ffc8) [/home/julliard/wine/wine/dlls/ntdll/signal_i386.c:2532] in ntdll (0x0032ffa8)
  16 0x68375dae call_thread_entry_point+0x11() in ntdll (0x0032ffc8)
  17 0x6834dece start_process+0x1d(kernel_start=0x684894e0) [/home/julliard/wine/wine/dlls/ntdll/loader.c:2612] in ntdll (0x0032ffe8)
  18 0x68028a9d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
0x6a76d2a6: call	*0x8(%edx)

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list