[Mono-list] Mono tests under cygwin (On WinXP)

Nick Drochak ndrochak@gol.com
Sun, 11 Nov 2001 15:33:31 +0900


All (Dick note IO problem),

I just got mono to finally build itself under cygwin on WinXP.  I did a
make check to see where we are on testing on this platform. I got three
failures, so I thought I'd report those.

There were two places where it barfed on puts from cygwin1.dll.
Array.exe and pinvoke.exe fail with this exception thrown (from
pinvoke):
Unhandled Exception: System.NullReferenceException: Value null was found
where an instance of an object was required.
   at Test.puts(String name)
   at Test.Main()

I had a different error until I put C:\cygwin\bin in my path. Now it
seems that the parameter being sent to puts in cygwin1.dll is getting
mangled somehow. Sorry I can't help more than that, except to say that a
brand new project in VS.NET with array.cs gives the exact same error, so
maybe it's a config problem on my machine.

The other error is from the stream-writer test.  It fails like this:
Unhandled Exception: System.IO.IOException: The handle is invalid.

   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.FileStream.VerifyHandleIsSync()
   at System.IO.FileStream..ctor(IntPtr handle, FileAccess access,
Boolean ownsHandle, Int32 bufferSize, Boolean isAsync)
   at System.IO.FileStream..ctor(IntPtr handle, FileAccess access)
   at Test.Main()
Signal 79


Nick D.