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: Cygwin vsFTPd porting issues


Corinna,

On Mon, Jan 13, 2003 at 11:59:20PM +0100, Corinna Vinschen wrote:
> I guess it's actually a fault in Cygwin's mmap() implementation but I
> don't see the cause so far.  I'd greatly appreciate if you could put
> some effort into analyzing the problem.

Sure.  I'll do whatever I can to help.

> Could you send a fragment of the strace output grep'd for
> 'm\(un\)*map' in the meantime?

Instead of the above, I have attached for a small testcase, mmap-test.c,
that reproduces the problem.  When mmap-test is run, you should get
something like the following output:

    $ mmap-test
    190 [main] mmap-test 2592 fixup_mmaps_after_fork: ReadProcessMemory failed for MAP_PRIVATE address 0x640000, Win32 error 299
C:\home\jt\src\vsftpd-1.1.3\test\mmap-test.exe: *** recreate_mmaps_after_fork_failed
      6 [main] mmap-test 660 sync_with_child: child 2592(0xF4) died before initialization with status code 0x1
   7139 [main] mmap-test 660 sync_with_child: *** child state child loading dlls

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

Attachment: mmap-test.c
Description: Text document

--
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]