[Mono-bugs] [Bug 47682][Maj] New - thread unsafe use of glib functions in the runtime

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 16 Aug 2003 19:30:20 -0400 (EDT)


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 l_m@pacbell.net.

http://bugzilla.ximian.com/show_bug.cgi?id=47682

--- shadow/47682	2003-08-16 19:30:20.000000000 -0400
+++ shadow/47682.tmp.16455	2003-08-16 19:30:20.000000000 -0400
@@ -0,0 +1,28 @@
+Bug#: 47682
+Product: Mono/Runtime
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: l_m@pacbell.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: thread unsafe use of glib functions in the runtime
+
+Description of Problem:
+glib functions are not thread safe until g_thread_init() is called (sets 
+g_threads_got_initialized which will enable locking functions for thread 
+unsafe glib code).
+
+Actual Results:
+Weird dead locks and SEGFAULTs on runtime exit (Finalizers) for example
+
+How often does this happen? 
+Timing dependant: Almost never on UP but quite frequent on SMP.