X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.1 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_RX
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4CA23B9F.20506@ece.cmu.edu>
References: <4CA23B9F.20506@ece.cmu.edu>
Date: Tue, 28 Sep 2010 13:40:22 -0600
Message-ID: <AANLkTinvLdtnMoMWGPBKQyXgtK+tNQqckBtRM-1Z8Szd@mail.gmail.com>
Subject: Re: gitk kills bash shell
From: Jeremy Ramer <jdramer@gmail.com>
To: Ryan Johnson <ryanjohn@ece.cmu.edu>
Cc: "cygwin@cygwin.com" <cygwin@cygwin.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On Tue, Sep 28, 2010 at 1:01 PM, Ryan Johnson <ryanjohn@ece.cmu.edu> wrote:
> =A0Jeremy Ramer said:
>>
>> I have a very repeatable issue, but I'm not sure how to go about
>> debugging it. =A0I 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 b=
ug
> in tty handling.
> Last I heard Corinna was having trouble diagnosing because the bug also
> kills strace :)
>
> No fix yet AFAIK.

I was afraid of that. It just started happening for me after upgrading
to cygwin 1.7, as well as to others in my company.

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

