delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/10/12:48:46

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
Message-Id: <200310101649.RAA27062@aps5.ph.bham.ac.uk>
Date: Fri, 10 Oct 2003 17:47:26 +0100 (BST)
From: "Dr.D.J.Picton" <dave AT aps5 DOT ph DOT bham DOT ac DOT uk>
Reply-To: "Dr.D.J.Picton" <dave AT aps5 DOT ph DOT bham DOT ac DOT uk>
Subject: Re: setup hangs during postinstall
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

>On Thu, Oct 09, 2003 at 06:17:08PM -0500, Brian Ford wrote:
>>#!/bin/bash
>>
>>FOO=`cypath -S`
>>
>>but using #!/bin/sh doesn't.  likewise, strace hangs here:
>>#!/bin/bash
>>
>>FOO=`strace -o /tmp/cygpath.strace cypath -S`
>>
>>but not using #!/bin/sh.
>>
>>Neither hang if setup is launched from bash instead of explorer.
>
>Hmm.  Maybe I missed this point before.  I never run setup from
>explorer.
>
>In any event, can you set the CYGWIN_DEBUG=cygpath and maybe do some
>search and destroy debugging to see precisely where it is hanging?
>
>cgf

I've done some experimentation with setup with similar results, and can 
confirm that the hang depends on the environment from which setup is
started.  

I see the cygpath hang (when reinstalling XFree86-bin-icons) in these cases:

1.  Clicking on the setup.exe icon in Explorer

2.  Clicking on a setup.exe shortcut icon in the desktop

I don't see the hang if I start setup from any kind of command window.
This includes:

1.  A standard Microsoft command window.

2.  A command window running bash.

3.  An xterm window running bash.
I don't see the hang if I start setup from a Cygwin session, or from
a standard command window.

4.  A .bat file, e.g.
@echo off

C:
chdir C:\cygwin

setup



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