[Mono-bugs] [Bug 578873] New: Banshee and Tomboy crash with AOTed Glib#

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 10 15:48:20 EST 2010


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

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


           Summary: Banshee and Tomboy crash with AOTed Glib#
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: x86-64
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: mhutchinson at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Using an AOTed glib-sharp.dll on Mono 2.6.1 causes Tomboy and Banshee to crash
when they are run. The error is:

ERROR:class.c:3669:mono_class_setup_vtable_general: assertion failed: (cur_slot
== class->vtable_size)

Program received signal SIGABRT, Aborted.
0x00007ffff6d6d4e5 in raise (sig=<value optimized out>) at
./nptl/sysdeps/unix/sysv/linux/raise.c:64
64    ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
    in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) t a a bt

Thread 4 (Thread 0x7ffff57eb910 (LWP 17823)):
#0  0x00007ffff6d6d4e5 in raise (sig=<value optimized out>) at
./nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff6d6e9b0 in abort () at abort.c:88
#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  0x00000000004e849e in mono_class_setup_vtable_general
(class="GLib.GException", overrides=<value optimized out>, onum=28) at
class.c:3669
#5  0x00000000004e89cc in mono_class_setup_vtable (class="GLib.GException") at
class.c:2897
#6  0x00000000004ee83b in mono_class_get_vtable_entry (class="GLib.GException",
offset=2) at class.c:1914
#7  0x000000000048a331 in mono_magic_trampoline (regs=0x7ffff57eadc8,
code=0x40023364 "H\307E", <incomplete sequence \310>, arg=<value optimized
out>, 
    tramp=<value optimized out>) at mini-trampolines.c:295
#8  0x0000000040002168 in <generic_trampoline> ()
#9  0x0000000040023364 in (wrapper runtime-invoke)
object:runtime_invoke_virtual_void__this__ (param0=GLib.GException = {...}, 
    param1=<value optimized out>, param2=140737312108296, param3=<value
optimized out>) at xdb.il:1918
#10 0x00000000004fd1b0 in mono_gc_run_finalize (obj=<value optimized out>,
data=<value optimized out>) at gc.c:218
#11 0x00000000005b2c78 in GC_invoke_finalizers () at finalize.c:787
#12 0x00000000004fd368 in finalizer_thread (unused=<value optimized out>) at
gc.c:1048
#13 0x0000000000572595 in start_wrapper (data=<value optimized out>) at
threads.c:662
#14 0x00000000005a2663 in thread_start_routine (args=0x956288) at
wthreads.c:286
#15 0x00000000005bf031 in GC_start_routine (arg=<value optimized out>) at
pthread_support.c:1390
#16 0x00007ffff72f165d in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#17 0x00007ffff6e0c14d in clone () at
./sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffff7fc3910 (LWP 17822)):
#0  0x00007ffff72f9341 in nanosleep () from /lib64/libpthread.so.0
#1  0x0000000000589ab2 in collection_thread (unused=<value optimized out>) at
collection.c:34
#2  0x00007ffff72f165d in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#3  0x00007ffff6e0c14d in clone () at
./sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffff6b0c910 (LWP 17821)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
./nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00000000005bdb53 in GC_wait_marker () at pthread_support.c:1785
#2  0x00000000005b82bd in GC_help_marker (my_mark_no=5) at mark.c:1116
#3  0x00000000005be95c in GC_mark_thread (id=<value optimized out>) at
pthread_support.c:548
#4  0x00007ffff72f165d in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#5  0x00007ffff6e0c14d in clone () at
./sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fba730 (LWP 17818)):
#0  __lll_lock_wait () at
./nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
#1  0x00007ffff72f3f50 in _L_lock_1014 () from /lib64/libpthread.so.0
#2  0x00007ffff72f3db1 in __pthread_mutex_lock (mutex=0x8b51a8) at
pthread_mutex_lock.c:82
#3  0x0000000000510e4e in mono_loader_lock () at loader.c:2002
#4  0x00000000005115b0 in cache_memberref_sig (image=0x8b51a8, sig_idx=128,
sig=0xefced8) at loader.c:394
#5  0x0000000000512250 in method_from_memberref (image=0xece4c0, idx=<value
optimized out>, typespec_context=<value optimized out>, 
    used_context=<value optimized out>) at loader.c:942
