RE: Segfault when accessing mmaped memory on Cygwin

2021-01-02 Thread Steven Bardwell
Thomas writes: >> when trying out uf a certain shared memory allocator would work on >> Cygwin, I tried out the sample program below (which works on Linunx, >> *BSD, AIX and Solaris) and got a suprising falure > Actually, the failure wasn't all that unexpected, given that I had put the > ftrun

Re: Segfault when accessing mmaped memory on Cygwin

2021-01-02 Thread Thomas Koenig via Cygwin
I wrote: when trying out uf a certain shared memory allocator would work on Cygwin, I tried out the sample program below (which works on Linunx, *BSD, AIX and Solaris) and got a suprising falure Actually, the failure wasn't all that unexpected, given that I had put the ftruncate into the wro

Segfault when accessing mmaped memory on Cygwin

2021-01-01 Thread Thomas Koenig via Cygwin
Hi, when trying out uf a certain shared memory allocator would work on Cygwin, I tried out the sample program below (which works on Linunx, *BSD, AIX and Solaris) and got a suprising falure with a segmentation fault at the line *i1 = 42; mmap() had succeeded. Is this a known issue, and wou