delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/06/16:09:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Mon, 6 Oct 2003 16:08:36 -0400
From: Christopher Faylor <cgf-rcm AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygpath hangs from postinstall scripts when called like $(cygpath -S) but not otherwise
Message-ID: <20031006200836.GC12215@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT GSO DOT 4 DOT 56 DOT 0310061039140 DOT 15176 AT slinky DOT cs DOT nyu DOT edu> <NGBBLLIAMFLGJEOAJCCEAEPBDEAA DOT garbage_collector AT telia DOT com>
Mime-Version: 1.0
In-Reply-To: <NGBBLLIAMFLGJEOAJCCEAEPBDEAA.garbage_collector@telia.com>
User-Agent: Mutt/1.4.1i

On Mon, Oct 06, 2003 at 08:55:12PM +0200, Hannu E K Nevalainen wrote:
>> From: Igor Pechtchanski
>> Sent: Monday, October 06, 2003 4:40 PM
>
>> On Mon, 6 Oct 2003, Hannu E K Nevalainen wrote:
>>
>> > > From: Igor Pechtchanski
>> > > Sent: Monday, October 06, 2003 1:44 AM
>> >
>> > > It would be easy to check if the above was the reason for the hang by
>> > > trying to call the following program from a postinstall
>> script and seeing
>> > > if it also hangs:
>> >
>> > It doesn't hang. :-I
>>
>> Well, so much for that idea...
>
> Yup. :-7
>
>I had another idea; look up the postinstall launch code in setup
>(script.cc/run), copy it and try to create a "testcase".
>
>This seems to be futile though, at least I've had no luck.
>
>I've got one idea left: recompile setup 2.415-1 by myself and try that.

Or you could build a debug version of cygpath and attach to it with gdb
when it is hung.  Or maybe you need a debug version of the cygwin DLL or
maybe ash or bash.

It's amazing how much effort people are putting into this when something
simple could be done to actually pinpoint the problem.  We could have
been beyond all of the normal "I configured in the source directory",
"How do I get 'make install' to work in the cygwin directory", "Why is
it so hard to build" steps by now.

cgf

--
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/

- Raw text -


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