[Bug 36703] New: PlayOn 3.9.13 settings tool fails to detect system memory size (needs 'Win32_OperatingSystem' WMI class 'TotalVisibleMemorySize' property)
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Jun 9 11:01:40 CDT 2014
https://bugs.winehq.org/show_bug.cgi?id=36703
Bug ID: 36703
Summary: PlayOn 3.9.13 settings tool fails to detect system
memory size (needs 'Win32_OperatingSystem' WMI class
'TotalVisibleMemorySize' property)
Product: Wine
Version: 1.7.19
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: wmi&wbemprox
Assignee: wine-bugs at winehq.org
Reporter: focht at gmx.net
Hello folks,
as the summary says.
Nothing serious, it just displays a red field with 'Error' instead of real
value under 'System Check' property page.
Interestingly it also probes 'Win32_PhysicalMemory' WMI class 'Capacity'
property but ultimately it takes the value from 'Win32_OperatingSystem' WMI
class 'TotalVisibleMemorySize' property.
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/MediaMall
$ WINEDEBUG=+tid,+seh,+relay,+wbemprox,+ole,+variant wine ./SettingsManager.exe
>>log.txt 2>&1
...
0041:trace:wbemprox:wbem_services_ExecQuery 0x5ffa8f8, L"WQL", L"SELECT * FROM
Win32_PhysicalMemory", 0x00000010, (nil), 0x33dfb0
...
0041:trace:wbemprox:enum_class_object_Next 0x5ff9058, -1, 1, 0x158478, 0xe13110
0041:trace:wbemprox:create_class_object L"Win32_PhysicalMemory", 0x158478
...
0041:trace:wbemprox:class_object_Get 0x5ffac10, L"Capacity", 00000000,
0x33e244, 0xe135dc, 0xe135e0
0041:Call oleaut32.SysAllocString(0033e0d4 L"8361885696") ret=f5d686a6
...
0041:trace:wbemprox:wbem_services_ExecQuery 0x5ffc338, L"WQL", L"SELECT * FROM
Win32_ComputerSystem", 0x00000010, (nil), 0x33dfb0
...
0041:trace:wbemprox:class_object_Get 0x5ffe368, L"TotalVisibleMemorySize",
00000000, 0x33e244, 0xe199a0, 0xe199a4
...
0041:Call oleaut32.SysAllocString(05ffea68 L"Not found ") ret=74e67dd7
...
0041:Call KERNEL32.RaiseException(e0434f4d,00000001,00000001,0033e1d0)
ret=79eda91c
0041:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b83ac57
ip=7b83ac57 tid=0041
0041:trace:seh:raise_exception info[0]=80131501
0041:trace:seh:raise_exception eax=7b826c7d ebx=7b8bb000 ecx=80131501
edx=0033e108 esi=0033e1b0 edi=0033e170
0041:trace:seh:raise_exception ebp=0033e148 esp=0033e0e4 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00200287
0041:trace:seh:call_stack_handlers calling handler at 0x79f908a2 code=e0434f4d
flags=1
--- snip ---
MSDN: http://msdn.microsoft.com/en-us/library/aa394239%28v=vs.85%29.aspx
--- quote ---
TotalVisibleMemorySize
Data type: uint64
Access type: Read-only
Total amount, in kilobytes, of physical memory available to the operating
system. This value does not necessarily indicate the true amount of physical
memory, but what is reported to the operating system as available to it.
For more information about using uint64 values in scripts, see Scripting in
WMI.
--- quote ---
Adding the property and filling the value using 'get_total_physical_memory'
helper (value converted to KB) allows the app to show the amount.
$ sha1sum PlayOnSetup.3.9.13.exe
05e03ab3cc64a45613656ea50171965f00558a6f PlayOnSetup.3.9.13.exe
$ du -sh PlayOnSetup.3.9.13.exe
64M PlayOnSetup.3.9.13.exe
$ wine --version
wine-1.7.19-70-gd6a59f7
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.
More information about the wine-bugs
mailing list