[Bug 35076] PSPad 4.5.7 installer helper tool "wajam_validate.exe" fails due to SWbemLocator::ConnectServer being a stub

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Dec 7 17:40:01 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=35076

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
          Component|-unknown                    |wmi&wbemprox
            Summary|PSPad installer has a       |PSPad 4.5.7 installer
                   |non-fatal crash             |helper tool
                   |                            |"wajam_validate.exe" fails
                   |                            |due to
                   |                            |SWbemLocator::ConnectServer
                   |                            |being a stub

--- Comment #2 from Anastasius Focht <focht at gmx.net> 2013-12-07 17:40:01 CST ---
Hello folks,

confirming.

The installer extracts a helper binary "wajam_validate.exe" (compressed with
UPX) to a temp folder and runs it:

--- snip ---
...
0037:Call KERNEL32.CreateProcessW(003326e4
L"C:\\users\\focht\\Temp\\nsva899.tmp\\\\wajam_validate.exe",0012d8b0
L"C:\\users\\focht\\Temp\\nsva899.tmp\\wajam_validate.exe",00000000,00000000,00000001,00000000,00000000,00000000,003326a0,00332ba4)
ret=7ed031dd
...
0039:Call KERNEL32.__wine_kernel_init() ret=7bc599cc
0037:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=7ed031dd 
...
0039:fixme:wbemdisp:locator_ConnectServer 0x139700, L".", L"root\\cimv2", L"",
0x1398e4, L"", L"", 0x00000000, (nil), 0x30f9a0
0039:fixme:wbemdisp:locator_QueryInterface interface
{df0b3d60-548f-101b-8e65-08002b2bd119} not implemented
0039:Call msvcrt._CxxThrowException(0030f960,00406478) ret=0040508a
0039:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0030f8f4)
ret=7ecd42b1
0039:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83a8ef
ip=7b83a8ef tid=0039
0039:trace:seh:raise_exception  info[0]=19930520
0039:trace:seh:raise_exception  info[1]=0030f960
0039:trace:seh:raise_exception  info[2]=00406478
0039:trace:seh:raise_exception  eax=7b826921 ebx=7b8ba000 ecx=00406478
edx=0030f850 esi=0030f8f0 edi=0030f8b0
0039:trace:seh:raise_exception  ebp=0030f888 esp=0030f824 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000287
0039:trace:seh:call_stack_handlers calling handler at 0x405306 code=e06d7363
flags=1
0039:trace:seh:call_stack_handlers handler at 0x405306 returned 1
0039:trace:seh:call_stack_handlers calling handler at 0x405223 code=e06d7363
flags=1
0039:trace:seh:call_stack_handlers handler at 0x405223 returned 1
0039:trace:seh:call_stack_handlers calling handler at 0x404e62 code=e06d7363
flags=1
...
wine: Unhandled exception 0xe06d7363 in thread 39 at address 0x7b83a8ef (thread
0039), starting debugger... 
--- snip ---

Debugging session:

--- snip ---
Wine-dbg>bt
Backtrace:
=>0 0x7e41532c locator_ConnectServer(iface=0x12aee8, strServer=".",
strNamespace="root\cimv2", strUser="", strPassword="", strLocale="",
strAuthority="", iSecurityFlags=0, objWbemNamedValueSet=(nil),
objWbemServices=0x30f9a0)
[/home/focht/projects/wine/wine-git/dlls/wbemdisp/locator.c:225] in wbemdisp
(0x0030f9b4)
  1 0x00402427 in wajam_validate (+0x2426) (0x0030fb04)
  2 0x00402908 in wajam_validate (+0x2907) (0x0032fb48)
  3 0x00402a8d in wajam_validate (+0x2a8c) (0x0033fdac)
  4 0x00404dd5 in wajam_validate (+0x4dd4) (0x0033fe20)
--- snip ---

The query for IID_ISupportErrorInfo before the throw() is just the result of
earlier failure.

Source:
http://source.winehq.org/git/wine.git/blob/8c4e9ba4cfa4e1976a84dcb8bdfcf26b497a8480:/dlls/wbemdisp/locator.c#l214

--- snip ---
214 static HRESULT WINAPI locator_ConnectServer(
215     ISWbemLocator *iface,
216     BSTR strServer,
217     BSTR strNamespace,
218     BSTR strUser,
219     BSTR strPassword,
220     BSTR strLocale,
221     BSTR strAuthority,
222     LONG iSecurityFlags,
223     IDispatch *objWbemNamedValueSet,
224     ISWbemServices **objWbemServices )
225 {
226     FIXME( "%p, %s, %s, %s, %p, %s, %s, 0x%08x, %p, %p\n", iface,
debugstr_w(strServer),
227     debugstr_w(strNamespace), debugstr_w(strUser), strPassword,
debugstr_w(strLocale),
228     debugstr_w(strAuthority), iSecurityFlags, objWbemNamedValueSet,
objWbemServices );
229     return E_NOTIMPL;
230 }
--- snip ---

$ sha1sum pspad457inst_en.exe 
e0ed70b5788e2f2d7b13428b042755c44c5112bf  pspad457inst_en.exe

$ du -sh pspad457inst_en.exe 
4.5M    pspad457inst_en.exe

$ wine --version
wine-1.7.8-128-g37460b6

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list