bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] SIGSEGV in _rl_dispatch_callback()


From: Chet Ramey
Subject: Re: [Bug-readline] SIGSEGV in _rl_dispatch_callback()
Date: Fri, 07 Mar 2014 21:03:51 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 3/7/14, 8:50 PM, Anatol Pomozov wrote:
> Hi,
> 
> There are ipython bug reports both from Arch and Gentoo users:
> 
> https://github.com/ipython/ipython/issues/5286
> https://github.com/ipython/ipython/issues/5262
> https://github.com/ipython/ipython/issues/5260
> 
> ipython developer says it is not related to ipython and most likely
> readline or python bug.

I'm sure it's not an ipython bug; ipython doesn't call readline directly.
The problem is that the multikey state is left on when the key sequence
context is disposed.  I suspect a signal, but can't test this directly.
One difference between readline-6.2 and readline-6.3 is that readline-6.3
runs much less code (as little as possible) in a signal handler context.
Maybe the python code assumes too much about readline's signal handling
behavior.  It may be a readline bug, but only python triggers it -- it
has to be some interaction between the two.

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



reply via email to

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