[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] Bash not reacting to Ctrl-C

From: Oleg Nesterov
Subject: Re: [BUG] Bash not reacting to Ctrl-C
Date: Wed, 9 Feb 2011 15:29:31 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On 02/08, Chet Ramey wrote:
> On 2/8/11 7:11 PM, Ingo Molnar wrote:
> >
> > Oleg also found another simple testcase i think - and Thomas (Cc:-ed) 
> > reported
> > similar Ctrl-C problems with Bash as well.
> I tried to reproduce it and wasn't able to.  I use Mac OS X.

Strange, but I know nothing about Mac OS...

Hmm. Do you mean the "perl -e" test-case doesn't work too ? Did you
try other test-cases from http://marc.info/?l=linux-kernel&m=129623373208782
(this message was attached) ?

OK, another test-case,


        perl -we 'kill INT, getppid'

        echo "Hehe, I am going to sleep after ^C"
        sleep 100

("perl -e" just sends SIGINT to the parent)

To clarify, I do not claim this particular case "proves" the shell
is buggy. Just to illustrate the problem: the shell refuses to exit
unless the child was killed by SIGINT too.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]