[Mono-bugs] [Bug 600905] New: SIGABRT in emit_class_dwarf_info (without MONO_XDEBUG and under GDB only)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 29 08:52:53 EDT 2010


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

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


           Summary: SIGABRT in emit_class_dwarf_info (without MONO_XDEBUG
                    and under GDB only)
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: x86-64
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: debug
        AssignedTo: vargaz at gmail.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


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

note: MONO_XDEBUG is not defined in my environment variables - I suspect this
gets called only under GDB since the SIGABRT is different when executed without
gdb


gdb --args mono --security=core-clr --compile-all
bin/System.ServiceModel.Web.sigabrt.51027.dll


ERROR:dwarfwriter.c:874:emit_class_dwarf_info: assertion failed: (k <
G_N_ELEMENTS (basic_types))

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff62c5910 (LWP 12357)]
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  0x00007ffff797577f in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007ffff7975cf0 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x00000000004a3983 in emit_class_dwarf_info (w=0x973a30,
klass="AttributeState", vtype=<value optimized out>) at dwarfwriter.c:874
#5  0x00000000004a38c5 in emit_class_dwarf_info (w=0x973a30,
klass="System.Runtime.Serialization.Json.JsonReader", vtype=0) at
dwarfwriter.c:943
#6  0x00000000004a3fd8 in emit_type (w=0x973a30, t=0x9f6790) at
dwarfwriter.c:1050
#7  0x00000000004a4a5b in mono_dwarf_writer_emit_method (w=0x973a30, cfg=<value
optimized out>, method=<value optimized out>, 
    start_symbol=<value optimized out>, end_symbol=<value optimized out>,
code=<value optimized out>, code_size=784, args=0x9faa30, locals=0x9faae0, 
    unwind_info=0xa2c000 = {...}, debug_info=0xa179d0) at dwarfwriter.c:1617
#8  0x00000000004b483b in mono_save_xdebug_info (cfg=0x9c1000) at xdebug.c:275
#9  0x000000000041fa4d in mini_method_compile (method=<value optimized out>,
opts=<value optimized out>, domain=<value optimized out>, 
    run_cctors=<value optimized out>, compile_aot=<value optimized out>,
parts=<value optimized out>) at mini.c:4460
#10 0x0000000000468833 in compile_all_methods_thread_main (args=0x7fffffffdd00)
at driver.c:879
#11 0x0000000000577fcc in start_wrapper (data=<value optimized out>) at
threads.c:747
#12 0x0000000000599543 in thread_start_routine (args=0x9ab988) at
wthreads.c:286
#13 0x00000000005c3e45 in GC_start_routine (arg=0x7ffff7e49fc0) at
pthread_support.c:1390
#14 0x00007ffff72f165d in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#15 0x00007ffff6e0be1d in clone () from /lib64/libc.so.6
#16 0x0000000000000000 in ?? ()
(gdb) up 4
#4  0x00000000004a3983 in emit_class_dwarf_info (w=0x973a30,
klass="AttributeState", vtype=<value optimized out>) at dwarfwriter.c:874
874            g_assert (k < G_N_ELEMENTS (basic_types));
(gdb) p k
$1 = 17
(gdb) p basic_types
$2 = {{die_name = 0x5f25e7 ".LDIE_I1", name = 0x5f25f0 "sbyte", type = 4, size
= 1, encoding = 5}, {die_name = 0x5f25f6 ".LDIE_U1", name = 0x5f25f1 "byte", 
    type = 5, size = 1, encoding = 7}, {die_name = 0x5f25ff ".LDIE_I2", name =
0x64e460 "short", type = 6, size = 2, encoding = 5}, {die_name = 
    0x5f2608 ".LDIE_U2", name = 0x5f2611 "ushort", type = 7, size = 2, encoding
= 7}, {die_name = 0x5f24c2 ".LDIE_I4", name = 0x5dc8e4 "int", type = 8, 
    size = 4, encoding = 5}, {die_name = 0x5f2618 ".LDIE_U4", name = 0x5f2621
"uint", type = 9, size = 4, encoding = 7}, {die_name = 0x5f2626 ".LDIE_I8", 
    name = 0x648bd8 "long", type = 10, size = 8, encoding = 5}, {die_name =
0x5f262f ".LDIE_U8", name = 0x5f2638 "ulong", type = 11, size = 8, encoding = 
    7}, {die_name = 0x5f24cb ".LDIE_I", name = 0x5f2647 "intptr", type = 24,
size = 8, encoding = 5}, {die_name = 0x5f263e ".LDIE_U", name = 
    0x5f2646 "uintptr", type = 25, size = 8, encoding = 7}, {die_name =
0x5f264e ".LDIE_R4", name = 0x5f2657 "float", type = 12, size = 4, encoding =
4}, {
    die_name = 0x5f265d ".LDIE_R8", name = 0x5dc6cb "double", type = 13, size =
8, encoding = 4}, {die_name = 0x5f2666 ".LDIE_BOOLEAN", name = 
    0x5f2674 "boolean", type = 2, size = 1, encoding = 2}, {die_name = 0x5f267c
".LDIE_CHAR", name = 0x64f959 "char", type = 3, size = 2, encoding = 8}, {
    die_name = 0x5f2687 ".LDIE_STRING", name = 0x612b34 "string", type = 14,
size = 8, encoding = 1}, {die_name = 0x5f24d3 ".LDIE_OBJECT", name = 
    0x63e67e "object", type = 28, size = 8, encoding = 1}, {die_name = 0x5f2694
".LDIE_SZARRAY", name = 0x63e67e "object", type = 29, size = 8, encoding = 
    1}}

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