http://bugzilla.novell.com/show_bug.cgi?id=541623


           Summary: System.Net.NetworkInformation.NetworkInterface.GetAllN
                    etworkInterfaces() fails due to JIT
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3

The following code:

System.Net.NetworkInformation.NetworkInterface[] nics =
System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces();

Returns the following exception:

Unhandled Exception: System.ExecutionEngineException: Attempting to JIT compile
method '(wrapper unknown)
System.Net.NetworkInformation.MacOsStructs.ifaddrs:PtrToStructure
(intptr,object)' while running with --aot-only.

  at
System.Net.NetworkInformation.MacOsNetworkInterface.ImplGetAllNetworkInterfaces
() [0x00000] 
  at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces ()
[0x00000] 


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to