[Mono-bugs] [Bug 539085] New: XElement array Count method causes JIT problem

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 14 15:32:42 EDT 2009


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


           Summary: XElement array Count method causes JIT problem
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: gnorton at novell.com
        ReportedBy: mountain at xs4all.nl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=318169)
 --> (http://bugzilla.novell.com/attachment.cgi?id=318169)
Sample code to reproduce the bug

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

Unhandled Exception: System.ExecutionEngineException: Attempting to JIT compile
method '(wrapper managed-to-managed)
System.Xml.Linq.XElement[]:System.Collections.Generic.IEnumerable`1.GetEnumerator
()' while running with --aot-only.

when running attached code on the iPhone.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Actual Results:  
Unhandled Exception: System.ExecutionEngineException: Attempting to JIT compile
method '(wrapper managed-to-managed)
System.Xml.Linq.XElement[]:System.Collections.Generic.IEnumerable`1.GetEnumerator
()' while running with --aot-only.

  at
System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.Xml.Linq.XElement].MoveNext
() [0x00000]
  at System.Linq.Enumerable.Count[XElement] (IEnumerable`1 source) [0x00000]
  at iSignDutch.AppDelegate.FinishedLaunching (MonoTouch.UIKit.UIApplication
app, MonoTouch.Foundation.NSDictionary options) [0x00000]
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String
principalClassName, System.String delegateClassName) [0x00000]
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args) [0x00000]
  at iSignDutch.Application.Main (System.String[] args) [0x00000]

Expected Results:  
Launched
3 words
2 filtered words

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