[Mono-bugs] [Bug 540585] New: crash on executing overriden nonpublic method with generics

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 20 18:56:10 EDT 2009


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


           Summary: crash on executing overriden nonpublic method with
                    generics
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.0.x
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: divanorama at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=318998)
 --> (http://bugzilla.novell.com/attachment.cgi?id=318998)
assembly file of program causing runtime crash

User-Agent:       Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.2.15
Version/10.00

If there is a generic base with virtual/abstract method which is overriden in
generic subclass using ".override" then calling it will crash the runtime with
message:

ERROR:mini-trampolines.c:212:mono_magic_trampoline: code should not be reached

Tested 2.0.x which crashes and 2.2, 2.4 which don't crash.

Reproducible: Always

Steps to Reproduce:
1. ilasm out.asm
2. mono out.exe

Actual Results:  
**
ERROR:mini-trampolines.c:212:mono_magic_trampoline: code should not be reached
Stacktrace:

  at Q.Main () <0xffffffff>
  at Q.Main () <0x0002f>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>


Expected Results:  
Just run and exit with code 0

C# doesn't emit ".override" in such hierarchy and so it's probably not
reproducable with C# program.

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