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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 12 May 2004 05:02:13 -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.

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

--- shadow/58363	2004-05-12 05:02:13.000000000 -0400
+++ shadow/58363.tmp.1667	2004-05-12 05:02:13.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 58363
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Suse 8.2
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: JoergR@voelcker.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Array index out of range in System.Random:Sample
+
+Description of Problem:
+Sporadically I've got following exception during Guid:NewGuid():
+Array index is out of range.
+    in <0x0004d> System.Random:Sample ()
+    in <0x00053> System.Random:NextBytes (byte[])
+    in <0x0001c> GuidState:NextBytes (byte[])
+    in <0x00049> System.Guid:NewRandomGuid ()
+    in <0x0000e> System.Guid:NewGuid ()
+
+Steps to reproduce the problem:
+1. No test case yet :-(
+
+How often does this happen? 
+Sporadically, not reproducible.