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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jun 29 01:19:19 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-06-27 10:59:49.000000000 -0400
+++ shadow/81956.tmp.15309	2007-06-29 01:19:19.000000000 -0400
@@ -212,6 +212,19 @@
 result of an ArrayOutOfBounds exception, the other two are this type:
 An unhandled exception of type 'System.AccessViolationException'
 occurred in Mono.Security.dll
 Additional information: Attempted to read or write protected memory.
 This is often an indication that other memory is corrupt. 
+------- Additional Comments From alan.mcgovern at gmail.com  2007-06-29 01:19 -------
+Ok, finally figured out the root cause. Firstly, this bug only
+manifests on MS.NET. Secondly, it only manifests if there is more than
+1 thread calling ModPow (i haven't checked any other operations). Even
+though both threads are using completely different instances, they are
+still somehow clashing and exploding.
+Here are two (slightly different) testcases. Both run fine on mono,
+both die horribly on MS.NET.

More information about the mono-bugs mailing list