http://bugs.winehq.org/show_bug.cgi?id=32468
Bug #: 32468 Summary: Windows Sysinternals "PsInfo" tool crashes while trying to retrieve WMI class Win32_WindowsProductActivation data Product: Wine Version: 1.5.19 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: wmi&wbemprox AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello folks,
"PsInfo" tool from Windows Sysinternals suite crashes while trying to query for Win32_WindowsProductActivation WMI class member data.
WMI class Win32_WindowsProductActivation (http://msdn.microsoft.com/en-us/library/windows/desktop/aa394520%28v=vs.85%2...) isn't implemented and it probably doesn't make much sense to implement it. Judging the community comments, this class has been replaced by WMI "Software Licensing Classes" starting with Vista+.
Wine should at least behave more gracefully ;-)
--- snip --- $ WINEDEBUG=+tid,+seh,+wbemprox wine ./PsInfo.exe ...
PsInfo v1.77 - Local and remote system information viewer Copyright (C) 2001-2009 Mark Russinovich Sysinternals - www.sysinternals.com
Querying information for nexus4...002c:fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! 002c:trace:wbemprox:DllGetClassObject {4590f811-1d3a-11d0-891f-00aa004b2e24} {00000001-0000-0000-c000-000000000046} 0x32f4a0 002c:trace:wbemprox:wbemprox_cf_CreateInstance (nil) {dc12a687-737f-11cf-884d-00aa004b2e24} 0x32f524 002c:trace:wbemprox:WbemLocator_create ((nil),0x32f440) 002c:trace:wbemprox:WbemLocator_create returning iface 0x12c3e0 002c:trace:wbemprox:wbem_locator_QueryInterface 0x12c3e0 {dc12a687-737f-11cf-884d-00aa004b2e24} 0x32f524 002c:trace:wbemprox:wbem_locator_ConnectServer 0x12c3e0, L"\\nexus4\root\cimv2", (null), (null), (null), 0x00000000, (null), (nil), 0x32f530) 002c:trace:wbemprox:WbemServices_create ((nil),0x32f530) 002c:trace:wbemprox:WbemServices_create returning iface 0x12c090 002c:trace:wbemprox:wbem_services_GetObject 0x12c090, L"Win32_WindowsProductActivation.ServerName="nexus4"", 0x00000000, (nil), 0x32f520, (nil) 002c:trace:wbemprox:parse_query wql_parse returned 0 002c:trace:wbemprox:EnumWbemClassObject_create (nil), 0x32f47c 002c:trace:wbemprox:EnumWbemClassObject_create returning iface 0x12b840 002c:trace:wbemprox:create_class_object L"Win32_WindowsProductActivation", 0x32f520 002c:trace:wbemprox:create_class_object returning iface 0x12c778 002c:trace:wbemprox:class_object_Get 0x12c778, L"ActivationRequired", 00000000, 0x32f534, (nil), (nil) 002c:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7d943bbd ip=7d943bbd tid=002c 002c:trace:seh:raise_exception info[0]=00000000 002c:trace:seh:raise_exception info[1]=00000000 002c:trace:seh:raise_exception eax=00000000 ebx=7d956b5c ecx=0042f118 edx=00000000 esi=00000000 edi=0012c0c4 002c:trace:seh:raise_exception ebp=0032f490 esp=0032f438 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010246 002c:trace:seh:call_stack_handlers calling handler at 0x407b20 code=c0000005 flags=0 002c:trace:seh:call_stack_handlers handler at 0x407b20 returned 1 002c:trace:seh:call_stack_handlers calling handler at 0x7bc9378d code=c0000005 flags=0 wine: Unhandled page fault on read access to 0x00000000 at address 0x7d943bbd (thread 002c), starting debugger... 002c:trace:seh:start_debugger Starting debugger "winedbg --auto 43 88" 002c:trace:seh:call_stack_handlers handler at 0x7bc9378d returned 1 Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x7d943bbd). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7d943bbd ESP:0032f438 EBP:0032f490 EFLAGS:00010246( R- -- I Z- -P- ) EAX:00000000 EBX:7d956b5c ECX:0042f118 EDX:00000000 ESI:00000000 EDI:0012c0c4 Stack dump: 0x0032f438: 7ffd8000 7bcdd982 7bcdd920 00000067 0x0032f448: f7717984 0000001f 0032f490 f75ecc32 0x0032f458: 00000003 7d957a60 7d94f67d 7d94f121 0x0032f468: 0032f4a8 7d956b5c 0032f490 7d93e739 0x0032f478: 0042f118 ffffffff 0032f4a8 00000067 0x0032f488: 7d956b5c 00000000 0032f4f0 7d93fa6a 000c: sel=0067 base=00000000 limit=00000000 32-bit r-x Backtrace: =>0 0x7d943bbd get_propval+0x21(view=0x12b820, index=0, name="ActivationRequired", ret=0x32f534, type=0x0(nil), flavor=0x0(nil)) [/home/focht/projects/wine/wine-git/dlls/wbemprox/query.c:647] in wbemprox (0x0032f490) 1 0x7d93fa6a class_object_Get+0x13e(iface=0x12c778, wszName="ActivationRequired", lFlags=0, pVal=0x32f534, pType=0x0(nil), plFlavor=0x0(nil)) [/home/focht/projects/wine/wine-git/dlls/wbemprox/class.c:400] in wbemprox (0x0032f4f0) 2 0x00403748 in psinfo (+0x3747) (0x0012c3fc) 3 0x0065006e (0x005c005c) 0x7d943bbd get_propval+0x21 [/home/focht/projects/wine/wine-git/dlls/wbemprox/query.c:647] in wbemprox: movl 0x0(%eax),%eax 647 UINT column, row = view->result[index]; ... --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=32468
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://technet.microsoft.co | |m/en-us/sysinternals/bb8975 | |50.aspx
--- Comment #1 from Anastasius Focht focht@gmx.net 2012-12-17 09:36:08 CST --- Hello folks,
filling fields...
$ du -sh PSTools.zip 1.6M PSTools.zip
$ sha1sum PSTools.zip 853db38ae016df89beef8663e9f60cec0aeca343 PSTools.zip
$ wine --version wine-1.5.19-152-g7f88250
Regards
http://bugs.winehq.org/show_bug.cgi?id=32468
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |035315c45c49053cfefbbe08569 | |66af5aee63ce9 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Anastasius Focht focht@gmx.net 2012-12-18 14:36:17 CST --- Hello folks,
fixed by commit http://source.winehq.org/git/wine.git/commitdiff/035315c45c49053cfefbbe08569...
Thanks Hans.
Regards
http://bugs.winehq.org/show_bug.cgi?id=32468
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2012-12-21 13:29:15 CST --- Closing bugs fixed in 1.5.20.
https://bugs.winehq.org/show_bug.cgi?id=32468
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://technet.microsoft.co |https://web.archive.org/web |m/en-us/sysinternals/bb8975 |/20130207025254/http://down |50.aspx |load.sysinternals.com/Files | |/PsTools.zip
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive for documentation.
https://web.archive.org/web/20130207025254/http://download.sysinternals.com/...
$ sha1sum PSTools.zip 853db38ae016df89beef8663e9f60cec0aeca343 PSTools.zip
$ du -sh PSTools.zip 1.6M PSTools.zip
Regards