http://bugs.winehq.org/show_bug.cgi?id=32835
Bug #: 32835 Summary: Batman: Arkham Asylum (non-Steam) Demo - fails in wbemprox:class_object_GetMethod Product: Wine Version: 1.5.22 Platform: x86 URL: http://www.shacknews.com/file/14150/batman-arkham-asyl um-demo OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: wmi&wbemprox AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com CC: andrey.goosev@gmail.com, hans@meelstraat.net Classification: Unclassified
Created attachment 43370 --> http://bugs.winehq.org/attachment.cgi?id=43370 WINEDEBUG=tid,wbemprox,wmiutils
Backtrace: =>0 0x7de4a99d create_signature+0x1d(class=0x0(nil), method="GetOwner", dir=PARAM_IN, sig=0x32f1ac) [/home/austin/wine-git/dlls/wbemprox/../../include/wine/unicode.h:200] in wbemprox (0x0032f158) 1 0x7de4b28d class_object_GetMethod+0x6c(iface=*** Invalid address 0x00000000 *** Internal symbol error: unable to access memory location (nil), wszName=*** Invalid address 0x00000004 *** Internal symbol error: unable to access memory location 0x4, lFlags=*** Invalid address 0x00000008 *** , ppInSignature=*** Invalid address 0x0000000c *** Internal symbol error: unable to access memory location 0xc, ppOutSignature=*** Invalid address 0x00000010 *** Internal symbol error: unable to access memory location 0x10) [/home/austin/wine-git/dlls/wbemprox/class.c:858] in wbemprox (0x0032f1c8) 2 0x6a301933 in wminet_utils (+0x1932) (0x0032f1f4) 3 0x0036bd1d (0x0032f224) 4 0x03315091 (0x0032f26c) 5 0x033140f0 (0x0032f2ac) 0x7de4a99d create_signature+0x1d [/home/austin/wine-git/dlls/wbemprox/../../include/wine/unicode.h:200] in wbemprox: cmpw $0,0x0(%edi) 200 while (*s) s++;
http://bugs.winehq.org/show_bug.cgi?id=32835
--- Comment #1 from Andrey Gusev andrey.goosev@gmail.com --- Don't have any fails with wbemprox in 1.7.8 Demo from http://www.fileplanet.com/198913/190000/fileinfo/Batman:-Arkham-Asylum-Demo
Someone else can confirm this please?
http://bugs.winehq.org/show_bug.cgi?id=32835
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Batman: Arkham Asylum |Batman: Arkham Asylum |(non-Steam) Demo - fails in |(non-Steam) Demo fails on |wbemprox:class_object_GetMe |startup |thod |(IWbemClassObject::GetNames | |with qualifier unsupported)
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
at least one WMI issue is still present, causing a message box to be displayed on startup (can be dismissed though).
Prerequisite: 'winetricks -q dotnet30' (if Mono not present in WINEPREFIX)
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Eidos/Batman Arkham Asylum Demo/Binaries
$ WINEDEBUG=+tid,+seh,+relay,+wbemprox wine ./BmLauncher.exe >>log.txt 2>&1 ... 002b:trace:wbemprox:wbem_services_ExecQuery 0x3324718, L"WQL", L"SELECT * FROM Win32_OperatingSystem", 0x00000010, (nil), 0x33e670 ... 002b:trace:wbemprox:fill_os created 1 rows 002b:trace:wbemprox:EnumWbemClassObject_create (nil), 0x33e670 002b:trace:wbemprox:EnumWbemClassObject_create returning iface 0x3324700 ... 002b:trace:wbemprox:enum_class_object_Reset 0x3336358 002b:trace:wbemprox:enum_class_object_Next 0x3336358, -1, 1, 0x21f7c8, 0x10ac01c 002b:trace:wbemprox:create_class_object L"Win32_OperatingSystem", 0x21f7c8 002b:trace:wbemprox:create_class_object returning iface 0x33364a0 002b:trace:wbemprox:class_object_QueryInterface 0x33364a0, {00000000-0000-0000-c000-000000000046}, 0x33dd40 002b:trace:wbemprox:class_object_QueryInterface 0x33364a0, {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4}, 0x33dcf0 002b:fixme:wbemprox:class_object_QueryInterface interface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} not implemented 002b:trace:wbemprox:class_object_QueryInterface 0x33364a0, {b196b283-bab4-101a-b69c-00aa00341d07}, 0x33dbd0 002b:fixme:wbemprox:class_object_QueryInterface interface {b196b283-bab4-101a-b69c-00aa00341d07} not implemented 002b:trace:wbemprox:class_object_QueryInterface 0x33364a0, {00000003-0000-0000-c000-000000000046}, 0x33db64 002b:fixme:wbemprox:class_object_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented 002b:trace:wbemprox:class_object_QueryInterface 0x33364a0, {00000144-0000-0000-c000-000000000046}, 0x33dbdc 002b:fixme:wbemprox:class_object_QueryInterface interface {00000144-0000-0000-c000-000000000046} not implemented 002b:trace:wbemprox:class_object_QueryInterface 0x33364a0, {dc12a681-737f-11cf-884d-00aa004b2e24}, 0x33dfdc 002b:trace:wbemprox:class_object_Get 0x33364a0, L"__GENUS", 00000000, 0x33e91c, 0x33e9e0, 0x33e9dc 002b:trace:wbemprox:class_object_Get 0x33364a0, L"__PATH", 00000000, 0x33e904, 0x33e9cc, 0x33e9c8 002b:trace:wbemprox:class_object_GetNames 0x33364a0, (null), 00000040, {VT_EMPTY}, 0x33e900 002b:fixme:wbemprox:class_object_GetNames qualifier not supported ... 002b:Call KERNEL32.RaiseException(e0434f4d,00000001,00000001,0033e8d4) ret=79f97065 002b:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b83a8ef ip=7b83a8ef tid=002b 002b:trace:seh:raise_exception info[0]=80004001 002b:trace:seh:raise_exception eax=7b826921 ebx=7b8ba000 ecx=80004001 edx=0033e818 esi=0033e8b4 edi=0033e880 002b:trace:seh:raise_exception ebp=0033e858 esp=0033e7f4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000287 002b:trace:seh:call_stack_handlers calling handler at 0x79f9a3c8 code=e0434f4d flags=1 002b:trace:seh:call_stack_handlers handler at 0x79f9a3c8 returned 1 002b:trace:seh:call_stack_handlers calling handler at 0x79f9ac4c code=e0434f4d flags=1 ... 002b:Call user32.MessageBoxW(00000000,010bf908 L"System.NotImplementedException: The method or operation is not implemented.\r\n at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)\r\n at System.Management.PropertyDataCollection.PropertyDataEnumerator..ctor(ManagementBaseObject parent, Boolea"...,790d6590 L"",00000000) ret=043a2bf7 --- snip ---
MSDN: http://msdn.microsoft.com/en-us/library/aa391447%28v=vs.85%29.aspx
Source: http://source.winehq.org/git/wine.git/blob/0f8cbab1a9c99c63da4a880912abdb2d7...
--- snip --- 467 static HRESULT WINAPI class_object_GetNames( 468 IWbemClassObject *iface, 469 LPCWSTR wszQualifierName, 470 LONG lFlags, 471 VARIANT *pQualifierVal, 472 SAFEARRAY **pNames ) 473 { 474 struct class_object *co = impl_from_IWbemClassObject( iface ); 475 struct enum_class_object *ec = impl_from_IEnumWbemClassObject( co->iter ); 476 477 TRACE("%p, %s, %08x, %s, %p\n", iface, debugstr_w(wszQualifierName), lFlags, 478 debugstr_variant(pQualifierVal), pNames); 479 480 if (wszQualifierName || pQualifierVal) 481 { 482 FIXME("qualifier not supported\n"); 483 return E_NOTIMPL; 484 } 485 if (lFlags != WBEM_FLAG_ALWAYS) 486 { 487 FIXME("flags %08x not supported\n", lFlags); 488 return E_NOTIMPL; 489 } 490 return get_properties( ec->query->view, pNames ); 491 } --- snip ---
$ sha1sum nzd_BMDemo_v12.exe 7582c87cc3983016c7fbf2104999df087ecce7a6 nzd_BMDemo_v12.exe
$ du -sh nzd_BMDemo_v12.exe 2.1G nzd_BMDemo_v12.exe
$ wine --version wine-1.7.8-200-gd566292
Regards
http://bugs.winehq.org/show_bug.cgi?id=32835
--- Comment #3 from Austin English austinenglish@gmail.com --- (In reply to comment #2)
Hello folks,
at least one WMI issue is still present, causing a message box to be displayed on startup (can be dismissed though).
Prerequisite: 'winetricks -q dotnet30' (if Mono not present in WINEPREFIX)
I see the same.
http://bugs.winehq.org/show_bug.cgi?id=32835
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #4 from Jarkko K jarkko_korpi@hotmail.com --- Created attachment 47868 --> http://bugs.winehq.org/attachment.cgi?id=47868 Here is a pic of it
http://bugs.winehq.org/show_bug.cgi?id=32835
--- Comment #5 from Jarkko K jarkko_korpi@hotmail.com --- (In reply to Jarkko K from comment #4)
Created attachment 47868 [details] Here is a pic of it
I also want to point out that steam version FULL game has this issue.
https://bugs.winehq.org/show_bug.cgi?id=32835
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c3566b088d3f1843aaf974e9ad8 | |0567dc0246ab5 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/c3566b088d3f1843aaf974e9ad8...
Thanks Hans
Regards
https://bugs.winehq.org/show_bug.cgi?id=32835
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
just an addendum for documentation purpose.
The launcher also evaluates various NVIDIA driver related features (shader versions, supported MSAA levels etc.) and might show the following message:
--- snip --- 002a:Call user32.MessageBoxW(00000000,01155d20 L"Your NVIDIA(TM) Graphics Driver is not up to date - for the best in-game experience, we recommend that you update your driver",790d6590 L"",00000000) ret=04b1368b --- snip ---
This is a failing check on the reported NVIDIA driver version (albeit with no consequences).
You can avoid that message by setting WinVer to 'Windows 7' resulting in wined3d driver_os_version = 8 (and later based on that a proper driver_info.version_high/version_low).
--- snip --- Wine-dbg>bt Backtrace:
=>0 0x7daf65b9 init_driver_info+0x68e(driver_info=0x33bfb60, vendor=HW_VENDOR_NVIDIA, device=CARD_NVIDIA_GEFORCE_8800GTX) [/home/focht/projects/wine/wine.repo/src/dlls/wined3d/directx.c:1514] in wined3d (0x0033dc38) ...
Wine-dbg>p *driver_info {vendor=HW_VENDOR_NVIDIA, device=CARD_NVIDIA_GEFORCE_8800GTX, name="nvd3dum.dll", description="NVIDIA GeForce 8800 GTX", vidmem=0x30000000, version_high=0x8000f, version_low=0xc1a02} --- snip ---
The actual app .NET code containing the check, decompiled (Manager = managed Direct3D wrapper):
--- snip --- private void CheckNVDriver() { this.recommendNewNVDriver = false; if (Manager.get_Adapters().get_Count() == 0) { return; } if (4318 != Manager.get_Adapters().get_Item(0).get_Information().get_VendorId()) { return; } Version driverVersion = Manager.get_Adapters().get_Item(0).get_Information().get_DriverVersion(); Version v = new Version(8, 15, 11, 8618); if (driverVersion < v) { this.recommendNewNVDriver = true; } } --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=32835
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.16.