[Bug 32835] Batman: Arkham Asylum (non-Steam) Demo fails on startup (IWbemClassObject::GetNames with qualifier unsupported)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Dec 13 10:41:17 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=32835

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at 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 at 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/0f8cbab1a9c99c63da4a880912abdb2d7280ce02:/dlls/wbemprox/class.c#l467

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

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