[Mono-bugs] [Bug 45534][Maj] New - MemoryStream problem

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Fri, 27 Jun 2003 09:53: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 mark_kuschnir@yahoo.co.uk.

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

--- shadow/45534	Fri Jun 27 09:53:10 2003
+++ shadow/45534.tmp.26411	Fri Jun 27 09:53:10 2003
@@ -0,0 +1,59 @@
+Bug#: 45534
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: Win2000
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: Mark_Kuschnir@yahoo.co.uk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MemoryStream problem
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+
+When attempting to simulate an XmlReader problem I hit a bug with a 
+MemoryStream. Having read it once it became "Closed". I.e. I couldn't 
+reset the Position to 0 more than once. I don't have this problem with the 
+M$ .NET Framework.
+
+
+Steps to reproduce the problem:
+1. build XmlReaderProblem.cs
+2. mono XmlReaderProblem.exe
+3. 
+
+Actual Results:
+
+8738
+
+Unhandled Exception: System.IO.IOException: MemoryStream is closed
+in <0x0003d> 00 System.IO.MemoryStream:CheckIfClosedThrowIO ()
+in <0x00054> 08 System.IO.MemoryStream:CheckIfClosedThrowIO ()
+in <0x00014> 00 System.IO.MemoryStream:set_Position (long)
+in <0x000e8> 00 .XmlReaderProblem:Main (string[])
+
+Expected Results:
+
+8738
+8738
+8738
+8738
+8738
+8738
+8738
+8738
+8738
+
+How often does this happen? 
+
+
+Additional Information: