Re: tcsh hang while executing scripts which use pipes with backticks

2012-09-19 Thread Roeder Roland
After various different attempts to nail down this issue I have some hope now that I have found a fix for it. I analyzed the changes of last to current version of tcsh and found one that is related to context of the problem and somewhat suspicious as well. The change I did then was the following:

Re: tcsh hang while executing scripts which use pipes with backticks

2012-09-13 Thread Bryan Hogan
Running 8 instances of the script from http://cygwin.com/ml/cygwin/2012-07/msg00014.html I get the following results using cygwin 1.7.16 and tcsh 6.18.01: - OK on 32bit XP with 2 cpus - Hangs on 64bit Win2008 with 4 cpus - OK on 64bit Win2008r2 with a single cpu - Hangs on 64bit Win2008r2 with

Re: tcsh hang while executing scripts which use pipes with backticks

2012-09-08 Thread Roeder Roland
Some more tests on other system configurations showed that this problem seems to be dependent on the number of available CPU-s. On systems with only 2 CPUs the problem rarely reproduces. On Systems with 8 CPUs the problem reproduces with almost every run. Maybe this is the reason why you failed

Re: tcsh hang while executing scripts which use pipes with backticks

2012-09-02 Thread Roeder Roland
I also tried using the latest snapshot. The problem reproduced with the first run for me. Any hints on what I might check to find out why we see the problem here on many different systems but you don't? Roland On Aug 27 12:46, Sunadham, Ajay Kumar wrote: We are facing a similar problem as me

Re: tcsh hang while executing scripts which use pipes with backticks

2012-09-02 Thread Corinna Vinschen
On Aug 27 12:46, Sunadham, Ajay Kumar wrote: > We are facing a similar problem as mentioned in the thread below. > > http://cygwin.com/ml/cygwin/2012-07/msg00014.html > > To reproduce the issue create 2 csh files in the same directory. > [...] Can't reproduce with latest snapshot from http://cy

Re: tcsh hang while executing scripts which use pipes with backticks

2012-08-29 Thread Roland Roeder
Referring to this report: http://cygwin.com/ml/cygwin/2012-08/msg00599.html I tried the same scripts here using all the latest cygwin packages and can repro the issue. It didn't repro initially, but after running the script a second or third time it started reproducing with every run. I noticed

Re: tcsh hang while executing scripts which use pipes with backticks

2012-08-27 Thread Larry Hall (Cygwin)
On 8/27/2012 8:46 AM, Sunadham, Ajay Kumar wrote: We are facing a similar problem as mentioned in the thread below. http://cygwin.com/ml/cygwin/2012-07/msg00014.html To reproduce the issue create 2 csh files in the same directory. When you run dotest.csh from a tcsh window, it will hang. I

tcsh hang while executing scripts which use pipes with backticks

2012-08-27 Thread Sunadham, Ajay Kumar
We are facing a similar problem as mentioned in the thread below. http://cygwin.com/ml/cygwin/2012-07/msg00014.html To reproduce the issue create 2 csh files in the same directory. First file dotest.csh: #!/bin/csh -f set num=20 set par=10 set i=0 while ( $i < $par ) ./checkspace.csh $num