bug-bash
[Top][All Lists]
Advanced

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

Re: crash bug report, plus complaint about bashbug


From: Chet Ramey
Subject: Re: crash bug report, plus complaint about bashbug
Date: Thu, 19 Apr 2012 15:08:41 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

On 4/19/12 8:26 AM, Peter Maloney wrote:
> Dear bash guys,
> 
> Bashbug interface was COMPLETELY useless. The emacs quit key didn't work.
> There were no instructions. It didn't even tell me it was emacs so I could
> go look it up. I had to find that out elsewhere. Eventually it wouldn't
> even let me edit, saying the buffer is read only. What the hell were you
> thinking? Why not use the EDITOR variable? That's what it's for! Not
> everyone knows how to use every editor.

If you were to look at the bashbug script, you would see that it does
use $EDITOR to edit the temporary file.  If that variable's not set,
it looks for $DEFEDITOR and tries to choose an intelligent default if
it doesn't find either.

> Bash Version: 4.2
> Patch Level: 10
> Release Status: release
> 
> Description:
>         Running the following script crashes bash with exit code 141. The
>         problem occurs on this openSuSE machine, and on FreeBSD with bash
>         4.1.10, and on Ubuntu with bash 4.1.5.
> 
> Repeat-By: (2 line script, this email thing split it in 3)
>         foo() { while IFS='' read -r line; do echo "$(date) $line" >>
>         file.txt; done; };
> 
>         exec 2> >(foo)

I can't reproduce the crash with bash-4.2, bash-4.1, or bash-4.0 (with
all the official patches applied to each version) on Mac OS X, RHEL 5,
Ubuntu 10, Solaris 8, or Solaris 10.  How about a stack traceback from
the crash on one of your systems?

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/



reply via email to

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