From owner-freebsd-current@FreeBSD.ORG Tue Dec 21 07:53:33 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 7661F16A4CE for ; Tue, 21 Dec 2004 07:53:33 +0000 (GMT) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBD3443D31 for ; Tue, 21 Dec 2004 07:53:32 +0000 (GMT) (envelope-from michiel@boland.org) Received: from xs6.xs4all.nl (xs6.xs4all.nl [194.109.21.6]) by smtp-vbr4.xs4all.nl (8.12.11/8.12.11) with ESMTP id iBL7rW1d089455 for ; Tue, 21 Dec 2004 08:53:32 +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 iBL7rVpo081003 for ; Tue, 21 Dec 2004 08:53:31 +0100 (CET) (envelope-from michiel@boland.org) Received: (from boland37@localhost) by xs6.xs4all.nl (8.12.10/8.12.9/Submit) id iBL7rVM2081002 for current@freebsd.org; Tue, 21 Dec 2004 08:53:31 +0100 (CET) (envelope-from michiel@boland.org) X-Authentication-Warning: xs6.xs4all.nl: boland37 set sender to michiel@boland.org using -f Date: Tue, 21 Dec 2004 08:53:31 +0100 From: Michiel Boland To: current@freebsd.org Message-ID: <20041221075331.GA74343@xs4all.nl> References: <20041130081804.GA22353@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041130081804.GA22353@xs4all.nl> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: 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, 21 Dec 2004 07:53:33 -0000 On Tue, Nov 30, 2004 at 09:18:04AM +0100, Michiel Boland wrote: > 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. Turns out the brokennes was caused by the Readline 5.0 import on 2004/10/18, in particular by the following change in : typedef struct _hist_entry { char *line; + char *timestamp; /* char * rather than time_t for read/write */ histdata_t data; } HIST_ENTRY; Upgrading to the new bash (bash-3.0.16_1) fixed this for me. See also PR 75315.