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:41:14 -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 3/26/11 3:56 PM, Andreas Schwab wrote:
> Henning Bekel <h.bekel@googlemail.com> writes:
>
>> I've noticed that this problem does no longer occur if bash 4.2.8 is
>> configured --with-bash-malloc. On my distribution (arch) bash is
>> configured --without-bash-malloc by default.
>
> This may indicate that bash is calling malloc in a signal handler.
Yep, that's most likely the case. Should be an easy fix.
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/