Mail Archives: cygwin/2003/01/13/09:55:51
Hi Jason,
On Mon, Jan 13, 2003 at 09:36:24AM -0500, Jason Tishler wrote:
> 160 37333219 [main] vsftpd 2232 fixup_mmaps_after_fork: ReadProcessMemory failed for MAP_PRIVATE address 0xB40000, Win32 error 299
>
> I will try to dig deeper to determine why ReadProcessMemory() is failing
> with ERROR_PARTIAL_COPY (i.e., 299), but any help or pointers will be
> greatly appreciated.
If you can figure out why that happens, I'd really appreciate a simple
testcase. Please compare the above with the strace output generated by
mmap(), probably you will find a discrepancy like the address in the
above strace output is not inside of a mapped block. It's also a big
difference if the mmap is mapped anonymously or to a file since the mmap()
code behaves pretty different.
Another way would be to remove MAP_PRIVATE from the mmap() call and try
again. MAP_PRIVATE is somewhat problematic on Windows hosts, unfortunately.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT 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/
- Raw text -