[Mono-bugs] [Bug 472692] invoking method info for virtual generic method in generic class crashes vm

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 5 05:27:54 EST 2009


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

User skolima at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=472692#c1


Leszek Ciesielski <skolima at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |skolima at gmail.com




--- Comment #1 from Leszek Ciesielski <skolima at gmail.com>  2009-02-05 03:27:52 MST ---
This fails the same way on Linux, using Mono 2.2, 2.4 Preview 2 and svn-head
(r125636). And it does work on MS.Net. Actual stack trace:

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

  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke
(object,object[],System.Exception&) <0x00004>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke
(object,object[],System.Exception&) <IL 0x00024, 0xffffffff>
  at System.Reflection.MonoMethod.Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
[0x00057] in
/root/mono_svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:159
  at System.Reflection.MethodBase.Invoke (object,object[]) [0x00000] in
/root/mono_svn/mcs/class/corlib/System.Reflection/MethodBase.cs:111
  at Program.Main () <IL 0x00031, 0x0008d>
  at (wrapper runtime-invoke) object.runtime_invoke_void
(object,intptr,intptr,intptr) <IL 0x00049, 0xffffffff>

Native stacktrace:

    mono [0x80d2c2f]
    [0xffffe40c]
    /lib/libc.so.6(abort+0x101) [0xb7cd7531]
    /usr/lib/libglib-2.0.so.0(g_assertion_message+0x105) [0xb7e78d9b]
    /usr/lib/libglib-2.0.so.0 [0xb7e79263]
    mono [0x8077045]
    mono [0x80617bd]
    mono [0x8063141]
    mono [0x8063a54]
    mono(mono_runtime_invoke_array+0x32c) [0x817f3ac]
    mono [0x811aa00]
    [0xb70c591b]
    [0xb70c4f96]
    [0xb70c4ee3]
    [0xb70c430e]
    [0xb70c41fa]
    mono(mono_runtime_exec_main+0xe5) [0x817d145]
    mono(mono_runtime_run_main+0x16b) [0x817d8eb]
    mono(mono_main+0x18d2) [0x80b2c02]
    mono [0x805ae31]
    /lib/libc.so.6(__libc_start_main+0xe0) [0xb7cc2fc8]
    mono [0x805ad61]

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

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