This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cygpath hangs from postinstall scripts when called like $(cygpath -S) but not otherwise


s/Win200 SP4/Win2000 SP4/g

-----Original Message-----
From: Alan Miles [mailto:miles0201@cox.net]
Sent: October 5, 2003 20:41
To: cygwin@cygwin.com
Subject: RE: cygpath hangs from postinstall scripts when called like
$(cygpath -S) but not otherwise


All,

Just to add another wrinkle:

See messages: http://cygwin.com/ml/cygwin/2003-10/msg00203.html
and: http://cygwin.com/ml/cygwin/2003-10/msg00202.html
http://sources.redhat.com/ml/cygwin/2003-09/msg01821.html
http://sources.redhat.com/ml/cygwin/2003-09/msg01823.html


I did the following:

1/Copied strace into a separate area outside the cygwin tree, i.e.,
"H:\CygnusSolutions-Cygwin Files\strace.exe"
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
output)
6/ Double-clicked on this shortcut.
$ cygcheck /usr/bin/cygpath.exe
H:/cygwin/bin/cygpath.exe
  H:/cygwin/bin\cygwin1.dll
    C:\WINNT\system32\KERNEL32.dll
      C:\WINNT\system32\NTDLL.DLL
  C:\WINNT\system32\SHELL32.DLL
    C:\WINNT\system32\GDI32.DLL
      C:\WINNT\system32\USER32.DLL
    C:\WINNT\system32\ADVAPI32.DLL
      C:\WINNT\system32\RPCRT4.DLL
    C:\WINNT\system32\SHLWAPI.DLL
      C:\WINNT\system32\msvcrt.dll
    C:\WINNT\system32\COMCTL32.DLL

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.

Alan
-----Original Message-----
From: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu]
Sent: October 4, 2003 09:52
To: Cliff Hones
Cc: cygwin@cygwin.com
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
> D:/cygwin/bin/cygpath.exe
>   D:/cygwin/bin\cygwin1.dll
>     D:\WINNT\system32\KERNEL32.dll
>       D:\WINNT\system32\NTDLL.DLL
>   D:\WINNT\system32\SHELL32.DLL
>     D:\WINNT\system32\GDI32.DLL
>       D:\WINNT\system32\USER32.DLL
>     D:\WINNT\system32\ADVAPI32.DLL
>       D:\WINNT\system32\RPCRT4.DLL
>     D:\WINNT\system32\SHLWAPI.DLL
>       D:\WINNT\system32\msvcrt.dll
>     D:\WINNT\system32\COMCTL32.DLL
>
> 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.
	Igor
--
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]