From owner-freebsd-current@FreeBSD.ORG Tue Nov 30 08:18:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9644116A4CE for ; Tue, 30 Nov 2004 08:18:12 +0000 (GMT) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FF6143D55 for ; Tue, 30 Nov 2004 08:18:11 +0000 (GMT) (envelope-from michiel@boland.org) Received: from xs6.xs4all.nl (xs6.xs4all.nl [194.109.21.6]) by smtp-vbr14.xs4all.nl (8.12.11/8.12.11) with ESMTP id iAU8IAYw056966 for ; Tue, 30 Nov 2004 09:18:10 +0100 (CET) (envelope-from michiel@boland.org) Received: from xs6.xs4all.nl (boland37@localhost.xs4all.nl [127.0.0.1]) by xs6.xs4all.nl (8.12.10/8.12.10) with ESMTP id iAU8I9jl029762 for ; Tue, 30 Nov 2004 09:18:09 +0100 (CET) (envelope-from michiel@boland.org) Received: (from boland37@localhost) by xs6.xs4all.nl (8.12.10/8.12.9/Submit) id iAU8I4u3029673 for current@freebsd.org; Tue, 30 Nov 2004 09:18:04 +0100 (CET) (envelope-from michiel@boland.org) X-Authentication-Warning: xs6.xs4all.nl: boland37 set sender to michiel@boland.org using -f Date: Tue, 30 Nov 2004 09:18:04 +0100 From: Michiel Boland To: current@freebsd.org Message-ID: <20041130081804.GA22353@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by XS4ALL Virus Scanner Subject: bash/readline coredumps X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2004 08:18:12 -0000 Hi. Lately I am getting core dumps from bash (bash-2.05b.007_2 from ports). To reproduce: type a command that spans multiple lines, like echo ' ' Then bring up the last line with cursor-up or ^P and press enter. Some gdb output: (gdb) bt #0 rl_do_undo () at /usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/undo.c:124 #1 0x280ee279 in rl_revert_line (count=1, key=0) at /usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/undo.c:239 #2 0x28102e4d in readline_internal_teardown (eof=0) at /usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/readline.c:372 #3 0x281039fc in readline (prompt=0x80c4180 "mboland@leefnet:~$ ") at /usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/readline.c:504 #4 0x08058623 in yy_input_name () #5 0x080c4180 in ?? () #6 0x0807c5e8 in termination_unwind_protect () #7 0x08059fa1 in yyerror () #8 0x0805ae83 in yyerror () #9 0x0805d529 in yyparse () #10 0x08058133 in parse_command () #11 0x080581dd in read_command () #12 0x0805831c in reader_loop () #13 0x08057441 in main () (gdb) print rl_undo_list $2 = (UNDO_LIST *) 0x30313100 This is -CURRENT from last Friday, but the problem has been around longer. Anyone any ideas? Cheers Michiel