#6  0x00000000005122fe in mono_get_method_from_token (image=0x8b51a8,
token=167772457, klass=0x0, context=0x0, used_context=0x8b51a8) at
loader.c:1477
#7  0x000000000051289a in mono_get_method_full (image=0xece4c0,
token=167772457, klass=0x0, context=<value optimized out>) at loader.c:1591
#8  0x000000000042841b in mini_get_method_allow_open (context=<value optimized
out>, token=<value optimized out>, m=<value optimized out>, 
    klass=<value optimized out>) at method-to-ir.c:4600
#9  mini_get_method (context=<value optimized out>, token=<value optimized
out>, m=<value optimized out>, klass=<value optimized out>)
    at method-to-ir.c:4608
#10 0x0000000000444701 in mono_method_to_ir (cfg=0xee5c30, method=<value
optimized out>, start_bblock=<value optimized out>, 
    end_bblock=<value optimized out>, return_var=<value optimized out>,
dont_inline=<value optimized out>, inline_args=0x0, inline_offset=0, 
    is_virtual_call=0) at method-to-ir.c:6228
#11 0x000000000041d377 in mini_method_compile
(method="Mono.Addins.Serialization.BinaryXmlReader:ReadValueInternal ()",
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:3401
#12 0x000000000041ea04 in mono_jit_compile_method_inner (jit_ex=<value
optimized out>, opt=<value optimized out>, target_domain=<value optimized out>, 
    method="Mono.Addins.Serialization.BinaryXmlReader:ReadValueInternal ()") at
mini.c:4146
#13 mono_jit_compile_method_with_opt (jit_ex=<value optimized out>, opt=<value
optimized out>, target_domain=<value optimized out>, method=
    "Mono.Addins.Serialization.BinaryXmlReader:ReadValueInternal ()") at
mini.c:4338
#14 0x000000000041f37d in mono_jit_compile_method (method=Traceback (most
recent call last):
  File "/usr/bin/mono-gdb.py", line 150, in to_string
    class_name = stringify_class_name (klass ["name_space"].string (), klass
["name"].string ())
RuntimeError: Cannot access memory at address 0x1000045e7
) at mini.c:4363
#15 0x0000000000489f89 in mono_magic_trampoline (regs=0x7fffffffd398, code=
    0x4002d864
"L\213\064$L\213|$\bH\203\304\030\303\350\211G\375\377\004\200\315",
<incomplete sequence \357>, arg=<value optimized out>, 
    tramp=<value optimized out>) at mini-trampolines.c:476
#16 0x0000000040002168 in <generic_trampoline> ()
#17 0x000000004002d864 in ?? ()
#18 0x00007ffff440fc00 in ?? ()
#19 0x00007ffff440fc00 in ?? ()
#20 0x00007fffffffd530 in ?? ()
#21 0x000000004002d7e8 in ?? ()
#22 0x00007ffff440fc00 in ?? ()
#23 0x000000004002d7d0 in ?? ()
#24 0x00007fffffffd530 in ?? ()
#25 0x000000004002d7b5 in ?? ()
#26 0x00007ffff40cf750 in ?? ()
#27 0x00007ffff442ce88 in ?? ()
#28 0x00007fffffffd530 in ?? ()
#29 0x000000004002d016 in ?? ()
#30 0x00007fffffffd5a0 in ?? ()
#31 0x00007ffff40cf5b0 in ?? ()
#32 0x00007ffff440fc00 in ?? ()
#33 0x00007fffffffd570 in ?? ()
#34 0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".
Current language:  auto
The current source language is "auto; currently c".

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