X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Steve Subject: Re: 1.5.21 Forked background processes Date: Tue, 3 Oct 2006 04:09:11 +0000 (UTC) Lines: 93 Message-ID: References: <4521AE57 DOT 9020007 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Larry Hall (Cygwin cygwin.com> writes: > > file1.sh: > > ----------------------------------------------- > > #!/usr/bin/bash > > > > ./file2.sh & > > > > ------------------------------------------------ > > > > file2.sh > > ------------------------------------------------ > > #!/usr/bin/bash > > > > while [ 1 ] > > do > > val=`echo $val` > > val=$((val + 1)) > > echo $val > > done > > ------------------------------------------------ Thanks for your response. I'm still running into this with 1.5.21. The background process has to be ran from a script, as in the example I provided above. If you kick the script from the command line, this problem does not occur. If you run the example above with ./file1.sh, you should see the problem. I didn't run into this with DLL version 1.5.18. Here is the bash and DLL versions of both: Problem DLL and Bash versions: $ bash --version GNU bash, version 3.1.17(8)-release (i686-pc-cygwin) Copyright (C) 2005 Free Software Foundation, Inc. Cygwin DLL version info: DLL version: 1.5.21 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 156 Shared data: 4 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Sun Jul 30 14:21:47 EDT 2006 Shared id: cygwin1S4 //////////////////////////////////////////////////// No Problem DLL and Bash versions: $ bash --version GNU bash, version 3.00.16(11)-release (i686-pc-cygwin) Copyright (C) 2004 Free Software Foundation, Inc. Cygwin DLL version info: DLL version: 1.5.18 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 132 Shared data: 4 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Sat Jul 2 20:30:04 EDT 2005 Shared id: cygwin1S4 ////////////////////////////////////////////////////// I also tried Bash 3.00.16(11) with DLL version 1.5.21 and still had a problem. I see this on several machines so it's not isolated to one. Thanks for your help and any info you can provide, ->Steve -- 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/