www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/22/13:13:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 22 Jul 2004 13:12:49 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: MapViewOfFileEx errors with cygwin1-20040716 snapshot
In-Reply-To: <Pine.GSO.4.58.0407221239360.20104@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.58.0407221304540.20104@slinky.cs.nyu.edu>
References: <87n01xzci1 DOT fsf AT vzell-de DOT de DOT oracle DOT com> <20040719045351 DOT GA9614 AT trixie DOT casa DOT cgf DOT cx> <878ydgxozc DOT fsf AT vzell-de DOT de DOT oracle DOT com> <20040720114946 DOT GJ11473 AT cygbert DOT vinschen DOT de> <87briass3b DOT fsf AT vzell-de DOT de DOT oracle DOT com> <20040720151642 DOT GL11473 AT cygbert DOT vinschen DOT de> <Pine DOT GSO DOT 4 DOT 58 DOT 0407202057250 DOT 10093 AT slinky DOT cs DOT nyu DOT edu> <20040721082614 DOT GD21800 AT cygbert DOT vinschen DOT de> <Pine DOT GSO DOT 4 DOT 58 DOT 0407211411270 DOT 22264 AT slinky DOT cs DOT nyu DOT edu> <20040721204732 DOT GB26588 AT cygbert DOT vinschen DOT de> <Pine DOT GSO DOT 4 DOT 58 DOT 0407211802160 DOT 22264 AT slinky DOT cs DOT nyu DOT edu> <Pine DOT GSO DOT 4 DOT 58 DOT 0407221239360 DOT 20104 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Thu, 22 Jul 2004, Igor Pechtchanski wrote:

> > > 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 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.
>
> Ok, I tripped the error again.  Here it is, in all of its pristine glory:
>
> c:\cygwin\bin\vim.exe (2568): *** MapViewOfFileEx failed, Win32 error 6
>
> Weirdly enough, I did not find this exact message anywhere in the sources
> (there's only one occurrence of "MapViewOfFileEx failed" in the current
> CVS, and it has other things in the message).  If anyone has any ideas
> on where it's coming from, I'd appreciate a pointer.

Never mind.  I spoke too soon, and my "current CVS" turned out to be not
all that current.  The message above comes from pinfo.cc, line 197.

<CYGWIN-TECHNICAL-STUFF>
  Would it work if I built my own DLL, with debugging, and inserted a
  "try_to_debug()" call before the api_fatal()?  Frankly, I've never had
  much luck getting gdb to start from the "error_start" setting in
  $CYGWIN, but I'll see if I can get this to work unless the above info
  helps someone track this down sooner.
</CYGWIN-TECHNICAL-STUFF>

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

- Raw text -


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