[Mono-bugs] [Bug 556746] New: UnmanagedFunctionPointer crashes AOT

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 18 18:12:58 EST 2009



           Summary: UnmanagedFunctionPointer crashes AOT
    Classification: Mono
           Product: MonoTouch
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Runtime
        AssignedTo: gnorton at novell.com
        ReportedBy: alp at atoker.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us)
AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10

    unsafe delegate IntPtr MyCallback(IntPtr data);

The above C# crashes the full AOT compiler when targeting iPhone Debug with the
MonoTouch mtouch utility. Removing the attribute allows the code build and run
correctly on the device. Guessing there's a case missing somewhere.

We have the attribute there to support the same library on Windows and it would
be nice to build without code modifications, even if it isn't necessary to
target iPhone.

Version: Current MonoTouch release at time of writing (/branches/mono-2-6/mono
r145575 Tue 10 Nov 2009 12:26:10 EST)

Reproducible: Always

Steps to Reproduce:

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list