[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:57:11 -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 joergr@voelcker.com.


--- shadow/58363	2004-05-12 08:43:31.000000000 -0400
+++ shadow/58363.tmp.4008	2004-05-12 08:57:11.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 58363
 Product: Mono: Class Libraries
 Version: unspecified
 OS: Suse 8.2
 OS Details: 
-Status: NEEDINFO   
+Status: REOPENED   
 Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: JoergR@voelcker.com               
@@ -37,6 +37,13 @@
 is hard to reproduce.
 *MSDN : Any instance members are not guaranteed to be thread safe.
 Are you calling Guid.NewGuid from different threads ?
+------- Additional Comments From JoergR@voelcker.com  2004-05-12 08:57 -------
+Yes, Guid.NewGuid is called by several threads. Looking at the code
+this seems to be the problem. 
+MSDN says for Guid too: "Any public static (Shared in Visual Basic)
+members of this type are safe for multithreaded operations."