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

Paolo Molaro lupus@debian.org
Thu, 27 Sep 2001 22:02:51 +0200

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@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better