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@winehq.org Reporter: focht@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
https://bugs.winehq.org/show_bug.cgi?id=36703
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download URL| |http://www.playon.tv/downlo | |ads/playon/
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
filling fields.
Prerequisite: 'winetricks -q dotnet35sp1 wmp9'
Regards
https://bugs.winehq.org/show_bug.cgi?id=36703
--- Comment #2 from Hans Leidekker hans@meelstraat.net --- Commit 192e1c0e7ff1cb838bdf2e111fd4e97a42ee4a70 adds this property.
https://bugs.winehq.org/show_bug.cgi?id=36703
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |192e1c0e7ff1cb838bdf2e111fd | |4e97a42ee4a70 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello Hans,
thanks for the notice.
Fixed by commit http://source.winehq.org/git/wine.git/commitdiff/192e1c0e7ff1cb838bdf2e111fd...
Thanks Vincent
Regards
https://bugs.winehq.org/show_bug.cgi?id=36703
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.34.
https://bugs.winehq.org/show_bug.cgi?id=36703
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.playon.tv/downlo |https://web.archive.org/web |ads/playon/ |/20210302110846/http://dl15 | |.afterdawn.com/download/7a5 | |e997ae708ddd2f9550663dc4d40 | |cd/603e1ca1/n-z/PlayOnSetup | |.3.9.14.exe
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive for documentation:
Old version 3.9.13 can't be found anymore hence using nearest one from that time (2014): 3.9.14
https://web.archive.org/web/20210302110846/http://dl15.afterdawn.com/downloa...
$ sha1sum PlayOnSetup.3.9.14.exe 9035f0b920a11929fb3e69a457ba949d5e6deaa2 PlayOnSetup.3.9.14.exe
$ du -sh PlayOnSetup.3.9.14.exe 64M PlayOnSetup.3.9.14.exe
All versions overview:
https://web.archive.org/web/20210116064434/https://www.afterdawn.com/softwar...
Regards