[Mono-bugs] [Bug 40702][Wis] Changed - System.IndexOutOfRangeException in BinaryReader

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Thu, 3 Apr 2003 00:45:33 -0500 (EST)


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 pauld@hutch.com.au.

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

--- shadow/40702	Thu Apr  3 00:08:39 2003
+++ shadow/40702.tmp.23759	Thu Apr  3 00:45:32 2003
@@ -1,14 +1,14 @@
 Bug#: 40702
 Product: Mono/Runtime
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: pauld@hutch.com.au               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -91,6 +91,28 @@
 ..........more text scrolls past ...........
 
 How often does this happen? 
 reproducable always
 
 Additional Information:
+
+------- Additional Comments From pauld@hutch.com.au  2003-04-03 00:45 -------
+compiling with '-g' and running with 'mono --debug' gives the
+following extra information
+
+Unhandled Exception: System.IndexOutOfRangeException: Array index is
+out of range
+in [0x00084] (at
+/home/gpanjav/go-mono/mcs/class/corlib/System.IO/BinaryReader.cs:161)
+00 System.IO.BinaryReader:Read (char[],int,int)
+in [0x0001c] (at
+/home/gpanjav/go-mono/mcs/class/corlib/System.IO/BinaryReader.cs:255)
+00 System.IO.BinaryReader:ReadChars (int)
+in [0x00118] (at /home/pauld/cs/DonkeyServerInfo.cs:71) 00
+CSDonkey.DonkeyServerInfo:readFrom (System.IO.BinaryReader)
+in [0x000ad] (at /home/pauld/cs/ServerList.cs:45) 00
+CSDonkey.ServerList:parseFile ()
+in [0x0000f] (at /home/pauld/cs/ServerList.cs:23) 00
+CSDonkey.ServerList:.ctor (string)
+in [0x00000] (at /home/pauld/cs/ServerList.cs:17) 00
+CSDonkey.ServerList:Main (string[])
+