[Mono-list] 'make test' fails in mono/tests with cygwin

Brian Jepson bjepson@oreilly.com
Thu, 27 Sep 2001 16:36:38 -0400 (EDT)

Thanks!  Is this something I can patch easily, or should I wait for the
next snapshot (I don't have CVS access)?

- Brian

On Thu, 27 Sep 2001, Paolo Molaro wrote:

> On 09/27/01 Brian Jepson wrote:
> > but mint still crashes:
> >   
> >   bjepson@VMWARE ~/src/mono-26-Sep-01/mono/runtime
> >   $ mint.exe ../mono/tests/test-ops.exe
> >         0 [main] mint 884 open_stackdumpfile: Dumping stack trace to mint.exe.stackdump
> >   Segmentation fault (core dumped)
> >   
> >   bjepson@VMWARE ~/src/mono-26-Sep-01/mono/runtime
> I just debugged the problem: apparently mmap() fails in cygwin in subtle
> ways (i.e. it returns success, but not all the memory requested is
> actually mmapped and when we access it we segfault). I disabled the mmap()
> and now all the test pass but the ones that use P/Invoke and internalcalls
> (I used the corlib built for linux, but there's probably something wrong
> with the call convention default on win32 being different).
> Hope this is useful (and that someone steps forward and sends a patch to
> use the native interfaces for mmap in win32 :-).
> lupus