[Mono-bugs] [Bug 556030] New: System.ExecutionEngineException: Attempting to JIT compile method 'System.Collections.Generic.GenericEqualityComparer`1<char>:.ctor ()' while running with --aot-only

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 17 01:24:24 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=556030#c0

           Summary: System.ExecutionEngineException: Attempting to JIT
                    compile method
                    'System.Collections.Generic.GenericEqualityComparer`1<
                    char>:.ctor ()' while running with --aot-only
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: fak at kruegersystems.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Description of Problem:

**System.ExecutionEngineException: Attempting to JIT compile method
'System.Collections.Generic.GenericEqualityComparer`1<char>:.ctor ()' while
running with --aot-only**

Steps to reproduce the problem:
1. Here is the function "JustTheFile":

        static string JustTheFile(string name) {
            var sep = '\\';
            if (!name.Contains(sep)) {
                sep = '/';
            }
            var last = name.LastIndexOf(sep);
            if (last < 0) {
                return name;
            }
            else if (last == name.Length - 1) {
                return name;
            }
            else {
                return name.Substring(last + 1);
            }
        }


Actual Results:

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for
System.Collections.Generic.EqualityComparer`1 --->
System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> System.ExecutionEngineException: Attempting to
JIT compile method
'System.Collections.Generic.GenericEqualityComparer`1<char>:.ctor ()' while
running with --aot-only.

  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters)
[0x00000] in <filename unknown>:0 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
[0x00000] in <filename unknown>:0 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename
unknown>:0 
  at System.Collections.Generic.EqualityComparer`1[System.Char]..cctor ()
[0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Linq.Enumerable.Contains[Char] (IEnumerable`1 source, Char value,
IEqualityComparer`1 comparer) [0x0000c] in
/Users/plasma/src/WORK/monotouch-1.3/mcs/class/System.Core/System.Linq/Enumerable.cs:388 
  at System.Linq.Enumerable.Contains[Char] (IEnumerable`1 source, Char value)
[0x00015] in
/Users/plasma/src/WORK/monotouch-1.3/mcs/class/System.Core/System.Linq/Enumerable.cs:380 
  at VlcRemote.File.JustTheFile (System.String name) [0x00003] in
/Users/fak/Projects/VlcRemote/VlcRemote/Data.cs:85 
  at VlcRemote.File.GetTitle (System.String name) [0x00000] in
/Users/fak/Projects/VlcRemote/VlcRemote/Data.cs:101 
  at VlcRemote.SeriesNameParsers.Parse (System.String name) [0x00000] in
/Users/fak/Projects/VlcRemote/VlcRemote/Data.cs:140 
  at VlcRemote.NowPlaying.UpdateUI () [0x0000b] in
/Users/fak/Projects/VlcRemote/VlcRemote/NowPlaying.xib.cs:211 
  at VlcRemote.NowPlaying+<ReadStatus>c__AnonStoreyD.<>m__1C () [0x00011] in
/Users/fak/Projects/VlcRemote/VlcRemote/NowPlaying.xib.cs:125 
  at MonoTouch.Foundation.NSActionDispatcher.Apply () [0x00000] in
/Users/plasma/src/iphone/monotouch/Foundation/NSAction.cs:22 
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String
principalClassName, System.String delegateClassName) [0x00043] in
/Users/plasma/src/iphone/monotouch/UIKit/UIApplication.cs:27 
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args) [0x00000] in
/Users/plasma/src/iphone/monotouch/UIKit/UIApplication.cs:31 
  at VlcRemote.Application.Main (System.String[] args) [0x00000] in
/Users/fak/Projects/VlcRemote/VlcRemote/Application.cs:13 
Symbol file
/var/mobile/Applications/E0D8FB24-B7DE-4538-9E5B-CE2F46763FFC/VlcRemote.app/mscorlib.dll.mdb
doesn't match image
/var/mobile/Applications/E0D8FB24-B7DE-4538-9E5B-CE2F46763FFC/VlcRemote.app/mscorlib.dll


Expected Results:


How often does this happen? 


Additional Information:


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


More information about the mono-bugs mailing list