[Mono-bugs] [Bug 545056] New: assertions (sig->has_type_parameters and mono_method_check_context_used) in mono_method_to_ir when using MarshalByRefObject and generics

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 7 13:32:30 EDT 2009


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


           Summary: assertions (sig->has_type_parameters and
                    mono_method_check_context_used) in mono_method_to_ir
                    when using MarshalByRefObject and generics
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.4.x
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: cmcwilliams at vvisions.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
AppleWebKit/532.2 (KHTML, like Gecko) Chrome/4.0.220.1 Safari/532.2

The attached code works fine running without mono on Windows but produces
errors under mono.

ERROR:method-to-ir.c:5152:mono_method_to_ir: assertion failed:
(!sig->has_type_parameters)

In trying to make a simpler test case, I started getting a different error.

ERROR:method-to-ir.c:5956:mono_method_to_ir: assertion failed:
(!mono_method_check_context_used (cmethod))

Reproducible: Always

Steps to Reproduce:
1. Build using MS VS 2008
2. Run using mono and run not using mono
Actual Results:  
C:\Test>mono Test.exe
**
ERROR:method-to-ir.c:5152:mono_method_to_ir: assertion failed:
(!sig->has_type_p
arameters)

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

C:\Test>

Expected Results:  
C:\Test>Test.exe
Test.SomeClass

C:\Test>

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