[Bug 32468] New: Windows Sysinternals "PsInfo" tool crashes while trying to retrieve WMI class Win32_WindowsProductActivation data

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Dec 17 09:34:03 CST 2012


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 at winehq.org
        ReportedBy: focht at 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%29.aspx)
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

-- 
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