[ python-Bugs-1066545 ] SegFault in interactive mode when cursor is over a non-ASCII

SourceForge.net noreply at sourceforge.net
Mon Nov 15 15:39:35 CET 2004


Bugs item #1066545, was opened at 2004-11-15 12:31
Message generated for change (Comment added) made by theigel
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1066545&group_id=5470

Category: None
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: theIgel (theigel)
Assigned to: Nobody/Anonymous (nobody)
Summary: SegFault in interactive mode when cursor is over a non-ASCII

Initial Comment:
I'm running python2.3.3 as shipped with Mandrake 10.0 Official. Locale is 
ru_RU (KOI8-R). When running python in intercative mode (tested in 
KDE's Konsole and Xterm), I get SegFault each time I press almost any 
key while a cyrillic character is under cursor.

Say, I type:

>>> s = 'что за черт'

Then I move the cursor using arrow keys somewhere to the middle of 
the string. Now if I press a letter (no matter english or russian keymap 
being active) or backspace, or maybe other keys, the interpreter 
crashes. The arrow keys themselves are working without problems.

It doesn't happen if an ASCII character is under cursor.


----------------------------------------------------------------------

>Comment By: theIgel (theigel)
Date: 2004-11-15 17:39

Message:
Logged In: YES 
user_id=1151790

libreadline4-4.3-7mdk

So it's 4.3

But if it were a readline bug, wouldn't it mean it should appear in other console 
applications? It doesn't, at least in shell.

----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2004-11-15 17:18

Message:
Logged In: YES 
user_id=6656

Ask Mandrake.  Mandrake is rpm-based, right?  So

rpm -q readline

should work.

----------------------------------------------------------------------

Comment By: theIgel (theigel)
Date: 2004-11-15 15:37

Message:
Logged In: YES 
user_id=1151790

How can I find out readline version?


----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2004-11-15 12:37

Message:
Logged In: YES 
user_id=6656

What version of readline?  I don't think this is going to be a Python 
bug.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1066545&group_id=5470


More information about the Python-bugs-list mailing list