https://bugs.winehq.org/show_bug.cgi?id=39463
--- Comment #1 from Anastasius Focht focht@gmx.net --- Created attachment 63911 --> https://bugs.winehq.org/attachment.cgi?id=63911 VBScriptlet for reproduction
Hello folks,
revisiting, still present.
Attaching VBscript for reproduction as the original v1.4 installer/download seems to be gone.
--- snip --- $ WINEDEBUG=+seh,+relay,+vbscript,+wshom,+wbemprox wine cscript //nologo test_bug#39463.vbs >>log.txt 2>&1 ... 002a:fixme:wbemdisp:object_QueryInterface interface {a6ef9860-c720-11d0-9337-00a0c90dcaa9} not implemented 002a:trace:vbscript:disp_call using IDispatch 002a:fixme:wbemdisp:object_Invoke flags 1 not supported 002a:warn:vbscript:exec_script Failed 800a01bd in resume next mode 002a:trace:vbscript:exec_script unwind jmp 28 stack_off 0 ... 002a:trace:vbscript:DispatchEx_QueryInterface (0x162c10)->(IID_IDispatchEx 0x33fa20) 002a:trace:vbscript:DispatchEx_AddRef (0x162c10) ref=2 002a:trace:vbscript:DispatchEx_InvokeEx (0x162c10)->(93 409 3 0x33facc 0x33fb30 0x33fa00 (nil)) 002a:trace:vbscript:Global_InStr 002a:fixme:vbscript:Global_InStr Unsupported str1 type 0x33f828 {VT_EMPTY} 002a:trace:vbscript:DispatchEx_Release (0x162c10) ref=1 002a:warn:vbscript:exec_script Failed 800a01bd in resume next mode 002a:trace:vbscript:exec_script unwind jmp 33 stack_off 0 002a:Call oleaut32.VariantClear(00163610) ret=f7835d74 002a:Ret oleaut32.VariantClear() retval=00000000 ret=f7835d74 002a:Call oleaut32.VariantClear(00163600) ret=f7835d74 002a:Call ntdll.RtlSizeHeap(00110000,00000000,001644a0) ret=7daa7404 002a:Ret ntdll.RtlSizeHeap() retval=00000010 ret=7daa7404 002a:Ret oleaut32.VariantClear() retval=00000000 ret=f7835d74 002a:trace:vbscript:interp_string 002a:Call oleaut32.SysAllocString(00165710 L"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall") ret=f78387f5 ... 002a:trace:vbscript:interp_equal 002a:trace:vbscript:var_cmp 0x16ac08 {VT_BSTR: L""} 0x163620 {VT_BSTR: L"HealthCoach"} 002a:Call oleaut32.VarCmp(0016ac08,00163620,00000409,00000000) ret=f7839019 002a:Ret oleaut32.VarCmp() retval=00000000 ret=f7839019 002a:Call oleaut32.VariantClear(00163620) ret=f7835df4 002a:Call ntdll.RtlSizeHeap(00110000,00000000,00185c70) ret=7daa7404 002a:Ret ntdll.RtlSizeHeap() retval=00000020 ret=7daa7404 002a:Ret oleaut32.VariantClear() retval=00000000 ret=f7835df4 002a:trace:vbscript:interp_jmp_false 108 002a:trace:vbscript:interp_enumnext 002a:fixme:vbscript:interp_enumnext uninitialized 002a:warn:vbscript:exec_script Failed 80004005 in resume next mode 002a:trace:vbscript:exec_script unwind jmp 0 stack_off 1519464 ... 002a:trace:seh:raise_exception code=c0000005 flags=0 addr=0x3f3f3f3f ip=3f3f3f3f tid=002a 002a:trace:seh:raise_exception info[0]=00000008 002a:trace:seh:raise_exception info[1]=3f3f3f3f 002a:trace:seh:raise_exception eax=3f3f3f3f ebx=0033fd00 ecx=7bd1c768 edx=0033fb80 esi=00000000 edi=0033fbe8 002a:trace:seh:raise_exception ebp=0033fc28 esp=0033fb5c cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210212 002a:trace:seh:call_stack_handlers calling handler at 0x7b495dc2 code=c0000005 flags=0 wine: Unhandled page fault on execute access to 0x3f3f3f3f at address 0x3f3f3f3f (thread 002a), starting debugger... 002a:trace:seh:start_debugger Starting debugger "winedbg --auto 41 112" 002a:trace:seh:call_stack_handlers handler at 0x7b495dc2 returned 1 Unhandled exception: page fault on execute access to 0x3f3f3f3f in 32-bit code (0x3f3f3f3f). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:3f3f3f3f ESP:0033fb5c EBP:0033fc28 EFLAGS:00210212( R- -- I -A- - ) EAX:3f3f3f3f EBX:0033fd00 ECX:7bd1c768 EDX:0033fb80 ESI:00000000 EDI:0033fbe8 ... Backtrace: =>0 0x3f3f3f3f (0x0033fc28) 1 0xf784bf89 exec_global_code+0x42() [/home/focht/projects/wine/mainline-src/dlls/vbscript/vbscript.c:86] in vbscript (0x0033fc68) 2 0xf784bfde exec_queued_code+0x2e() [/home/focht/projects/wine/mainline-src/dlls/vbscript/vbscript.c:98] in vbscript (0x0033fc98) 3 0xf784cd29 VBScript_SetScriptState+0x11f() [/home/focht/projects/wine/mainline-src/dlls/vbscript/vbscript.c:387] in vbscript (0x0033fce8) 4 0x7eff5024 run_script+0x14a() [/home/focht/projects/wine/mainline-build-i686/programs/cscript/../../include/activscp.h:968] in cscript (0x0033fd68) 5 0x7eff548e wWinMain+0x2e0() [/home/focht/projects/wine/mainline-src/programs/cscript/../wscript/main.c:468] in cscript (0x0033fdf8) 6 0x7eff56a8 wmain+0xed() [/home/focht/projects/wine/mainline-src/dlls/winecrt0/exe_wmain.c:51] in cscript (0x0033fe78) 7 0x7eff559e __wine_spec_exe_wentry+0x56() [/home/focht/projects/wine/mainline-src/dlls/winecrt0/exe_wentry.c:36] in cscript (0x0033fea8) 8 0x7b472b3a call_process_entry+0x11() in kernel32 (0x0033fec8) 9 0x7b472c73 start_process+0x12c() [/home/focht/projects/wine/mainline-src/dlls/kernel32/process.c:1256] in kernel32 (0x0033ffd8) 10 0x7b472b46 start_process_wrapper+0x9() in kernel32 (0x0033ffec) 0x3f3f3f3f: addb %al,0x0(%eax) Modules: Module Address Debug info Name (114 modules) ... ELF 7b400000-7b80b000 Dwarf kernel32<elf> -PE 7b420000-7b80b000 \ kernel32 ELF 7bc00000-7bd1d000 Deferred ntdll<elf> -PE 7bc30000-7bd1d000 \ ntdll ELF 7c000000-7c004000 Deferred <wine-loader> ... ELF f7d4d000-f7f0a000 Dwarf libwine.so.1 ELF f7f0c000-f7f35000 Deferred ld-linux.so.2 ELF f7f38000-f7f39000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) ... 00000029 (D) C:\windows\system32\cscript.exe 0000002a 0 <== --- snip ---
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/wbemdisp/locator.c#l7...
$ wine --version wine-4.4
Regards