[Mono-bugs] [Bug 521975] New: [SRE] Crash (assertion failure) in Type.GetMethod

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 14 10:27:11 EDT 2009


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

User rkvinge at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=521975#c521339

           Summary: [SRE] Crash (assertion failure) in Type.GetMethod
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=304994)
 --> (http://bugzilla.novell.com/attachment.cgi?id=304994)
Test case - unzip and execute build.sh

User-Agent:       Opera/10.00 (X11; Linux i686; U; en) Presto/2.2.2

> mono --version
Mono JIT compiler version 2.5 (/trunk/mono r137748 Tue Jul 14 15:10:21 CEST
2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    GC:            Included Boehm (with typed GC and Parallel Mark)
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  x86
    Disabled:      none


Reproducible: Always

Steps to Reproduce:
Download attached test case, unzip, execute build.sh.
Actual Results:  
(...)
** ERROR:(class.c:2731):mono_class_setup_vtable: assertion failed: (inflated)
Stacktrace:

  at (wrapper managed-to-native) System.MonoType.GetMethodsByName
(string,System.Reflection.BindingFlags,bool,System.Type) <0x00004>
  at (wrapper managed-to-native) System.MonoType.GetMethodsByName
(string,System.Reflection.BindingFlags,bool,System.Type) <IL 0x00026,
0xffffffff>
  at System.MonoType.GetMethodImpl
(string,System.Reflection.BindingFlags,System.Reflection.Binder,System.Reflection.CallingConventions,System.Type[],System.Reflection.ParameterModifier[])
[0x0000a] in /mono/main/git/mcs/class/corlib/System/MonoType.cs:206
  at System.Type.GetMethod
(string,System.Reflection.BindingFlags,System.Reflection.Binder,System.Reflection.CallingConventions,System.Type[],System.Reflection.ParameterModifier[])
[0x0004c] in /mono/main/git/mcs/class/corlib/System/Type.cs:814
  at vbnc.GenericMethodDescriptor.get_MethodInReflection () <IL 0x004b4,
0x00a7e>
(...)

Expected Results:  
No crash.

This is sort of related to bug #521339 - I was trying to work around that bug
by just trying several ways of getting a closed generic method and using the
one that works.

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