delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/21/10:48:52

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 21 Sep 2009 10:48:27 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [1.7] gvim "Cannot fork" error
Message-ID: <20090921144827.GA15626@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <h8cl9e$pd1$1 AT ger DOT gmane DOT org> <a9a39a210909120714n126aed2dpb7beead460a870b0 AT mail DOT gmail DOT com> <20090921022457 DOT GA32232 AT ednor DOT casa DOT cgf DOT cx> <4AB73096 DOT 9030407 AT users DOT sourceforge DOT net>
MIME-Version: 1.0
In-Reply-To: <4AB73096.9030407@users.sourceforge.net>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Mon, Sep 21, 2009 at 02:51:50AM -0500, Yaakov (Cygwin/X) wrote:
>On 20/09/2009 21:24, Christopher Faylor wrote:
>>This should be fixed in the next Cygwin snapshot and, subsequently, in
>>the next release.
>>
>>If you could test this and confirm that the snapshot fixes the problem
>>I'll roll a new release.  It turns out to be a pretty serious bug.
>
>For me this fixes the problems reported here and those we discussed
>earlier but were unable to resolve.  I agree on the seriousness of
>this, but what exactly helped you nail it down?

gdb said that the failure was coming from libxcb-1.dll so I rebuilt
libxcb-1.dll with debugging information and with a version of
libcygwin.a containing debugging symbols.  Then I could see that it was
dying in cygwin in a place that has seem a fair amount of churn
recently.  I could see that it had nothing to do with libxcb-1.dll.

The fix for the problem wasn't immediately obvious and it is very hacky.
I hope it can be removed in a couple of years when everything that was
built using a buggy version of libcygwin.a is gone.  The problem came
from one of the X libraries that, if it had been relinked recently,
would not have manifested a problem.  I'm embarrassed to admit that I
didn't record which library had the problem, though.  Tracking it down
in gdb proved to be sort of time-consuming and now the window with the
information is gone.

I can say that any DLL built with cygwin-1.7.0-51 - cygwin-1.7.0-56
is probably suspect.  That's 2009-07-13 - 2009-08-13 .

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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