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

SourceForge.net noreply at sourceforge.net
Mon Jan 9 06:37:16 CET 2006


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

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Python 2.3
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: theIgel (theigel)
Assigned to: Neal Norwitz (nnorwitz)
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: Neal Norwitz (nnorwitz)
Date: 2006-01-08 21:37

Message:
Logged In: YES 
user_id=33168

Close enough to a month.  Closing due to lack of
information/repeatability.

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

Comment By: Neal Norwitz (nnorwitz)
Date: 2005-12-18 21:10

Message:
Logged In: YES 
user_id=33168

Is this still a problem?  Can anyone reproduce?  If we don't
hear back within a month, this should be closed.

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

Comment By: Hye-Shik Chang (perky)
Date: 2004-11-16 06:36

Message:
Logged In: YES 
user_id=55188

It seems to work for me for same input on ru_RU.KOI8-R locale.
My terminal app is gnome-terminal and tested platforms are:
- FreeBSD 5.3 with readline 4.3
- Debian stable with readline 4.2a
- Debian testing with readline 4.3


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

Comment By: Michael Hudson (mwh)
Date: 2004-11-16 00:40

Message:
Logged In: YES 
user_id=6656

Hrm.  Maybe it's not a readline bug then.

OTOH, I've not heard of a Python bug like this either.  Do you 
know how to use gdb?

(It's possible that bash uses its own version of readline).

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

Comment By: theIgel (theigel)
Date: 2004-11-15 06: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 06: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 04:37

Message:
Logged In: YES 
user_id=1151790

How can I find out readline version?


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

Comment By: Michael Hudson (mwh)
Date: 2004-11-15 01: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