Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SegFault in interactive mode when cursor is over a non-ASCII #41173

Closed
theigel mannequin opened this issue Nov 15, 2004 · 9 comments
Closed

SegFault in interactive mode when cursor is over a non-ASCII #41173

theigel mannequin opened this issue Nov 15, 2004 · 9 comments

Comments

@theigel
Copy link
Mannequin

theigel mannequin commented Nov 15, 2004

BPO 1066545
Nosy @mwhudson, @hyeshik

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2006-01-09.05:37:16.000>
created_at = <Date 2004-11-15.09:31:34.000>
labels = []
title = 'SegFault in interactive mode when cursor is over a non-ASCII'
updated_at = <Date 2006-01-09.05:37:16.000>
user = 'https://bugs.python.org/theigel'

bugs.python.org fields:

activity = <Date 2006-01-09.05:37:16.000>
actor = 'nnorwitz'
assignee = 'nnorwitz'
closed = True
closed_date = None
closer = None
components = ['None']
creation = <Date 2004-11-15.09:31:34.000>
creator = 'theigel'
dependencies = []
files = []
hgrepos = []
issue_num = 1066545
keywords = []
message_count = 9.0
messages = ['23134', '23135', '23136', '23137', '23138', '23139', '23140', '23141', '23142']
nosy_count = 4.0
nosy_names = ['mwh', 'nnorwitz', 'hyeshik.chang', 'theigel']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1066545'
versions = ['Python 2.3']

@theigel
Copy link
Mannequin Author

theigel mannequin commented Nov 15, 2004

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 = 'GB> 70 G5@B'

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.

@theigel theigel mannequin closed this as completed Nov 15, 2004
@theigel theigel mannequin assigned nnorwitz Nov 15, 2004
@theigel theigel mannequin closed this as completed Nov 15, 2004
@theigel theigel mannequin assigned nnorwitz Nov 15, 2004
@mwhudson
Copy link

Logged In: YES
user_id=6656

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

@theigel
Copy link
Mannequin Author

theigel mannequin commented Nov 15, 2004

Logged In: YES
user_id=1151790

How can I find out readline version?

@mwhudson
Copy link

Logged In: YES
user_id=6656

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

rpm -q readline

should work.

@theigel
Copy link
Mannequin Author

theigel mannequin commented Nov 15, 2004

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.

@mwhudson
Copy link

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).

@hyeshik
Copy link
Contributor

hyeshik commented Nov 16, 2004

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

@nnorwitz
Copy link
Mannequin

nnorwitz mannequin commented Dec 19, 2005

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.

@nnorwitz
Copy link
Mannequin

nnorwitz mannequin commented Jan 9, 2006

Logged In: YES
user_id=33168

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

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants