Postinstall hangs with bash
Hannu E K Nevalainen (garbage mail)
garbage_collector@telia.com
Thu Oct 2 21:57:00 GMT 2003
Igor?
Have you been able to reproduce the hang using "my" scripts?
As I said earlier, they're stripped down versions of
/etc/postintsall/XFree86-bin-icons.sh
obviously there are a number of people having problems with that
particular script.
Hrm!? I think I made it!
gzip'ed strace output attached (>100K before gzip).
I changed the "part2.sh" script as shown below.
The remainder of the text shows how I managed to get the hang with this
strace added.
I hope this helps.
NOTE: I've NOT checked the strace for validity.
I find the output rather daunting - as I'm not familiar with cygwin
internals.
There is 66 lines with "cygpath" though.
--
$ cat /part2.sh
#!/bin/bash
strace -o /part2.strace bash -c "source /part3.sh"
echo "-${TOPFOLDER}-"
# for (( i=0 ; $i <50; i=$(( $i + 1 )) ))
# do
# ii="000$i"
# echo ${ii: -3} ${X11proggies[$i]}
# done
$ cygstart /install/setup.exe &
[1] 832
$ ps
PID PPID PGID WINPID TTY UID STIME COMMAND
2012 1 2012 1392 con 500 22:03:08 /usr/bin/rxvt
1728 2012 1728 888 0 500 22:03:25 /usr/bin/bash
584 1 584 584 con 500 22:27:42 /usr/bin/sh
844 584 584 844 con 500 22:27:43 /usr/bin/sh
1044 844 584 1044 con 500 22:27:43 /usr/bin/bash
2376 1044 584 2376 con 500 22:27:43 /usr/bin/strace
I 2356 1 2356 2356 con 500 22:27:43 /usr/bin/bash
1116 2356 2356 1116 con 500 22:27:44 /usr/bin/bash
2348 1116 2356 2348 con 500 22:27:44 /usr/bin/cygpath
364 1728 364 952 0 500 22:28:44 /usr/bin/ps
<cancel setup>
$ ps
PID PPID PGID WINPID TTY UID STIME COMMAND
2012 1 2012 1392 con 500 22:03:08 /usr/bin/rxvt
1728 2012 1728 888 0 500 22:03:25 /usr/bin/bash
584 1 584 584 con 500 22:27:42 /usr/bin/sh
844 584 584 844 con 500 22:27:43 /usr/bin/sh
1044 844 584 1044 con 500 22:27:43 /usr/bin/bash
2376 1044 584 2376 con 500 22:27:43 /usr/bin/strace
I 2356 1 2356 2356 con 500 22:27:43 /usr/bin/bash
1116 2356 2356 1116 con 500 22:27:44 /usr/bin/bash
2348 1116 2356 2348 con 500 22:27:44 /usr/bin/cygpath
364 1728 364 952 0 500 22:28:44 /usr/bin/ps
$ kill -9 2348
$ ps
PID PPID PGID WINPID TTY UID STIME COMMAND
2012 1 2012 1392 con 500 22:03:08 /usr/bin/rxvt
1728 2012 1728 888 0 500 22:03:25 /usr/bin/bash
1612 1728 1612 2360 0 500 22:28:57 /usr/bin/ps
$ grep -in 'cygpath' /part2.strace | wc -l
66
$ cat /var/log/setup.log.full
2003/10/02 22:31:05 Starting cygwin install, version 2.415
2003/10/02 22:31:05 Current Directory: G:\cygwin-downloads
2003/10/02 22:31:05 Changing gid to Users
2003/10/02 22:31:05 Could not open service McShield for query, start and
stop. McAfee may not be installed, or we don't have access.
2003/10/02 22:31:09 Ending cygwin install
/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST -> UTC+02 --
--END OF MESSAGE--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: part2.strace.gz
Type: application/octet-stream
Size: 18183 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20031002/f7ebb5c3/attachment.obj>
-------------- next part --------------
--
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/
More information about the Cygwin
mailing list