MapViewOfFileEx errors with cygwin1-20040716 snapshot
Igor Pechtchanski
pechtcha@cs.nyu.edu
Thu Jul 22 17:20:00 GMT 2004
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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/
More information about the Cygwin
mailing list