[Mono-bugs] [Bug 603279] New: [verifier] abort with "unknown type 0x16 in mono_class_array_element_size"

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu May 6 08:39:55 EDT 2010


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

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


           Summary: [verifier] abort with "unknown type 0x16 in
                    mono_class_array_element_size"
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: x86-64
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: verifier
        AssignedTo: rkumpera at novell.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=360041)
 --> (http://bugzilla.novell.com/attachment.cgi?id=360041)
assembly causing the abort

g_error is called instead of throwing an exception.

gdb --args pedump --verify all bin/System.Core.sigabrt.19084.dll

** ERROR **: unknown type 0x16 in mono_class_array_element_size
aborting...

Program received signal SIGABRT, Aborted.
0x00007ffff6d6d4e5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff6d6d4e5 in raise () from /lib64/libc.so.6
#1  0x00007ffff6d6e9b0 in abort () from /lib64/libc.so.6
#2  0x00007ffff795a04a in g_logv () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffff795a0e3 in g_log () from /usr/lib64/libglib-2.0.so.0
#4  0x0000000000427ea0 in mono_class_array_element_size (klass=0x890128) at
class.c:7295
#5  0x00000000004247b3 in mono_bounded_array_class_get (eclass=0x890128,
rank=1, bounded=0) at class.c:5801
#6  0x0000000000424bab in mono_array_class_get (eclass=0x890128, rank=1) at
class.c:5899
#7  0x00000000004d7529 in do_newarr (ctx=0x7fffffffd630, token=452984893) at
verify.c:3662
#8  0x00000000004dfebb in mono_method_verify (method=0x9ed090, level=135) at
verify.c:5176
#9  0x000000000040e7be in dump_verify_info (image=0x8ec310, flags=135) at
pedump.c:365
#10 0x000000000040f5bb in main (argc=4, argv=0x7fffffffdeb8) at pedump.c:720
(gdb) up 4
#4  0x0000000000427ea0 in mono_class_array_element_size (klass=0x890128) at
class.c:7295
7295            g_error ("unknown type 0x%02x in
mono_class_array_element_size", type->type);
(gdb) p klass->name
$1 = 0x7ffff6a89e8c "TypedReference"
(gdb) p klass->name_space
$2 = 0x7ffff6a882f1 "System"
(gdb) p *type
$3 = {data = {klass = 0x890128, type = 0x890128, array = 0x890128, method =
0x890128, generic_param = 0x890128, generic_class = 0x890128}, attrs = 0, 
  type = MONO_TYPE_TYPEDBYREF, num_mods = 0, byref = 0, pinned = 0, modifiers =
0x8901fc}

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