[Bug 24461] Batman: Arkham Asylum Demo aborts on startup in system.management?

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 19 07:08:07 CDT 2010


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
          Component|-unknown                    |wmi&wbemprox

--- Comment #1 from Anastasius Focht <focht at gmx.net> 2010-09-19 07:08:06 CDT ---
Hello,

dupe of bug 20651 
Your snippet is too short, missing the interesting bits (e.g. managed
backtrace).

--- snip ---
Unhandled Exception: System.Management.ManagementException: Generic failure 
   at System.Management.ManagementScope.Initialize()
   at System.Management.ManagementObjectSearcher.Initialize()
   at System.Management.ManagementObjectSearcher.Get()
   at BmLauncher.Program.GetProcessOwner(Int32 processId)
   at BmLauncher.Program.GetPrevInstance()
   at BmLauncher.Program.Main()
wine: Unhandled exception 0xe0434f4d at address 0x7b837272 (thread 0009),
starting debugger...
...
--- snip ---

The app code doesn't guard WMI queries with exception handler hence the crash
(never expects WMI to fail).

--- snip managed code ---

    ManagementObjectSearcher searcher = new ManagementObjectSearcher("Select *


More information about the wine-bugs mailing list