> On Jan 29 09:00, Steven Bardwell wrote:
> > My application needs several areas of shared memory, and I am getting an
> > error ("No such device") on the second call to mmap(). The first call works
> > fine.
> >
> >
> > The problem does not seem to depend on the size of the requested
> > memory. The program
> > always returns with "Couldn't map memory for /block2 (No such device)"
>
> Try stracing it. I tried it on the latest Cygwin from CVS as well
> as on Cygwin 1.7.27 (32 bit versions) and it works fine for me.
>
> Your testcase is missing an ftruncate or two., btw. I guess you're
> aware of that and just dropped them to get a the simple testcase.
>
>
> CorinnaI have attached the output from 'strace'. Thanks for looking into this. Steve
strace.out
Description: Binary data
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

