[PATCH 1/8] ole32: Use MSHLFLAGS_TABLEWEAK marshaling in CoRegisterClassObject.

Alexandre Julliard julliard at winehq.org
Tue May 7 13:06:23 CDT 2013


Jacek Caban <jacek at codeweavers.com> writes:

> ---
>  dlls/ole32/compobj.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

It doesn't work here:

../../../tools/runtest -q -P wine -M wscript.exe -T ../../.. -p wscript.exe_test.exe.so run.c && touch run.ok
wine: Unhandled page fault on read access to 0x00000000 at address 0x555a9468 (thread 0088), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x555a9468).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:555a9468 ESP:0033f7d0 EBP:0033f868 EFLAGS:00010202(  R- --  I   - - - )
 EAX:00000000 EBX:555d2cac ECX:0033f810 EDX:00000001
 ESI:00000000 EDI:0033f828
Stack dump:
0x0033f7d0:  0033f828 00000005 00000000 555c7f30
0x0033f7e0:  0033f814 001407a4 0000000c 0013c414
0x0033f7f0:  0000000c 00000000 00000000 00000000
0x0033f800:  00142020 00000000 00000000 001373b0
0x0033f810:  ffffffff 00000000 0033f868 7b85382e
0x0033f820:  00000000 00000001 178fc166 4e24f585
Backtrace:
=>0 0x555a9468 Global_CreateObject+0x178() in vbscript (0x0033f868)
  1 0x555b6b3c DispatchEx_InvokeEx+0x65b(iface=<couldn't compute location>, id=<couldn't compute location>, lcid=<couldn't compute location>, wFlags=<couldn't compute location>, pdp=<couldn't compute location>, pvarRes=<couldn't compute location>, pei=<couldn't compute location>, pspCaller=<couldn't compute location>) [/home/julliard/wine/wine/dlls/vbscript/vbdisp.c:215] in vbscript (0x0033f958)
  2 0x555b899d disp_call+0x9c(ctx=0x1373b0, disp=0x13f368, id=0xaf, dp=0x33fa40, retv=0x33fa80) [/home/julliard/wine/wine/dlls/vbscript/../../include/dispex.h:299] in vbscript (0x0033f9e8)
  3 0x555af05c do_icall+0x20b(ctx=<is not available>, res=<is not available>) [/home/julliard/wine/wine/dlls/vbscript/interp.c:511] in vbscript (0x0033fa68)
  4 0x555af1dd interp_icall+0x2c(ctx=<is not available>) [/home/julliard/wine/wine/dlls/vbscript/interp.c:558] in vbscript (0x0033fa98)
  5 0x555aeb42 exec_script+0x191(ctx=<is not available>, func=<is not available>, this_obj=<is not available>, dp=<is not available>, res=<is not available>) [/home/julliard/wine/wine/dlls/vbscript/interp.c:1918] in vbscript (0x0033fb58)
  6 0x555be4a7 exec_global_code+0x46(ctx=0x1373b0, code=<is not available>) [/home/julliard/wine/wine/dlls/vbscript/vbscript.c:83] in vbscript (0x0033fb88)
  7 0x555bedab VBScript_SetScriptState+0x17a() in vbscript (0x0033fbe8)
  8 0x684fc3dd wWinMain+0x9bc(hInst=<couldn't compute location>, hPrevInst=<couldn't compute location>, cmdline=<couldn't compute location>, cmdshow=<couldn't compute location>) [/home/julliard/wine/wine/programs/wscript/../../include/activscp.h:1013] in wscript (0x0033fd88)
  9 0x684fc671 wmain+0xb0(argc=0x5, argv=0x110380) [/home/julliard/wine/wine/dlls/winecrt0/exe_wmain.c:50] in wscript (0x0033fe18)
  10 0x684fc5a5 __wine_spec_exe_wentry+0x84(peb=<couldn't compute location>) [/home/julliard/wine/wine/dlls/winecrt0/exe_wentry.c:36] in wscript (0x0033fe58)
  11 0x7b86053c call_process_entry+0xb() in kernel32 (0x0033fe78)
  12 0x7b86171b start_process+0x6a(peb=<couldn't compute location>) [/home/julliard/wine/wine/dlls/kernel32/process.c:1084] in kernel32 (0x0033feb8)
  13 0x7bc7a800 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
  14 0x7bc7d70d call_thread_func+0x7c(entry=0x7b8616b0, arg=0x7ffdf000, frame=0x33ffc8) [/home/julliard/wine/wine/dlls/ntdll/signal_i386.c:2567] in ntdll (0x0033ffa8)
  15 0x7bc7a7de call_thread_entry_point+0x11() in ntdll (0x0033ffc8)
  16 0x7bc5004e start_process+0x1d(kernel_start=0x7b8616b0) [/home/julliard/wine/wine/dlls/ntdll/loader.c:2691] in ntdll (0x0033ffe8)
  17 0x6802947d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  18 0x6802953b wine_switch_to_stack+0x2a(func=0x7bc50030, arg=0x7b8616b0, stack=0x340000) [/home/julliard/wine/wine/libs/wine/port.c:59] in libwine.so.1 (0xffeb7758)
  19 0x7bc55b27 LdrInitializeThunk+0x3a6(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:2747] in ntdll (0xffeb77c8)
  20 0x7b867d00 __wine_kernel_init+0xbbf() [/home/julliard/wine/wine/dlls/kernel32/process.c:1256] in kernel32 (0xffeb86d8)
  21 0x7bc561f3 __wine_process_init+0x182() [/home/julliard/wine/wine/dlls/ntdll/loader.c:2956] in ntdll (0xffeb8768)
  22 0x680270c2 wine_init+0x2a1(argc=0x6, argv=0xffeb8cb4, error="", error_size=0x400) [/home/julliard/wine/wine/libs/wine/loader.c:847] in libwine.so.1 (0xffeb87c8)
  23 0x7bf00e7b main+0x7a(argc=<is not available>, argv=<is not available>) [/home/julliard/wine/wine/loader/main.c:237] in <wine-loader> (0xffeb8c08)
  24 0x681cee46 __libc_start_main+0xe5() in libc.so.6 (0xffeb8c88)
0x555a9468 Global_CreateObject+0x178 in vbscript: movl	0x0(%eax),%edx

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list