[Mono-bugs] [Bug 81956][Wis] Changed - ArrayOutOfBounds in BigInteger class

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jul 6 11:33:17 EDT 2007

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 alan.mcgovern at gmail.com.


--- shadow/81956	2007-07-05 12:24:34.000000000 -0400
+++ shadow/81956.tmp.14709	2007-07-06 11:33:17.000000000 -0400
@@ -1,17 +1,17 @@
 Bug#: 81956
-Product: Mono: Class Libraries
+Product: Mono: Compilers
 Version: 1.2
 OS: unknown
 OS Details: 
-Status: ASSIGNED   
+Status: NEW   
 Severity: Unknown
 Priority: Wishlist
-Component: Mono.Security
-AssignedTo: sebastien at ximian.com                            
+Component: C#
+AssignedTo: rharinath at novell.com                            
 ReportedBy: alan.mcgovern at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 Summary: ArrayOutOfBounds in BigInteger class
@@ -382,6 +382,16 @@
                 #region Random
 +               [ThreadStatic]
                 private static RandomNumberGenerator rng;
                 private static RandomNumberGenerator Rng {
                         get {
+------- Additional Comments From alan.mcgovern at gmail.com  2007-07-06 11:33 -------
+Turns out this is actually a compiler issue. Both GMCS and MCS produce
+an executable that crashes instantly under multithreaded usage in
+MS.NET framework. It may crash under non-multithreaded usage, but the
+crashes are a lot less frequent.
+The same code compiled under csc 7.x or 8.x works fine. To duplicate
+you just need to compile the Mono.BigInteger class under gmcs and run
+the attached testcase.

More information about the mono-bugs mailing list