← Back to team overview

touch-packages team mailing list archive

[Bug 1426716] [NEW] Using Pdb for Python causes a segmentation fault in readline

 

Public bug reported:

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
ProcVersionSignature: Ubuntu 3.16.0-31.41-generic 3.16.7-ckt5
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)

** Affects: python2.7 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug utopic

** Attachment added: "Crash in python/pdb running in gdb"
   https://bugs.launchpad.net/bugs/1426716/+attachment/4330578/+files/python_pdb_readline_crash.txt

** Package changed: python-defaults (Ubuntu) => python2.7 (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1426716

Title:
  Using Pdb for Python causes a segmentation fault in readline

Status in python2.7 package in Ubuntu:
  New

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
  ProcVersionSignature: Ubuntu 3.16.0-31.41-generic 3.16.7-ckt5
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1426716/+subscriptions


Follow ups

References