[Mono-bugs] [Bug 74828][Nor] New - race in sychronized hashtable

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 4 May 2005 20:14:54 -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 james@ximian.com.

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

--- shadow/74828	2005-05-04 20:14:54.000000000 -0400
+++ shadow/74828.tmp.19061	2005-05-04 20:14:54.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 74828
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: james@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: race in sychronized hashtable
+
+Got the following trace today, indicating a race condition in sychronized
+hashtables I think.  It does not seem to be very frequent.
+
+System.ArgumentException: Key duplication when adding:
+Novell.Zenworks.Zmd.Public.MessageStatus
+
+Server stack trace:
+in <0x001d4> System.Collections.Hashtable:PutImpl (System.Object key,
+System.Object value, Boolean overwrite)
+in <0x00015> System.Collections.Hashtable:Add (System.Object key,
+System.Object value)
+in <0x00038> System.Collections.Hashtable+SyncHashtable:Add (System.Object
+key, System.Object value)
+in <0x00160> System.MonoEnumInfo:GetInfo (System.Type enumType,
+System.MonoEnumInfo info)
+in <0x00031> System.Enum:GetUnderlyingType (System.Type enumType)
+in <0x00087> System.Enum:Format (System.Type enumType, System.Object value,
+System.String format)
+in <0x0004a> System.Enum:ToString (System.String format, IFormatProvider
+provider)
+in <0x00014> System.Enum:ToString ()
+in <0x00038> System.String:Concat (System.Object obj1, System.Object obj2)
+in <0x001a9>
+Novell.Zenworks.Zmd.Public.UnixClientTransportSink:ProcessMessage (IMessage
+msg, ITransportHeaders requestHeaders, System.IO.Stream requestStream,
+ITransportHeaders responseHeaders, System.IO.Stream responseStream)
+in <0x0024b>
+System.Runtime.Remoting.Channels.BinaryClientFormatterSink:SyncProcessMessage
+(IMessage msg)