[Mono-bugs] [Bug 473150] Yet another generics related deadlock
    bugzilla_noreply at novell.com 
    bugzilla_noreply at novell.com
       
    Wed Feb 11 08:17:11 EST 2009
    
    
  
https://bugzilla.novell.com/show_bug.cgi?id=473150
User rkumpera at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=473150#c8
Rodrigo Kumpera <rkumpera at novell.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mprobst at novell.com
--- Comment #8 from Rodrigo Kumpera <rkumpera at novell.com>  2009-02-11 06:17:10 MST ---
Hi Lluis,
This time it's a generics related deadlock.
Thread 2 (Thread 0xb50bab90 (LWP 24422)):
#4  0x081958cb in templates_lock () at generic-sharing.c:140
   Tries to get the templates lock.
#7  0x08189e05 in mono_image_close (image=0x8558168) at image.c:1365
    Acquires the loader lock a few lines before.
Thread 3 (Thread 0xb58feb90 (LWP 24416)):
#5  0x08195a6a in rgctx_template_set_other_slot (image=0xb6562200, 
    template=0xb566a9fc, type_argc=0, slot=2, data=0xb53a2328, info_type=1)
    at generic-sharing.c:428
    Tries to acquire the loader lock.
#7  0x08196d90 in mono_method_lookup_or_register_other_info (
    method=0xb545d658, in_mrgctx=0, data=0xb53a2328, info_type=1, 
    generic_context=0xb545d67c) at generic-sharing.c:921
    The stack trace on this case is broken due to heavy inlining done by gcc
but the call chain is:
mono_method_lookup_or_register_other_info
  lookup_or_register_other_info
    *get the templates lock on line 1029
    register_other_info
      rgctx_template_set_other_slot
        *tries to get the loader lock.
I'll commit my fix to trunk and 2.4.
Mark, it's your turn with the bucket.
-- 
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