[Mono-bugs] [Bug 467834] New: mono_method_get_vtable_slot assertion when compiling Nemerle

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 20 23:35:00 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=467834


           Summary: mono_method_get_vtable_slot assertion when compiling
                    Nemerle
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.2.x
          Platform: x86-64
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: evin.robertson at cox.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:
System.Reflection is broken for Nemerle again.


Steps to reproduce the problem:
1. Download, compile, and install Mono 2.2 to /usr/local/bin
2. Download a recent version of Nemerle (I tried with 0.9.3.99.8218 and
0.9.3.99.8160)
3. configure Nemerle to point at Mono 2.2 (./configure
--mono-from=/usr/local/bin)
4. run make


Actual Results:

A SIGABRT is received during compilation:

** ERROR:(class.c:3259):mono_method_get_vtable_slot: assertion failed:
(method->slot != -1)
Stacktrace:

  at (wrapper managed-to-native) System.MonoType.GetPropertiesByName
(string,System.Reflection.BindingFlags,bool,System.Type) <0x00051>
  at (wrapper managed-to-native) System.MonoType.GetPropertiesByName
(string,System.Reflection.BindingFlags,bool,System.Type) <0xffffffff>
  at System.MonoType.GetProperties (System.Reflection.BindingFlags) [0x00000]
in /tmp/mono-2.2/mcs/class/corlib/System/MonoType.cs:259
  at System.Reflection.Emit.TypeBuilder.GetProperties
(System.Reflection.BindingFlags) [0x0000b] in
/tmp/mono-2.2/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs:1282
  at System.Reflection.MonoGenericClass.initialize () [0x00024] in
/tmp/mono-2.2/mcs/class/corlib/System.Reflection/MonoGenericClass.cs:108
  at System.Reflection.MonoGenericClass.GetConstructor
(System.Reflection.ConstructorInfo) [0x00000] in
/tmp/mono-2.2/mcs/class/corlib/System.Reflection/MonoGenericClass.cs:187
  at System.Reflection.Emit.TypeBuilder.GetConstructor
(System.Type,System.Reflection.ConstructorInfo) [0x00000] in
/tmp/mono-2.2/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs:1804
  at Nemerle.Compiler.ILEmitter.FrameworkGetConstructor
(System.Type,System.Reflection.ConstructorInfo) <0x000e7>


Expected Results:

It should compile without errors, like it does with Mono 2.0.


How often does this happen? 

Every time.

Additional Information:

-- 
Configure bugmail: https://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