[Mono-bugs] [Bug 473150] Yet another generics related deadlock

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 6 07:04:46 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=473150

User lluis at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=473150#c3





--- Comment #3 from Lluis Sanchez <lluis at novell.com>  2009-02-06 05:04:45 MST ---
I applied the patch and quickly got another hang:

Thread 4 (Thread 0x40bc2b90 (LWP 11320)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0x4011e3f6 in nanosleep () from /lib/libpthread.so.0
#2  0x081ac1d8 in collection_thread (unused=0x0) at collection.c:34
#3  0x401171b5 in start_thread () from /lib/libpthread.so.0
#4  0x402263be in clone () from /lib/libc.so.6

Thread 3 (Thread 0x40ce3b90 (LWP 11321)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0x4011cef5 in sem_wait@@GLIBC_2.1 () from /lib/libpthread.so.0
#2  0x08197b39 in finalizer_thread (unused=0x0) at gc.c:935
#3  0x08163d98 in start_wrapper (data=0x82e98d8) at threads.c:623
#4  0x081b1d56 in thread_start_routine (args=0x82df0fc) at threads.c:286
#5  0x081d38ba in GC_start_routine (arg=0x26f20) at pthread_support.c:1382
#6  0x401171b5 in start_thread () from /lib/libpthread.so.0
#7  0x402263be in clone () from /lib/libc.so.6

Thread 2 (Thread 0x41bfcb90 (LWP 11326)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0x4011d7b9 in __lll_lock_wait () from /lib/libpthread.so.0
#2  0x40118ce0 in _L_lock_286 () from /lib/libpthread.so.0
#3  0x40118705 in pthread_mutex_lock () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#4  0x08199092 in mono_loader_lock () at loader.c:1891
#5  0x0805e3ab in lookup_method_inner (domain=0x25ee0, method=0x84426ec)
    at mini.c:3802
#6  0x08063476 in mono_jit_compile_method (method=0x84426ec) at mini.c:4003
#7  0x080d1950 in mono_delegate_trampoline (regs=0x41bfc218, 
    code=0x4081f9a8 "\203�\020�E�", tramp_data=0x86d1ed4, tramp=0x0)
    at mini-trampolines.c:625
#8  0x4040e774 in ?? ()
#9  0x080fed94 in mono_runtime_delegate_invoke (delegate=0x2c0700, 
    params=0x41bfc2e4, exc=0x0) at object.c:2938
#10 0x08163e1f in start_wrapper (data=0x84d0ec0) at threads.c:629
#11 0x081b1d56 in thread_start_routine (args=0x82df31c) at threads.c:286
#12 0x081d38ba in GC_start_routine (arg=0x169fe0) at pthread_support.c:1382
#13 0x401171b5 in start_thread () from /lib/libpthread.so.0
#14 0x402263be in clone () from /lib/libc.so.6

Thread 1 (Thread 0x402e4ba0 (LWP 11316)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0x4011d7b9 in __lll_lock_wait () from /lib/libpthread.so.0
#2  0x40118ce0 in _L_lock_286 () from /lib/libpthread.so.0
#3  0x40118705 in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0x0817879a in mono_assembly_get_object (domain=0x25ee0, 
    assembly=0x41808228) at reflection.c:5813
---Type <return> to continue, or q <return> to quit---
#5  0x0815f107 in mono_domain_fire_assembly_load (assembly=0x41808228, 
    user_data=0x0) at appdomain.c:915
#6  0x080f8e55 in mono_assembly_invoke_load_hook (ass=0x41808228)
    at assembly.c:922
#7  0x080faa69 in mono_assembly_load_from_full (image=0x418053b8, 
    fname=0x41807f30
"/home/lluis/install/lib/mono/gac/Mono.Posix/2.0.0.0__0738eb9f132ed756/MonoPosix.dll",
status=0xbffdfca8, refonly=0) at assembly.c:1521
#8  0x080fb1b2 in mono_assembly_open_full (
    filename=0x41807ea8
"/home/lluis/install/lib/mono/gac/Mono.Posix/2.0.0.0__0738eb9f132ed756/MonoPosix.dll",
status=0xbffdfca8, refonly=0)
    at assembly.c:1298
#9  0x080fc467 in mono_assembly_load_full_nosearch (aname=0xbffdfc70, 
    basedir=0x8315bb0 "/home/lluis/work/monodevelop/main/build/bin/", 
    status=0xbffdfca8, refonly=<value optimized out>) at assembly.c:2194
#10 0x080fc56c in mono_assembly_load_full (aname=0xbffdfc70, 
    basedir=0x8315bb0 "/home/lluis/work/monodevelop/main/build/bin/", 
    status=0xbffdfca8, refonly=0) at assembly.c:2332
#11 0x080fc5c7 in mono_assembly_load (aname=0xbffdfc70, 
    basedir=0x8315bb0 "/home/lluis/work/monodevelop/main/build/bin/", 
    status=0xbffdfca8) at assembly.c:2355
#12 0x080fc68c in mono_assembly_load_reference (image=0x8315480, index=3)
    at assembly.c:847
#13 0x0812a779 in mono_class_from_typeref (image=0x8315480, 
---Type <return> to continue, or q <return> to quit---
    type_token=<value optimized out>) at class.c:147
#14 0x0819afdd in method_from_memberref (image=0x8315480, 
    idx=<value optimized out>, typespec_context=0x0, used_context=0xbffdfe58)
    at loader.c:807
#15 0x0819b6d9 in mono_get_method_from_token (image=0x8315480, 
    token=167772247, klass=0x0, context=0x0, used_context=0xbffdfe58)
    at loader.c:1388
#16 0x0819b861 in mono_get_method_full (image=0x8315480, token=167772247, 
    klass=0x0, context=0x0) at loader.c:1505
#17 0x080686e0 in mini_get_method (cfg=0x87e1300, m=0x25ee4, token=128, 
    klass=0x0, context=0x0) at method-to-ir.c:4351
#18 0x080869b3 in mono_method_to_ir (cfg=0x87e1300, method=0x86b4c14, 
    start_bblock=0x870260c, end_bblock=0x87026a4, return_var=0x0, 
    dont_inline=0x87f9680, inline_args=0x0, inline_offset=0, is_virtual_call=0)
    at method-to-ir.c:5868
#19 0x08061add in mini_method_compile (method=0x86b4c14, opts=64055807, 
    domain=0x25ee0, run_cctors=<value optimized out>, 
    compile_aot=<value optimized out>, parts=0) at mini.c:3238
#20 0x080633b9 in mono_jit_compile_method (method=0x86b4c14) at mini.c:3908
#21 0x080d1e55 in mono_magic_trampoline (regs=0xbffe03f8, 
    code=0x419069e7 "\203�\020�5\213E�\213E�\211E�\203�\b�u�h\210\213\023", 
    m=0x86b4c14, tramp=0x0) at mini-trampolines.c:292
#22 0x4040e066 in ?? ()
---Type <return> to continue, or q <return> to quit---
#23 0x408162f9 in ?? ()
#24 0x40816203 in ?? ()
#25 0x0810170e in mono_runtime_exec_main (method=0x82bf1f4, args=0x2ce70, 
    exc=0x0) at object.c:3296
#26 0x08101e2b in mono_runtime_run_main (method=0x82bf1f4, argc=0, 
    argv=0xbffe079c, exc=0x0) at object.c:3084
#27 0x080b1c2a in mono_main (argc=3, argv=0xbffe0794) at driver.c:969
#28 0x0805add1 in main (argc=Cannot access memory at address 0x80
) at main.c:34

-- 
Configure bugmail: https://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