X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0	tests=AWL,BAYES_00,TW_RX,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4CA23B9F.20506@ece.cmu.edu>
Date: Tue, 28 Sep 2010 21:01:51 +0200
From: Ryan Johnson <ryanjohn@ece.cmu.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2
MIME-Version: 1.0
To: "cygwin@cygwin.com" <cygwin@cygwin.com>, Jeremy Ramer <jdramer@gmail.com>
Subject: Re: gitk kills bash shell
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

  Jeremy Ramer said:
> I have a very repeatable issue, but I'm not sure how to go about
> debugging it.  I follow this process.
>
> 1) Start an rxvt bash shell
> 2) Go to a git repo folder
> 3) Start gitk
> gitk --all&
> 4) Go back to bash and press any key except enter and bash closes
>
> I also get a similar problem with this process:
> 1) Start an rxvt bash shell
> 2) Go to a git repo folder
> 3) Start gitk
> gitk --all&
> 4) Close gitk with the close button. Both gitk and bash close.
>
> Note that the issue does not happen if I don't start gitk as a
> background process. But then I can't use the shell.
>
> Any debugging tips?
This sounds suspiciously similar to a problem that hit me a while back: 
http://www.cygwin.com/ml/cygwin/2010-09/msg00225.html

The short version is, running certain apps in the background triggers a 
bug in tty handling.
Last I heard Corinna was having trouble diagnosing because the bug also 
kills strace :)

No fix yet AFAIK.

Regards,
Ryan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

