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: Anatol Pomozov
Subject: Re: [Bug-readline] SIGSEGV in _rl_dispatch_callback()
Date: Thu, 6 Mar 2014 09:25:47 -0800

Hi

On Thu, Mar 6, 2014 at 7:43 AM, Chet Ramey <address@hidden> wrote:
> On 3/5/14 11:18 PM, Anatol Pomozov wrote:
>> Hi,
>>
>> It is a follow-up for a Linux Arch bug https://bugs.archlinux.org/task/39144
>>
>> After upgrading system to readline 6.3 we started seeing a crash that
>> can be reproduced using 'ipython' command-line tool. Here are the
>> steps:
>>
>> - run 'ipython'
>> - type 'import'
>> - press up, down, up
>> - SIGSEGV!!!
>>
>> Downgrading readline back to 6.2 fixes the issue.
>
> I can't reproduce this with a simple callback test example.  I suspect it's
> something in how ipython configures readline that the example doesn't do.
> Where would I find that initialization code?


The crash stack points to this code
http://hg.python.org/cpython/file/302c8fdb17e3/Parser/myreadline.c
PyOS_Readline() function calls readline code.

There is another piece of code related to readline in Python
http://hg.python.org/cpython/file/302c8fdb17e3/Modules/readline.c

I'll try to debug it with '-g' later today and hopefully find more
useful information.



reply via email to

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