[Mono-bugs] [Bug 80893][Nor] Changed - Collecting from unknown thread in mono_thread_attach

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Feb 19 08:18:02 EST 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 robertj at gmx.net.


--- shadow/80893	2007-02-19 02:45:43.000000000 -0500
+++ shadow/80893.tmp.3582	2007-02-19 08:18:02.000000000 -0500
@@ -1,15 +1,15 @@
 Bug#: 80893
 Product: Mono: Runtime
 Version: 1.2
+OS: unknown
 OS Details: XP SP2
 Status: NEW   
-Priority: Blocker
+Severity: Unknown
+Priority: Normal
 Component: GC
 AssignedTo: lupus at ximian.com                            
 ReportedBy: luke at quinane.id.au               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -52,6 +52,18 @@
 Additional Information:
 I am using Mono 1.2.1 embedded into a DLL loaded into a larger program. I
 have the GC setup to register new threads that start after the DLL is
 loaded but some calls originate from the larger project an need to call
 mono_thread_attach separately.
+------- Additional Comments From robertj at gmx.net  2007-02-19 08:18 -------
+mono_thread_attach is a noop on Win32 because libgc is assumed
+to detect & register new threads using its DllMain.
+This will miss (by design) threads created before mono.dll was loaded.
+This can't be fixed in the current libgc w/out introducing races
+between DllMain and a new GC_register_thread (to be implemented).
+Prio changed.

More information about the mono-bugs mailing list