This is the mail archive of the
mailing list for the Cygwin project.
RE: cygpath hangs from postinstall scripts when called like $(cygpath -S) but not otherwise
- From: "Alan Miles" <miles0201 at cox dot net>
- To: <cygwin at cygwin dot com>
- Date: Sun, 5 Oct 2003 20:41:27 -0500
- Subject: RE: cygpath hangs from postinstall scripts when called like $(cygpath -S) but not otherwise
- Reply-to: <alan dot miles at ieee dot org>
Just to add another wrinkle:
See messages: http://cygwin.com/ml/cygwin/2003-10/msg00203.html
I did the following:
1/Copied strace into a separate area outside the cygwin tree, i.e.,
2/Completely uninstalled cygwin
3/Removed any remaining directory entries
4/Removed any registry entries
5/Created a Windows program shortcut "H:\CygnusSolutions-Cygwin
Files\strace.exe" -o "H:\CygnusSolutions-Cygwin Files\strace.setup.txt"
"H:\CygnusSolutions-Cygwin Files\setup.exe" (so I could create an strace
6/ Double-clicked on this shortcut.
$ cygcheck /usr/bin/cygpath.exe
I too am running Win200 SP4.
The same files, on the same machine, which previously failed, now installed
fine, albeit very slowly.
Thought I would add my 2c worth.
From: Igor Pechtchanski [mailto:email@example.com]
Sent: October 4, 2003 09:52
To: Cliff Hones
Subject: Re: cygpath hangs from postinstall scripts when called like
$(cygpath -S) but not otherwise
On Sat, 4 Oct 2003, Cliff Hones wrote:
> I ran cygcheck on cygpath, and was surprised to discover
> that it has a dependence on msvcrt (as well as cygwin1):
> $ cygcheck /bin/cygpath.exe
> I thought that using the msvcrt and cygwin1 dll's in
> the same executable was likely to cause crashes or hangs -
> is this no longer the case, or could this be the problem
> with the postinstall?
> -- Cliff
Wow! Good thinking, Cliff! I think you may be on to something...
ISTM that the problem could manifest itself when running from setup as
opposed to from the shell because setup is a Windows program, so some
MSVCRT functions may be found before the Cygwin ones... We could test by
using "cygstart cygpath" or "run cygpath" or something.
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html