[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



           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 ();


compile & run

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

  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
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <IL 0x0001d, 0x00090>

Native stacktrace:

    /usr/local/bin/mono [0x80d62d4]
    /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]
    /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