mail-archives/mono-bugs/2009-February/085877.html

151 строка
4.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 473150] Yet another generics related deadlock
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20473150%5D%20Yet%20another%20generics%20related%20deadlock&In-Reply-To=bug-473150-28286%40https.bugzilla.novell.com/">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="085875.html">
<LINK REL="Next" HREF="085884.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 473150] Yet another generics related deadlock</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20473150%5D%20Yet%20another%20generics%20related%20deadlock&In-Reply-To=bug-473150-28286%40https.bugzilla.novell.com/"
TITLE="[Mono-bugs] [Bug 473150] Yet another generics related deadlock">bugzilla_noreply at novell.com
</A><BR>
<I>Wed Feb 11 08:17:11 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="085875.html">[Mono-bugs] [Bug 473150] Yet another generics related deadlock
</A></li>
<LI>Next message: <A HREF="085884.html">[Mono-bugs] [Bug 473150] Yet another generics related deadlock
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#85877">[ date ]</a>
<a href="thread.html#85877">[ thread ]</a>
<a href="subject.html#85877">[ subject ]</a>
<a href="author.html#85877">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=473150">https://bugzilla.novell.com/show_bug.cgi?id=473150</A>
User <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">rkumpera at novell.com</A> added comment
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=473150#c8">https://bugzilla.novell.com/show_bug.cgi?id=473150#c8</A>
Rodrigo Kumpera &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">rkumpera at novell.com</A>&gt; changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mprobst at novell.com</A>
--- Comment #8 from Rodrigo Kumpera &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">rkumpera at novell.com</A>&gt; 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: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="085875.html">[Mono-bugs] [Bug 473150] Yet another generics related deadlock
</A></li>
<LI>Next message: <A HREF="085884.html">[Mono-bugs] [Bug 473150] Yet another generics related deadlock
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#85877">[ date ]</a>
<a href="thread.html#85877">[ thread ]</a>
<a href="subject.html#85877">[ subject ]</a>
<a href="author.html#85877">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>