[ILUG] YABB ? (Yet Another Bash Bug)

Kenn Humborg kenn at bluetree.ie
Mon Nov 20 15:15:37 GMT 2000


> On Mon, Nov 20, 2000 at 01:06:20PM +0000, kevin lyda wrote:
>
> > what's in .bash_history?  any control chars?
>
> There shouldn't be, I don't think there are and if there were, they should
> surely have an effect independent of the width of the terminal ?

Well, the effect occurs with kterminal, but not with xterm.

So I'd guess that the dodgy line triggers readline to emit
certain escape sequences and/or control codes that trigger
a bug in kterminal.

Maybe turn on process accounting and see which is exiting
first, bash or kterminal.  Or use strace.  If kterminal
gets a SIGCHILD from bash, then bash is exiting first and
it's bash that's crashing.  Otherwise it's kterminal that's
crashing.

Later,
Kenn





More information about the ILUG mailing list