Re: Setup hangs in postinstall

2003-12-11 Thread Antoine Labour
Igor Pechtchanski wrote: Cygwin setup will sometimes defer replacing in-use files until the next reboot. If setup asked you to reboot after upgrading Cygwin last time, that means it had some files scheduled for replacement, while you were still running with the old versions of the DLLs. Rebootin

Re: Setup hangs in postinstall

2003-12-11 Thread Michael Robbert
Igor Pechtchanski wrote: On Thu, 11 Dec 2003, Michael Robbert wrote: [snip] P.S. I probably shouldn't mention this, but I had the strangest thing happen to me yesterday. One of the machines that was having this problem, my laptop, stopped having it all of a sudden. This machine is dual boot and

Re: Setup hangs in postinstall

2003-12-11 Thread Igor Pechtchanski
On Thu, 11 Dec 2003, Michael Robbert wrote: > [snip] > P.S. I probably shouldn't mention this, but I had the strangest thing > happen to me yesterday. One of the machines that was having this > problem, my laptop, stopped having it all of a sudden. This machine is > dual boot and when I booted to

Re: Setup hangs in postinstall

2003-12-11 Thread Larry Hall
At 12:36 PM 12/11/2003, Michael Robbert you wrote: >Quoting Igor Pechtchanski <[EMAIL PROTECTED]>: > >> BTW, if you don't escape the backticks ("`"s), they will be evaluated in >> the *current* shell. You should try to run >> >> strace sh -c 'TEST=`uname -s`' >> >> (note the single quotes). You

Re: Setup hangs in postinstall

2003-12-11 Thread Michael Robbert
Quoting Igor Pechtchanski <[EMAIL PROTECTED]>: > BTW, if you don't escape the backticks ("`"s), they will be evaluated in > the *current* shell. You should try to run > > strace sh -c 'TEST=`uname -s`' > > (note the single quotes). You can see the difference by comparing the > output of "sh -c

Re: Setup hangs in postinstall

2003-12-10 Thread Antoine Labour
Brian Ford wrote: Antonine, you might try the same. It might be more informative to see how we got there than to see just a static stack dump. strace -o /tmp/tracelog.txt /bin/bash.exe -c yourtestcase.sh. Then send the tail of that log when you get it to happen. Unfortunately, it doesn't seem to

Re: Setup hangs in postinstall

2003-12-10 Thread Brian Ford
On Wed, 10 Dec 2003, Antoine Labour wrote: > Brian Ford wrote: > > Have you tried to strace it? > > Antonine, you might try the same. It might be more informative to see how we got there than to see just a static stack dump. strace -o /tmp/tracelog.txt /bin/bash.exe -c yourtestcase.sh. Then send

Re: Setup hangs in postinstall

2003-12-10 Thread Antoine Labour
Brian Ford wrote: Why not try to debug it your self? Have you tried to strace it? Can you get a stack trace of the hang in gdb? Note: You may need a debug version of the cygwin1.dll or shell for this to be valid. I will provide the former if you are willing to test it. FWIW here's a link to a p

Re: Setup hangs in postinstall

2003-12-10 Thread Brian Ford
On Wed, 10 Dec 2003, Michael Robbert wrote: > Brian Ford wrote: > > On Wed, 10 Dec 2003, Michael Robbert wrote: > >>Everybody, > >>Some new information I got today. I found another user on our campus > >>that is having the problem on two different machines, but not a third. > >>All of them running

Re: Setup hangs in postinstall

2003-12-10 Thread Igor Pechtchanski
On Wed, 10 Dec 2003, Michael Robbert wrote: > [snip] > > > > Have you tried to strace it? > Yes, I think that this was included in my initial Email. strace produces > no output. I have tried attaching to a running/hung one as well as > running: > > strace sh -c TEST=`uname -s` > > Both produced no

Re: Setup hangs in postinstall

2003-12-10 Thread Michael Robbert
Brian Ford wrote: On Wed, 10 Dec 2003, Michael Robbert wrote: Everybody, Some new information I got today. I found another user on our campus that is having the problem on two different machines, but not a third. All of them running Windows XP. So far every machine I have seen it on is running

Re: Setup hangs in postinstall

2003-12-10 Thread Brian Ford
On Wed, 10 Dec 2003, Michael Robbert wrote: > Antoine Labour wrote: > > Actually, I still do believe it's the same problem. In some other mails > > I specified it happens also on single CPU machines. I think other people > > have been able to reproduce it as well. The fact I expose it in a loop > >

Re: Setup hangs in postinstall

2003-12-10 Thread Michael Robbert
Antoine Labour wrote: Actually, I still do believe it's the same problem. In some other mails I specified it happens also on single CPU machines. I think other people have been able to reproduce it as well. The fact I expose it in a loop is because the hang is random. It also sometimes happen i

Re: Setup hangs in postinstall

2003-12-09 Thread Antoine Labour
Michael Robbert wrote: I'm sorry, I don't have a copy of XP to try this with, but it would appear to be a bug in uname (since it gives no output from the commandline) Does it uname hang or just return empty? Is there any error codes? Try: /bin/uname -a ; echo $? Also, could you *attach* (unco

Re: Setup hangs in postinstall

2003-12-09 Thread Michael Robbert
I'm sorry, I don't have a copy of XP to try this with, but it would appear to be a bug in uname (since it gives no output from the commandline) Does it uname hang or just return empty? Is there any error codes? Try: /bin/uname -a ; echo $? Also, could you *attach* (uncompressed) the output of:

RE: Setup hangs in postinstall

2003-12-07 Thread John Morrison
(Sorry I've not quoted people, I've lost track of who wrote what... also, I re-arranged the email slightly.) process hangs on two postinstall scripts; base-files-mketc.sh base-files-mketc does use uname, base-files-profile.sh base-files-profile does not... I then try to ru

Re: Setup hangs in postinstall

2003-12-05 Thread Antoine Labour
Michael Robbert wrote: Brian, Thanks for your quick response, but we have done multiple searches on google and the list archives. I read every post that I could find about the problems in October where setup was hanging during postinstall. That is where I got many of my ideas for debugging alrea

Re: Setup hangs in postinstall

2003-12-05 Thread Michael Robbert
Brian, Thanks for your quick response, but we have done multiple searches on google and the list archives. I read every post that I could find about the problems in October where setup was hanging during postinstall. That is where I got many of my ideas for debugging already i.e. gdb, strace, s

Re: Setup hangs in postinstall

2003-12-05 Thread Brian Ford
On Fri, 5 Dec 2003, Michael Robbert wrote: > A co-worker and I are trying to debug a problem that we came across > while trying to do a new install of Cygwin on a clients computer. We > have the current version of Setup.exe(2.416) and we have tried to > install from a couple of mirrors, but even w