[Mono-bugs] [Bug 562015] New: deadlock using --compile-all on a bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 9 17:33:47 EST 2009


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

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


           Summary: deadlock using --compile-all on a bad assembly
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: rkumpera at novell.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=331845)
 --> (http://bugzilla.novell.com/attachment.cgi?id=331845)
assembly to reproduce the deadlock

MONO_PATH=/opt/mono/lib/moonlight/plugin/ gdb --args mono --security=core-clr
--compile-all System.Core.unknown.7001.dll

Program received signal SIGINT, Interrupt.
[Switching to Thread 0x7f245c311730 (LWP 12278)]
0x00007f245b4084c4 in __lll_lock_wait () from /lib64/libpthread.so.0
(gdb) t a a bt

Thread 3 (Thread 0x40a6e950 (LWP 12282)):
#0  0x00007f245b4084c4 in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007f245b403cbb in _L_lock_312 () from /lib64/libpthread.so.0
#2  0x00007f245b4036e1 in pthread_mutex_lock () from /lib64/libpthread.so.0
#3  0x00000000005cdc47 in mono_loader_lock () at loader.c:2003
#4  0x000000000057c07d in mono_mb_create_method (mb=0xb1fa20,
signature=0xb16c98, max_stack=16) at method-builder.c:142
#5  0x00000000005d3452 in mono_mb_create_and_cache (cache=0xa2a400,
key=0x9f22d0, mb=0xb1fa20, sig=0xb16c98, max_stack=16) at marshal.c:2359
#6  0x00000000005d8cdd in mono_marshal_get_runtime_invoke (method=0x9f22d0,
virtual=1) at marshal.c:4489
#7  0x000000000055c3b0 in mono_gc_run_finalize (obj=0x7f245c1cde60, data=0x0)
at gc.c:209
#8  0x000000000055db9e in finalize_domain_objects (req=0x9d32d0) at gc.c:984
#9  0x000000000055dd3b in finalizer_thread (unused=0x0) at gc.c:1039
#10 0x00000000005aeef6 in start_wrapper (data=0xa28380) at threads.c:662
#11 0x0000000000657e4f in thread_start_routine (args=0x9fbb38) at
wthreads.c:286
#12 0x000000000067106a in GC_start_routine (arg=0x7f245c1c3e70) at
pthread_support.c:1390
#13 0x00007f245b402040 in start_thread () from /lib64/libpthread.so.0
#14 0x00007f245af1f08d in clone () from /lib64/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f245c311730 (LWP 12278)):
#0  0x00007f245b4084c4 in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007f245b403cbb in _L_lock_312 () from /lib64/libpthread.so.0
#2  0x00007f245b4036e1 in pthread_mutex_lock () from /lib64/libpthread.so.0
#3  0x00000000005cdc47 in mono_loader_lock () at loader.c:2003
#4  0x000000000056175c in mono_metadata_clean_for_image (image=0x9d53d0) at
metadata.c:2248
#5  0x00000000005ed54d in mono_image_close (image=0x9d53d0) at image.c:1462
#6  0x000000000063dc1c in mono_close_exe_image () at domain.c:1729
#7  0x000000000063dbcb in mono_cleanup () at domain.c:1712
#8  0x0000000000424ace in mini_cleanup (domain=0x7f245c1c2db0) at mini.c:5553
#9  0x00000000004a5bcc in mono_main (argc=4, argv=0x7fff64330168) at
driver.c:1760
#10 0x0000000000418095 in main (argc=4, argv=0x7fff64330168) at main.c:34

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