[Mono-bugs] [Bug 45043][Wis] New - Mono fails to throw OutOfMemoryException

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 18 Jun 2003 01:36:10 -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 tum@veridicus.com.

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

--- shadow/45043	Wed Jun 18 01:36:10 2003
+++ shadow/45043.tmp.10312	Wed Jun 18 01:36:10 2003
@@ -0,0 +1,39 @@
+Bug#: 45043
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: tum@veridicus.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono fails to throw OutOfMemoryException
+
+Description of Problem:
+
+Allocating an array of size Int32.MaxValue should cause Mono to throw an 
+OutOfMemoryException.
+
+Steps to reproduce the problem:
+
+object[] array = new object[Int32.MaxValue];
+
+Actual Results:
+
+It works but the array returned is eronious errors when you try to access 
+certain elements (Int32.MaxValue / 3, Int32.MaxValue - 1 etc etc).
+
+Expected Results:
+
+OutOfMemoryException
+
+How often does this happen? 
+
+All the time.