[Mono-bugs] [Bug 338370] Weird parsing error CS8025: Arg_InsufficientSpace

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 1 12:39:45 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=338370#c6





--- Comment #6 from Marek Safar <msafar at novell.com>  2007-11-01 10:39:45 MST ---
More info for future reference

reader.Read ()
reader.Read ()
reader.Read ()
reader.Read ()
Reading 2048 , 1024
Position 91136
bug-338370_Controller.cs(2140,38): error CS8025: Parsing error
System.ArgumentException: Arg_InsufficientSpace
Parameter name: chars
  at System.Text.UTF8Encoding.InternalGetChars (System.Byte* bytes, Int32
byteCount, System.Char* chars, Int32 charCount, System.UInt32& leftOverBits,
System.UInt32& leftOverCount, System.Object provider,
System.Text.DecoderFallbackBuffer& fallbackBuffer, System.Byte[]& bufferArg,
Boolean flush) [0x003af] in
/home/marek/svn/mcs/class/corlib/System.Text/UTF8Encoding.cs:968 
  at System.Text.UTF8Encoding.InternalGetChars (System.Byte[] bytes, Int32
byteIndex, Int32 byteCount, System.Char[] chars, Int32 charIndex,
System.UInt32& leftOverBits, System.UInt32& leftOverCount, System.Object
provider, System.Text.DecoderFallbackBuffer& fallbackBuffer, System.Byte[]&
bufferArg, Boolean flush) [0x0010c] in
/home/marek/svn/mcs/class/corlib/System.Text/UTF8Encoding.cs:780 
  at System.Text.UTF8Encoding+UTF8Decoder.GetChars (System.Byte[] bytes, Int32
byteIndex, Int32 byteCount, System.Char[] chars, Int32 charIndex) [0x00004] in
/home/marek/svn/mcs/class/corlib/System.Text/UTF8Encoding.cs:1152 
  at System.IO.StreamReader.ReadBuffer () [0x00086] in
/home/marek/svn/mcs/class/corlib/System.IO/StreamReader.cs:351 
  at System.IO.StreamReader.Read (System.Char[] dest_buffer, Int32 index, Int32
count) [0x00077] in
/home/marek/svn/mcs/class/corlib/System.IO/StreamReader.cs:395 
  at Mono.CSharp.SeekableStreamReader.ReadBuffer () [0x000c7] in
/home/marek/svn/mcs/mcs/support.cs:482 
  at Mono.CSharp.SeekableStreamReader.Read () [0x00000] in
/home/marek/svn/mcs/mcs/support.cs:498 
  at Mono.CSharp.Tokenizer.peek_char () [0x0001d] in
/home/marek/svn/mcs/mcs/cs-tokenizer.cs:1474 
  at Mono.CSharp.Tokenizer.is_punct (Char c, System.Boolean& doread) [0x0030a]
in /home/marek/svn/mcs/mcs/cs-tokenizer.cs:854 
  at Mono.CSharp.Tokenizer.xtoken () [0x002e8] in
/home/marek/svn/mcs/mcs/cs-tokenizer.cs:2479 
  at Mono.CSharp.Tokenizer.token () [0x00000] in
/home/marek/svn/mcs/mcs/cs-tokenizer.cs:1574 
  at Mono.CSharp.CSharpParser.yyparse (yyInput yyLex) [0x000c3] in
/home/marek/svn/mcs/mcs/gcs-parser.cs:1142 
  at Mono.CSharp.CSharpParser.parse () [0x00028] in
/home/marek/svn/mcs/mcs/gcs-parser.jay:6036


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list