From bounce-debian-bugs-dist==chris-lamb.co.uk@lists.debian.org Sun Apr 20 11:20:45 2008
Received: from liszt.debian.org ([82.195.75.100])
	by chris-lamb.co.uk with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.63)
	(envelope-from <bounce-debian-bugs-dist==chris-lamb.co.uk@lists.debian.org>)
	id 1JnWf1-0006Fm-M0
	for bot.address@chris-lamb.co.uk; Sun, 20 Apr 2008 11:20:45 +0100
Received: from localhost (localhost [127.0.0.1])
	by liszt.debian.org (Postfix) with QMQP
	id 9582F13A4B4F; Sun, 20 Apr 2008 10:20:38 +0000 (UTC)
Old-Return-Path: <debbugs@rietz.debian.org>
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.0 required=4.0 tests=BAYES_00,FVGT_m_MULTI_ODD,
	IMPRONONCABLE_2,LDO_WHITELIST,MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_LOW
	autolearn=ham version=3.2.3
X-Original-To: debian-bugs-dist@lists.debian.org
Delivered-To: lists-debian-bugs-dist@liszt.debian.org
Received: from rietz.debian.org (rietz.debian.org [140.211.166.43])
	by liszt.debian.org (Postfix) with ESMTP id 3917013A425A;
	Sun, 20 Apr 2008 10:20:25 +0000 (UTC)
Received: from debbugs by rietz.debian.org with local (Exim 4.63)
	(envelope-from <debbugs@rietz.debian.org>)
	id 1JnWZr-0006EB-Od; Sun, 20 Apr 2008 10:15:19 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#465979: bash goes into endless loop
Reply-To: Matthias Klose <doko@cs.tu-berlin.de>, 465979@bugs.debian.org
Resent-From: Matthias Klose <doko@cs.tu-berlin.de>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Matthias Klose <doko@debian.org>
Resent-Date: Sun, 20 Apr 2008 10:15:19 +0000
Resent-Message-ID: <handler.465979.B465979.120868648621743@bugs.debian.org>
X-Debian-PR-Message: followup 465979
X-Debian-PR-Package: bash
X-Debian-PR-Keywords: 
X-Debian-PR-Source: bash
Received: via spool by 465979-submit@bugs.debian.org id=B465979.120868648621743
          (code B ref 465979); Sun, 20 Apr 2008 10:15:19 +0000
Received: (at 465979) by bugs.debian.org; 20 Apr 2008 10:14:46 +0000
X-Amavis-Spam-Status: No, score=-7.0 required=4.0 tests=BAYES_00,FVGT_m_MULTI_ODD,
	HAS_BUG_NUMBER,IMPRONONCABLE_2,MURPHY_DRUGS_REL8,UNPARSEABLE_RELAY,
	VALID_BTS_CONTROL autolearn=no 
	version=3.1.4-bugs.debian.org_2005_01_02
Received: from mail.cs.tu-berlin.de ([130.149.17.13])
	by rietz.debian.org with esmtp (Exim 4.63)
	(envelope-from <doko@cs.tu-berlin.de>)
	id 1JnWZJ-0005cw-Rb
	for 465979@bugs.debian.org; Sun, 20 Apr 2008 10:14:46 +0000
Received: from localhost (localhost [127.0.0.1])
	by localhost-12225.cs.tu-berlin.de (Postfix) with ESMTP id CE12CDBDF
	for <465979@bugs.debian.org>; Sun, 20 Apr 2008 12:14:41 +0200 (MEST)
Received: from mailhost.cs.tu-berlin.de ([127.0.0.1])
	by localhost (mail.cs.tu-berlin.de [127.0.0.1]) (amavisd-new, port 12224)
	with ESMTP id ud2kwAwGxGO1 10743-10;
	Sun, 20 Apr 2008 12:14:40 +0200 (MEST) 13748
Received: from bolero.cs.tu-berlin.de (bolero.cs.tu-berlin.de [130.149.19.1])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mailhost.cs.tu-berlin.de (Postfix) with ESMTP;
	Sun, 20 Apr 2008 12:14:40 +0200 (MEST)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.13.8+Sun/8.13.3/Submit) id m3KAEegM013525;
	Sun, 20 Apr 2008 12:14:40 +0200 (MEST)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <18443.6032.36901.192405@gargle.gargle.HOWL>
Date: Sun, 20 Apr 2008 12:14:40 +0200
To: Max Kellermann <max@duempel.org>, 465979@bugs.debian.org
Cc: control@bugs.debian.org
In-Reply-To: <20080215182822.GA389@swift.blarg.de>
References: <20080215182822.GA389@swift.blarg.de>
X-Mailer: VM 7.17 under 21.4 (patch 21) "Educational Television" XEmacs Lucid
X-Virus-Scanned: amavisd-new at cs.tu-berlin.de (including SpamAssassin)
Resent-Date: Sun, 20 Apr 2008 10:15:19 +0000
X-Debian-Message: from BTS
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2007-10-04_01
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/343418
X-Loop: debian-bugs-dist@lists.debian.org
List-Id: <debian-bugs-dist.lists.debian.org>
List-Post: <mailto:debian-bugs-dist@lists.debian.org>
List-Help: <mailto:debian-bugs-dist-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-bugs-dist-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-bugs-dist-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-bugs-dist-request@lists.debian.org
Received-SPF: none
X-SPF-Guess: pass
X-Spam-Score: -34.6
X-Spam-Report: (-34.6 points, 5.0 required)
	pts rule name              description
	---- ---------------------- --------------------------------------------------
	-50 D_FOR_BOT              For debian-devel-changes bot
	0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay lines
	-2.6 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
	[score: 0.0000]
	18 AWL                    AWL: From: address is in the auto white-list

tag 465979 + moreinfo
thanks

- please recheck with 3.2, 
- is this reproducible with certain history content?

Max Kellermann writes:
> Package: bash
> Version: 3.1dfsg-8
> 
> bash consumes 100% CPU, strace says:
> 
>  read(0, "", 1)                          = 0
>  read(0, "", 1)                          = 0
>  ....
> 
> The stack trace lets me assume this is actually a bug in readline
> (feel free to reassign this bug):
> 
> (gdb) bt
> #0  0xb7f28410 in __kernel_vsyscall ()
> #1  0xb7e67773 in read () from /lib/tls/i686/cmov/libc.so.6
> #2  0x080c5b0d in rl_getc ()
> #3  0x080c5f04 in rl_read_key ()
> #4  0x080c003b in _rl_search_getchar ()
> #5  0x080c0308 in _rl_scxt_alloc ()
> #6  0x080b572d in _rl_dispatch_subseq ()
> #7  0x080b5aa3 in _rl_dispatch ()
> #8  0x080b5dc4 in readline_internal_char ()
> #9  0x080b6145 in readline ()
> #10 0x08064ab2 in parse_string_to_word_list ()
> #11 0x08060925 in decode_prompt_string ()
> #12 0x08061c96 in gather_here_documents ()
> #13 0x080650ae in yyparse ()
> #14 0x0805e60d in parse_command ()
> #15 0x0805e6b9 in read_command ()
> #16 0x0805e85b in reader_loop ()
> #17 0x0805e345 in main ()
> 
> I believe I triggered this one with reverse-i-search (control-R).
> This happens maybe once a week, and only in ssh sessions, on several
> etch systems (both i386 and amd64).
> 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


