[Bug 28682] Ragnarok download shows a .NET exception on start (needs Win32_Processor WMI class)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Dec 13 05:43:15 CST 2011


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
          Component|-unknown                    |wmi&wbemprox
         Depends on|                            |20651
            Summary|Ragnarok download shows a   |Ragnarok download shows a
                   |.NET exception on start     |.NET exception on start
                   |                            |(needs Win32_Processor WMI
                   |                            |class)

--- Comment #1 from Anastasius Focht <focht at gmx.net> 2011-12-13 05:43:15 CST ---
Hello,

depends on infrastructure covered by bug 20651 (WBEM / WMI not implemented,
affects many .NET apps).
Not marking duplicate because once the core infrastructure is in place, various
schema classes included in the "root\cimv2" namespace need to be implemented
separately.

--- snip ---
...
(29.2a): CLR exception - code e0434f4d (first chance)
OS Thread Id: 0x2a (0)
ESP       EIP     
0033eb00 7b838b8b [HelperMethodFrame: 0033eb00] 
0033eba4 05701ccc System.Management.ManagementScope.Initialize()
0033ebd0 05701756 System.Management.ManagementObject.Initialize(Boolean)
0033ec2c 05701302
System.Management.ManagementClass.GetInstances(System.Management.EnumerationOptions)
0033ec68 05701237 System.Management.ManagementClass.GetInstances()
0033ec6c 05700290 FilesDownloader.MainForm.GetCPUId()
0033ec9c 02b720d0 FilesDownloader.MainForm.MainForm_Load(System.Object,
System.EventArgs)
...
--- snip ---

The .NET code:

--- snip ---
    ManagementClass class2 = new ManagementClass("Win32_Processor");
    foreach (ManagementObject obj2 in class2.GetInstances())
    {
        if (str == string.Empty)
        {
            str = obj2.Properties["ProcessorId"].Value.ToString();
        }
    }
--- snip ---

Making this bug targeting "Win32_Processor" WMI class.

MSDN: msdn.microsoft.com/en-us/library/windows/desktop/aa394373.aspx

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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