This is the mail archive of the 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: Postinstall hangs with bash

> 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...


$ grep 2348 part2.strace | wc -l

> 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

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

*-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  --

Attachment: part2.strace-after-hang.gz
Description: Binary data

Attachment: part2.strace-at-hang.gz
Description: Binary data

Unsubscribe info:
Problem reports:

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