Using Pdb for Python causes a segmentation fault in readline
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python2.7 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I am debugging a Python unit test using pdb. In my code I use the following:
import pdb
...
pdb.set_trace()
This drops me into a Pdb prompt (handled by readline).
When entering 'n' a few time to step I encounter a segmentation fault. Details and backtrace are in attached log file.
I tried using apport to report this, but apport keeps crashing while analysing the issue :-(
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: python 2.7.8-1
ProcVersionSign
Uname: Linux 3.16.0-31-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
CurrentDesktop: KDE
Date: Sat Feb 28 16:26:43 2015
InstallationDate: Installed on 2013-10-19 (497 days ago)
InstallationMedia: Xubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130822)
SourcePackage: python-defaults
UpgradeStatus: Upgraded to utopic on 2014-10-25 (126 days ago)
It might help if you were to also provide the code that you were trying to debug.