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 Message-Id: <200310101649.RAA27062@aps5.ph.bham.ac.uk> Date: Fri, 10 Oct 2003 17:47:26 +0100 (BST) From: "Dr.D.J.Picton" Reply-To: "Dr.D.J.Picton" Subject: Re: setup hangs during postinstall To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: EUtw8poGx8+MM2pV1vPAaQ== >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/