[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
Fri Apr 21 14:20:50 EDT 2006
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 grompf at sublimeintervention.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77470
--- shadow/77470 2006-04-21 12:40:48.000000000 -0400
+++ shadow/77470.tmp.16517 2006-04-21 14:20:50.000000000 -0400
@@ -240,6 +240,38 @@
will upgrade...
------- Additional Comments From dick at ximian.com 2006-04-21 12:40 -------
I've fixed the new part of this bug. It might be worth testing on OSX
too, to see if it had any effect.
+
+------- Additional Comments From grompf at sublimeintervention.com 2006-04-21 14:20 -------
+From HEAD on OSX(PPC):
+
+Program received signal EXC_BAD_ACCESS, Could not access memory.
+Reason: KERN_PROTECTION_FAILURE at address: 0x003c00b4
+[Switching to process 18560 thread 0x5803]
+0x002fb2c4 in GC_suspend_thread_list (act_list=0xa503, count=203, old_list=0x0,
+old_count=0) at darwin_stop_world.c:342
+342 GC_mach_threads[GC_mach_threads_count].already_suspended =
+info.suspend_count;
+(gdb) bt
+#0 0x002fb2c4 in GC_suspend_thread_list (act_list=0xa503, count=203, old_list=0x0,
+old_count=0) at darwin_stop_world.c:342
+#1 0x002fb3a0 in GC_stop_world () at darwin_stop_world.c:409
+#2 0x002f92d0 in GC_stopped_mark (stop_func=0x2f8f6c <GC_never_stop_func>) at
+alloc.c:504
+#3 0x002f9e50 in GC_try_to_collect_inner (stop_func=0x2f8f6c <GC_never_stop_func>)
+at alloc.c:386
+#4 0x002fa600 in GC_collect_or_expand (needed_blocks=1, ignore_off_page=0) at
+alloc.c:1046
+#5 0x002fa8b4 in GC_allocobj (sz=256, kind=1) at alloc.c:1126
+#6 0x002ff1cc in GC_generic_malloc_inner (lb=804, k=1) at malloc.c:136
+#7 0x00304ea4 in GC_new_thread (id=0x1830400) at pthread_support.c:666
+#8 0x0030560c in GC_start_routine_head (arg=0xf19b4cf8, base_addr=0xf19b4de8,
+start=0x0, start_arg=0x0) at pthread_support.c:1245
+#9 0x00305758 in GC_thread_register_foreign (base_addr=0xf19b4de8) at
+pthread_support.c:1310
+#10 0x002d5f48 in mono_thread_attach (domain=0x58f00) at threads.c:427
+#11 0x000028a0 in thread_function ()
+#12 0x9002ba68 in _pthread_body ()
+
More information about the mono-bugs
mailing list