Postinstall hangs with bash
Hannu E K Nevalainen (garbage mail)
garbage_collector@telia.com
Fri Oct 3 11:56:00 GMT 2003
> From: Igor Pechtchanski
> On Thu, 2 Oct 2003, Hannu E K Nevalainen (garbage mail) wrote:
>
> > Igor?
> >
> > Have you been able to reproduce the hang using "my" scripts?
> Hannu,
>
> As I said before, I'm unable to reproduce the hang on my machine at all -
> setup always runs to completion.
OK. Just wanted to know.
> > There is 66 lines with "cygpath" though.
>
> That doesn't tell you much. You should have grepped for cygpath's PID...
Right.
$ grep 2348 part2.strace | wc -l
203
> I don't have time right now to look at the strace. Unless someone else
> does, I may get to it some time next week.
> Igor
Wow! :-} you're taking time off? ;-)
To be more serious:
In hope to make it easier to find where in the strace 'the hang' occurs;
I did 'the hang' once more, and copied the strace-file before killing
cygpath...
NOTE: The contents of this strace DIFFERS slightly from the previous one.
Therefore a new version of strace output. (checked w 'tr -s | cut -f7- >
diff -y' )
<at hang>
$ cat part2.strace >part2.strace-at-hang
<after killing cygpath>
$ mv part2.strace part2.strace-full
$ wc -l part2.strace-full
1296 part2.strace-full
$ tail +1038 part2.strace-full >part2.strace-after-hang
$ wc -l part2.strace-at-hang part2.strace-after-hang
1037 part2.strace-at-hang
259 part2.strace-after-hang
1296 total
$ grep -i cygpath part2.strace-full | tail -2
667 678603 [main] bash 2372 spawn_guts: null_app_name 0
(C:\Program\cygwin\bin\cygpath.exe, C:\Program\cygwin\bin\cygpath.exe -A -P)
14072 733251 [main] bash 2372 spawn_guts: 2372 = spawn_guts
(/usr/bin/cygpath, C:\Program\cygwin\bin\cygpath.exe -A -P)
i.e. cygpath PID was 2372 this time.
$ grep -i 2372 part2.strace-full | wc -l
203
*-at-* and *-after-* files gzip'ed (gzip -d >100K together) and attached.
/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-after-hang.gz
Type: application/octet-stream
Size: 3694 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20031003/3aa78db1/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: part2.strace-at-hang.gz
Type: application/octet-stream
Size: 15114 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20031003/3aa78db1/attachment-0001.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