[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing window size via bind -x may cause bash to hang in futex() c
From: |
Chet Ramey |
Subject: |
Re: Changing window size via bind -x may cause bash to hang in futex() call |
Date: |
Sun, 27 Mar 2011 20:50:26 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 |
On 2/27/11 4:26 AM, Henning Bekel wrote:
> Bash Version: 4.2
> Patch Level: 0
> Release Status: release
>
> Description: When the size of an XTerminal is changed via a keybinding
> (either by issuing an escape sequence or by an external
> program that uses xlib) then sometimes bash will simply hang
> before redrawing the prompt, not responding to C-c
> anymore. I've used strace to verify that it's not the terminal
> but indeed bash that seems to hang, apparently in a
> futex(...FUTEX_WAIT...) call.
Thanks for the report. This will be fixed in the next release of
bash/readline.
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/