[Mono-bugs] [Bug 77470][Nor] Changed - mono_thread_attach/mono_thread_detach can cause deadlock/segfault on OS X
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Jun 24 23:56:11 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by patperry at stanford.edu.
http://bugzilla.ximian.com/show_bug.cgi?id=77470
--- shadow/77470 2007-06-24 23:37:55.000000000 -0400
+++ shadow/77470.tmp.31406 2007-06-24 23:56:11.000000000 -0400
@@ -287,6 +287,17 @@
void GC_destroy_thread_local(GC_thread p)
{
/* We currently only do this from the thread itself or from */
/* the fork handler for a child process. */
# ifndef HANDLE_FORK
GC_ASSERT(GC_getspecific(GC_thread_key) == (void *)p);
+
+------- Additional Comments From patperry at stanford.edu 2007-06-24 23:56 -------
+The assertion fails the first time the function is called. The stack
+trace is:
+
+#0 GC_destroy_thread_local (p=0x9b660) at pthread_support.c:299
+#1 0x0114818e in GC_thread_deregister_foreign (data=0x9b660) at
+pthread_support.c:251
+#2 0x90025b60 in _pthread_tsd_cleanup ()
+#3 0x900249c3 in _pthread_body ()
+
More information about the mono-bugs
mailing list