Bug 1356140 - Typing produces unicode character literals
Summary: Typing produces unicode character literals
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lldb
Version: 27
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Dave Airlie
QA Contact: Fedora Extras Quality Assurance
URL: https://bugs.llvm.org/show_bug.cgi?id...
Whiteboard:
Depends On:
Blocks: 1479523
TreeView+ depends on / blocked
 
Reported: 2016-07-13 13:16 UTC by Nathaniel McCallum
Modified: 2017-12-05 04:40 UTC (History)
11 users (show)

Fixed In Version: lldb-3.8.0-3.fc25 lldb-3.8.0-3.fc24
Clone Of:
: 1479523 (view as bug list)
Environment:
Last Closed: 2017-12-05 04:40:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
.spec + upstream patch as a patch (4.77 KB, patch)
2017-07-11 20:53 UTC, Jan Kratochvil
no flags Details | Diff

Description Nathaniel McCallum 2016-07-13 13:16:44 UTC
$ lldb
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/lldb/embedded_interpreter.py", line 22, in <module>
    readline.parse_and_bind('bind ^I rl_complete')
AttributeError: 'module' object has no attribute 'parse_and_bind'
(lldb) \U+BD71\U+BD75\U+BD69\U+BD74
error: empty command

That is me attempting to type "quit" and hit enter. Since you can't type anything, the debugger is useless. You can't even exit without killing it.

The python traceback is caused by a local module named "readline" which conflicts with the global readline module. Even when fixing this issue, typing still doesn't work. I haven't researched further.

Comment 1 Jan Kurik 2016-07-26 04:02:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 2 Gabriel Schulhof 2016-09-27 08:39:07 UTC
This is also happening on 24.

I'm more interested in fixing the python crash, because I'm not seeing any Unicode characters when I type - though I can see how a messed-up readline library can cause that.

Comment 3 Nathaniel McCallum 2016-10-13 15:23:19 UTC
This is still occurring in rawhide.

Comment 4 Viktor Ashirov 2016-11-04 09:02:17 UTC
Upstream bug: https://llvm.org/bugs/show_bug.cgi?id=28898
Arch linux bug and discussion: https://bugs.archlinux.org/task/49974

I've disabled libedit (-DLLDB_DISABLE_LIBEDIT:BOOL=ON) and it solved this issue for me.

Comment 5 Fedora Update System 2016-11-14 21:31:26 UTC
lldb-3.8.0-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-55e0ee7ec1

Comment 6 Fedora Update System 2016-11-14 21:31:37 UTC
lldb-3.8.0-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c62e6cb739

Comment 7 Fedora Update System 2016-11-15 13:28:07 UTC
lldb-3.8.0-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-55e0ee7ec1

Comment 8 Fedora Update System 2016-11-16 10:24:28 UTC
lldb-3.8.0-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c62e6cb739

Comment 9 Fedora Update System 2017-01-05 20:20:56 UTC
lldb-3.8.0-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2017-01-06 04:03:53 UTC
lldb-3.8.0-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Adolfo 2017-01-15 20:44:22 UTC
Problem still persists in lldb-3.8.0-3.fc25.


[root@dell-m3800]# dnf install lldb
Última comprobación de caducidad de metadatos hecha hace 2:03:54, el Sun Jan 15 19:38:59 2017.
El paquete lldb-3.8.0-3.fc25.x86_64 ya se encuentra instalado, omitiendo.
Dependencias resueltas.
Nada por hacer.
¡Listo!


[root@dell-m3800]# lldb -v
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/lldb/embedded_interpreter.py", line 24, in <module>
    readline.parse_and_bind('tab: complete')
AttributeError: 'module' object has no attribute 'parse_and_bind'
lldb version 3.8.0 ( revision )

Comment 12 Hershal Bhave 2017-01-26 04:37:41 UTC
I'm also getting this issue with Fedora 24:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/lldb/embedded_interpreter.py", line 24, in <module>
    readline.parse_and_bind('tab: complete')
AttributeError: 'module' object has no attribute 'parse_and_bind'
lldb version 3.8.0 ( revision )

Comment 13 Jan Kratochvil 2017-07-11 20:53:32 UTC
Created attachment 1296467 [details]
.spec + upstream patch as a patch

Upstream has fixed it but it is post-4.0.1 so providing a backport:
https://bugs.llvm.org/show_bug.cgi?id=28898

Comment 14 Jan Kurik 2017-08-15 09:19:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 15 Tom Stellard 2017-12-05 04:40:14 UTC
The has been fixed in f26+.


Note You need to log in before you can comment on or make changes to this bug.