[Mono-bugs] [Bug 551623] New: "Attempting to JIT compile method" When Using Expressions

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 30 20:04:25 EDT 2009


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


           Summary: "Attempting to JIT compile method" When Using
                    Expressions
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: gnorton at novell.com
        ReportedBy: tscott at lunaversesoftware.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=324971)
 --> (http://bugzilla.novell.com/attachment.cgi?id=324971)
Solution that demontrates the problem.

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4

When calling a method that takes an epxression as the parameter, get an error
like the following:

Attempting to JIT compile method
'Catnap.Maps.Impl.EntityMap`1<ShowExpressionBugs.Foo>:Property<int>
(System.Linq.Expressions.Expression`1<System.Func`2<ShowExpressionBugs.Foo,
int>>)' while running with --aot-only.

In this case, I do not believe there should be any JIT compiling happening.

The attached demo solution exhibits the problem.

Reproducible: Always

Steps to Reproduce:
1. Run the demo solution on the device
2. Open the file "app.log" to see the exception messages.
Actual Results:  
Exceptions

Expected Results:  
No exceptions

The demo solution uses Catnap and open source ORM which I have developed.  You
can find the source for that here:
http://code.google.com/p/catnap-orm/source/browse/.  In particular, the class
that is used in the demo is here:
http://code.google.com/p/catnap-orm/source/browse/trunk/src/Catnap/Maps/Impl/EntityMap.cs

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