[Mono-bugs] [Bug 58363][Nor] Changed - Array index out of range in System.Random:Sample

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 12 May 2004 08:43:31 -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 sebastien@ximian.com.


--- shadow/58363	2004-05-12 05:02:13.000000000 -0400
+++ shadow/58363.tmp.3888	2004-05-12 08:43:31.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 58363
 Product: Mono: Class Libraries
 Version: unspecified
 OS: Suse 8.2
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
+Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: JoergR@voelcker.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -27,6 +27,16 @@
 Steps to reproduce the problem:
 1. No test case yet :-(
 How often does this happen? 
 Sporadically, not reproducible.
+------- Additional Comments From sebastien@ximian.com  2004-05-12 08:43 -------
+Code in Sample is really "simple". However the way it is being used by
+the Guid class doesn't seems thread safe*. That could explain why it
+is hard to reproduce.
+*MSDN : Any instance members are not guaranteed to be thread safe.
+Are you calling Guid.NewGuid from different threads ?