delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/05/08:58:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20020605125730.40568.qmail@web21009.mail.yahoo.com>
Date: Wed, 5 Jun 2002 05:57:30 -0700 (PDT)
From: Nicholas Wourms <nwourms AT yahoo DOT com>
Subject: Re: cygwin 1.3.10 mmap+fork+sockets=fixup_mmaps_after_fork
To: cygwin AT cygwin DOT com
In-Reply-To: <20020605093814.U30892@cygbert.vinschen.de>
MIME-Version: 1.0

Hi,

I can verify that Corinna's observations are true on WindowsME with the
latest cvs compiled cygwin.

Cheers,
Nicholas 
--- Corinna Vinschen <corinna-cygwin AT cygwin DOT com> wrote:
> On Tue, Jun 04, 2002 at 03:08:12PM -0500, Michael Potter wrote:
> > > On Mon, Jun 03, 2002 at 03:57:07PM -0500, Michael Potter wrote:
> > > >
> > > > Enclosed is a sample program that demonstrates a bug with
> > > > mmap, fork, and sockets.  This sample is very similar to
> > > > on submitted by me on june 2, but this one eliminiates sysV ipc.
> > > >
> > > > here is the sample run:
> > > 
> > > Your example code works fine with Cygwin from current cvs HEAD.
> > > So I assume the problem has been fixed.
> > > Corinna
> > > 
> > 
> > Corinna,
> > 
> > We just tried the latest snap shot and the example fails.
> > 
> > I want to confirm that you ran the sample properly.
> > 
> > Did you do a "telnet hostname 5210" to allow the program to
> > continue the the second fork, which fails?
> 
> Yep:
> 
> [~]$ ./x4
> in pid = 760
> entering NetWorkSocket
> Port=5210, Socket=3, sinport=23060
> exiting NetWorkSocket
> entering accept
> [~]$ after accept
> in pid = 748
> in pid = 608
> 
> I tried it several times w/o problems.
> 
> 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/
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019