[Mono-bugs] [Bug 32810][Nor] New - UTF8Encoding error when reading Procees.StandardOutput

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
24 Oct 2002 15:44:16 -0000


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 gonzalo@ximian.com.

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

--- shadow/32810	Thu Oct 24 11:44:16 2002
+++ shadow/32810.tmp.15412	Thu Oct 24 11:44:16 2002
@@ -0,0 +1,40 @@
+Bug#: 32810
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gonzalo@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: UTF8Encoding error when reading Procees.StandardOutput
+
+Steps to reproduce the problem:
+1. Use the same test case of bug #32809.
+2. Run: mono ./ptest.exe csc /out:novale.exe ptest.cs
+
+Actual Results:
+
+Unhandled Exception: System.ArgumentOutOfRangeException: ArgRange_Array
+Parameter name: byteCount
+in <0x00117> 00 System.Text.UTF8Encoding:InternalGetChars
+(byte[],int,int,char[],int,uint&,uint&,bool,bool)
+in <0x00036> 00 .UTF8Decoder:GetChars (byte[],int,int,char[],int)
+in <0x00375> 00 System.IO.StreamReader:ReadBuffer ()
+in <0x0013f> 00 System.IO.StreamReader:Read (char[],int,int)
+in <0x000de> 00 System.IO.StreamReader:ReadToEnd ()
+in <0x001f9> 00 .C:Main (string[])
+
+Expected Results:
+
+RC: 0 The output is:
+Microsoft (R) Visual C# .NET Compiler version 7.00.9466
+for Microsoft (R) .NET Framework version 1.0.3705
+Copyright (C) Microsoft Corporation 2001. All rights reserved.