This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MapViewOfFileEx errors with cygwin-1.5.10-3 and gnome apps

On Thu, 3 Jun 2004, Dr. Volker Zell wrote:

> >>>>> Igor Pechtchanski writes:
> > In my (outdated!) cvs checkout of winsup/cygwin, the error message you got
> > appears in (fixup_shms_after_fork) and (open_shared).
> > The first thing to find out is which one of them produced your message
> > (the output of strace should help).  The strace output should also contain
> > handle values, so you can try to trace it backwards from the error...
> > BTW, before you spend a lot of effort on debugging, here's a WAG: do you
> > use cygserver?  If so, did you reboot and/or restart cygserver after you
> > upgraded?  The above looks like a shared memory error, and shared memory
> > is part of cygserver functionality...  I know you said that you don't have
> > multiple Cygwin DLLs in your path, but if you renamed your old cygwin1.dll
> > before replacing it with the snapshot one, it may be possible that you
> > have multiple copies of cygwin1.dll *in memory*.  Same goes for other
> > services, FWIW.
> First of all, yes I'm using cygserver.
> I have uploaded an strace run of a gnome game (gnibbles) which shows the
> symptom when pressing Help->Manual. The problem always occurs when a
> gnome program starts another program like in this case gnome-help-browser.
> There is also the corresponding cygserver debug output with comments
> from me inline starting with ******
> I do not find any fixup_shms_after_fork call in the strace, but there is
> an open_shared call right in the beginning. I'm not sure it's the culprit
> (1.8 kb)
> (141 kb)
> Maybe somebody can take a look.

The one thing I see immediately in your strace output:

    2:Program name: D:\opt\gnome1\bin\gnibbles.exe (1172)
    3:App version:  1005.9, api: 0.112
    4:DLL version:  1005.10, api: 0.116
  403:Program name: D:\opt\gnome1\bin\gnibbles.exe (512)
  404:App version:  1005.10, api: 0.116
  405:DLL version:  1005.10, api: 0.116
15764:Program name: D:\opt\gnome1\bin\gnibbles.exe (1828)
15765:App version:  1005.10, api: 0.116
15766:DLL version:  1005.10, api: 0.116

So it looks like you *do* have two versions of cygwin1.dll in memory...
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]