Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 12:54:37 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: MapViewOfFileEx errors with cygwin1-20040716 snapshot In-Reply-To: Message-ID: 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> <20040721082614 DOT GD21800 AT cygbert DOT vinschen DOT de> <20040721204732 DOT GB26588 AT cygbert DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 On Wed, 21 Jul 2004, Igor Pechtchanski wrote: > On Wed, 21 Jul 2004, Corinna Vinschen 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 > > > > 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 > > Nope, I don't have cygserver running. My $CYGWIN is "check_case:strict > ntsec notitle binmode nosmbntsec notty". If you want to put some more > debugging info in all the places the above message can appear, I'll use > the new snapshot and if I trip the error again, I'll post the output. > Igor 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. 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/