bug-bash
[Top][All Lists]
Advanced

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

Re: Crash in readline_internal_teardown()


From: Chet Ramey
Subject: Re: Crash in readline_internal_teardown()
Date: Mon, 14 Jul 2014 16:25:12 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 7/12/14, 6:51 PM, Bernie Innocenti wrote:

> Bash Version: 4.3
> Patch Level: 18
> Release Status: release
> 
> Description:
> 
> A similar crash has already been reported in Launchpad:
>   https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1294669

They are not the same; the stack tracebacks are very different.  The bug
in that launchpad report was fixed with bash-4.3 patch 9 and had to do with
history expansion.  This bug has to do with the behavior of readline's
revert-all-at-newline option.

> My bash binary contains patches 9 through 11 which supposedly fixed this,
> but I'm still getting occasional crashes with a binary built off git head:

There is a fix for this in the devel git branch, but there has not been any
official patch released yet.  It was just reported a couple of weeks ago
while I was on vacation.

I have attached a patch originally from Jared Yanovich that should fix the
problem.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

Attachment: readline-revert-lines.patch
Description: Source code patch


reply via email to

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