[Mono-list] mcs error (getting there...)

Piers Haken piersh@friskit.com
Fri, 5 Apr 2002 08:49:19 -0800


I've just checked in a fix for this (StreamReader.cs).

Now I'm getting:

Unhandled exception System.NullReferenceException Segmentation fault.
#0: 0x00000            in
System.Reflection.Emit.AssemblyBuilder::getDataChunk ([00F2CD5C] [0]
[01160020] )
#1: 0x00017 call       in System.Reflection.Emit.AssemblyBuilder::Save
([00FDA428] )
#2: 0x0000b callvirt   in Mono.CSharp.CodeGen::Save ([00F2C308] )
#3: 0x00a58 call       in Mono.CSharp.Driver::MainDriver ([00CF8DE0] )
#4: 0x00001 call       in Mono.CSharp.Driver::Main ([00CF8DE0] )

Let me know if you get the same error...

Piers.

-----Original Message-----
From: Paolo Molaro [mailto:lupus@ximian.com] 
Sent: Thursday, April 04, 2002 6:25 AM
To: mono-list@ximian.com
Subject: Re: [Mono-list] mcs error


On 04/04/02 Guenther Roith wrote:
> I updated the classes now: when using the newer files I get the old 
> error :-( Am I the only one, getting this?
> 
> syntax error, expecting end-of-file EOF ABSTRACT BOOL BYTE CHAR CLASS 
> CONST DECI MAL DELEGATE DOUBLE ENUM EVENT EXPLICIT EXTERN FLOAT 
> IMPLICIT INT INTERFACE INTE
> RNAL LONG NAMESPACE NEW OBJECT OVERRIDE PRIVATE PROTECTED PUBLIC
READONLY
> SBYTE
> SEALED SHORT STATIC STRING STRUCT UINT ULONG UNSAFE USHORT VIRTUAL
VOID
> VOLATILE
>  CLOSE_BRACE OPEN_BRACKET SEMICOLON TILDE IDENTIFIER
> .\test-27.cs (98,1), Token:259 detail:    : Parsing error

It seems like corlib/the io routines don't return -1 on end of file.
Running mint --traceops mcs.exe ... may give some insight (note: the
output will likely be HUGE). Check for ReadByte calls or Peek*. Also,
what w* platform are you using? Anyone here that has not seen this
problem on some w* platform?

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better

_______________________________________________
Mono-list maillist  -  Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list