[Mono-bugs] [Bug 574819] New: CRITICAL **: mono_bitset_test: assertion `pos < set->size' failed

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jan 28 12:41:24 EST 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=574819#c0


           Summary: CRITICAL **: mono_bitset_test: assertion `pos <
                    set->size' failed
    Classification: Mono
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


using System;
using System.Reflection;
using System.Linq;

class MainClass
{
    public static void Main (string[] args)
    {
        var t = typeof (System.Array);
        var a = t.GetMethods (BindingFlags.Static |
BindingFlags.NonPublic).Where (l => l.Name.StartsWith ("qsort") &&
l.GetGenericArguments ().Length == 2).First ();

        var p = a.GetParameters ();
        var i = p[0].ParameterType.GetElementType ();
        i.GetInterfaces ();

        return;
    }
}

compile & run

CRITICAL **: mono_bitset_test: assertion `pos < set->size' failed
**
ERROR:monobitset.c:90:mono_bitset_set: assertion failed: (pos < set->size)
Stacktrace:

  at (wrapper managed-to-native) System.MonoType.GetInterfaces
(System.MonoType*) <0x00004>
  at (wrapper managed-to-native) System.MonoType.GetInterfaces
(System.MonoType*) <0x00004>
  at MainClass.Main (string[]) [0x00050] in
/home/marek/Projects/test2/test2/Main.cs:14
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <IL 0x0001d, 0x00090>

Native stacktrace:

    /usr/local/bin/mono [0x80d62d4]
    [0x4001d410]
    /lib/tls/i686/cmov/libc.so.6(abort+0x182) [0x4016e932]
    /lib/libglib-2.0.so.0(g_assertion_message+0x13c) [0x4009cdec]
    /lib/libglib-2.0.so.0 [0x4009d44d]
    /usr/local/bin/mono [0x81e4542]
    /usr/local/bin/mono [0x81bfba7]
    [0x41024f71]
    [0x4099c51d]
    [0x4099c5e9]
    /usr/local/bin/mono [0x8063c91]
    /usr/local/bin/mono(mono_runtime_invoke+0x40) [0x8138680]
    /usr/local/bin/mono(mono_runtime_exec_main+0xdb) [0x813bd4b]
    /usr/local/bin/mono(mono_runtime_run_main+0x15a) [0x813f78a]
    /usr/local/bin/mono(mono_main+0x1951) [0x80b5671]
    /usr/local/bin/mono [0x805b8e5]
    /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x40157b56]
    /usr/local/bin/mono [0x805b821]

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