This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mmap of large amount returns invalid pointer


On Sun, Mar 17, 2002 at 10:51:29AM -0800, Stephen Weeks wrote:
> 
> Corinna:
> > Anyway, I've checked in a patch.  It now checks if VirtualProtect
> > failed and then mmap() also fails.  Try the next developers snapshot,
> > please.
> 
> Thanks for the fix.  I tried the 2002-Mar-16 snapshot and the test
> program works correctly.  However, a slightly modified program that
> munmaps the memory in the parent process and then exits does not work
> reliably.  I have included the test case and an strace of a failed run

I'm on vacation currently so I'm not really inclined to test that
by myself.  Could you please describe what happens in the error case
in plain English?  I see that there could be a timing problem in
fork() but I'd like to read how the error looks like.

Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]