[Bug 32481] New: Windows Sysinternals "PsInfo" tool fails to retrieve "system uptime" using PDH (local computername prepended in path)
http://bugs.winehq.org/show_bug.cgi?id=32481 Bug #: 32481 Summary: Windows Sysinternals "PsInfo" tool fails to retrieve "system uptime" using PDH (local computername prepended in path) Product: Wine Version: 1.5.19 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: pdh AssignedTo: wine-bugs(a)winehq.org ReportedBy: focht(a)gmx.net Classification: Unclassified Hello folks, Windows Sysinternals "PsInfo" tool fails to query for some system properties... Making this bug about "system uptime". Output: --- snip --- $ 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...fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! System information for \\nexus4: Uptime: Error reading uptime Kernel version: Microsoft Windows XP, Uniprocessor Free Product type: Professional Product version: 5.1 Service pack: 3 Kernel build number: 2600 Registered organization: Registered owner: IE version: 6.0000 System root: C:\windows Processors: 4 Processor speed: 2.6 GHz Processor type: Intel(R) Pentium(R) 4 CPU Physical memory: 0 MB Video driver: --- snip --- Wine PDH supports "System Up Time" but only if the path doesn't include a computer name (even if it's the local one). --- snip --- 0024:Call pdh.PdhOpenQueryW(00000000,00000000,0032f130) ret=004039fa 0024:Call ntdll.RtlAllocateHeap(00110000,00000008,00000020) ret=7eff6ea7 0024:Ret ntdll.RtlAllocateHeap() retval=0013d540 ret=7eff6ea7 0024:Ret pdh.PdhOpenQueryW() retval=00000000 ret=004039fa 0024:Call KERNEL32.GetLastError() ret=0040d8f2 0024:Ret KERNEL32.GetLastError() retval=00000000 ret=0040d8f2 0024:Call pdh.PdhAddCounterW(0013d540,0032f14c L"\\\\nexus4\\System\\System Up Time",00000000,0032f134) ret=00403a3f 0024:Ret pdh.PdhAddCounterW() retval=c0000bb9 ret=00403a3f --- snip --- Wine should support local computername in path (counter sources path entry). Source: http://source.winehq.org/git/wine.git/blob/fcd8a8f447f9774faeb2e1b31cea3d09d... 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.
http://bugs.winehq.org/show_bug.cgi?id=32481 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://technet.microsoft.co | |m/en-us/sysinternals/bb8975 | |50.aspx Severity|normal |enhancement --- Comment #1 from Anastasius Focht <focht(a)gmx.net> 2012-12-18 14:57:41 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-214-gb47facb 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.
http://bugs.winehq.org/show_bug.cgi?id=32481 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |4933dc78c6aeef024c6f2409459 | |68d05a51d4670 Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Anastasius Focht <focht(a)gmx.net> 2012-12-21 14:42:02 CST --- Hello folks, fixed by commit http://source.winehq.org/git/wine.git/commitdiff/4933dc78c6aeef024c6f2409459... Thanks Hans. (notepad in background, wait a bit) --- snip --- $ 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...fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! System information for \\nexus4: Uptime: 0 days 0 hours 1 minute 23 seconds Kernel version: Microsoft Windows XP, Uniprocessor Free Product type: Professional Product version: 5.1 Service pack: 3 Kernel build number: 2600 Registered organization: Registered owner: IE version: 6.0000 System root: C:\windows Processors: 4 Processor speed: 2.6 GHz Processor type: Intel(R) Pentium(R) 4 CPU Physical memory: 0 MB Video driver: --- 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.
http://bugs.winehq.org/show_bug.cgi?id=32481 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> 2013-01-04 15:01:15 CST --- Closing bugs fixed in 1.5.21. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32481 Anastasius Focht <focht(a)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(a)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 -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla