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 To: cygwin AT cygwin DOT com Subject: Re: MapViewOfFileEx errors with cygwin-1.5.10-3 and gnome apps References: <87zn7mcgdx DOT fsf AT vzell-de DOT de DOT oracle DOT com> <87ekoxbovh DOT fsf AT vzell-de DOT de DOT oracle DOT com> From: "Dr. Volker Zell" Date: Thu, 03 Jun 2004 14:51:42 +0200 In-Reply-To: (Igor Pechtchanski's message of "Wed, 2 Jun 2004 18:41:10 -0400 (EDT)") Message-ID: <87y8n4n6sh.fsf@vzell-de.de.oracle.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes >>>>> Igor Pechtchanski writes: > In my (outdated!) cvs checkout of winsup/cygwin, the error message you got > appears in shm.cc (fixup_shms_after_fork) and shared.cc (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 http://cygwin.dev.wapme.net/packages/vzell/test/cygserver.debug.output.bz2 (1.8 kb) http://cygwin.dev.wapme.net/packages/vzell/test/strace.gnibbles.bz2 (141 kb) Maybe somebody can take a look. > Igor Ciao Volker -- 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/