Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 21 Jul 2004 22:47:32 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: MapViewOfFileEx errors with cygwin1-20040716 snapshot
Message-ID: <20040721204732.GB26588@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <87n01xzci1.fsf@vzell-de.de.oracle.com> <20040719045351.GA9614@trixie.casa.cgf.cx> <878ydgxozc.fsf@vzell-de.de.oracle.com> <20040720114946.GJ11473@cygbert.vinschen.de> <87briass3b.fsf@vzell-de.de.oracle.com> <20040720151642.GL11473@cygbert.vinschen.de> <Pine.GSO.4.58.0407202057250.10093@slinky.cs.nyu.edu> <20040721082614.GD21800@cygbert.vinschen.de> <Pine.GSO.4.58.0407211411270.22264@slinky.cs.nyu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.GSO.4.58.0407211411270.22264@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4.2i

On Jul 21 14:47, Igor Pechtchanski wrote:
> On Wed, 21 Jul 2004, Corinna Vinschen wrote:
> > It makes a difference.  FWIW, Volker's message is printed from a function
> > which only runs in case a process is using XSI shared memory and forks.
> > cvs doesn't use XSI shared memory so the message you saw is very likely
> > emitted by open_shared.
> 
> Actually, this is what's weird.  The messages from open_shared() and
> fixup_shms_after_fork() are subtly different, and I don't recall the name
> of the shared region (or, for that matter, anything in single quotes)
> being printed, so I guess the message came from fixup_shms_after_fork().
> I've since tried to reproduce it under strace, and failed.  The three
> times I saw the message, one was from inside cvs.exe, and two were from
> inside ssh.exe, if that helps any.  The next time I get this error, I'll

None of these apps use XSI shared memory.  In theory that only can happen
if sph_list is not all zero in a forked application.  But that should only
happen if the parent used XSI shared memory...

> copy/paste the exact message and the exact sequence of actions that led to
> it.  Please let me know what else I can do to help track this down.

Do you have Cygserver running?  If yes, does that also happen if it
doesn't run or CYGWIN != "server"?


Corinna

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

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

