← Back to team overview

touch-packages team mailing list archive

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

 

I attached a modified version of pyglet/media/__init__.py with the
changes mentioned in my previous comment. Just replace it after cloning
the repo.

** Attachment added: "Replacement for pyglet/media/__init__.py"
   https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1426716/+attachment/4333314/+files/__init__.py

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python2.7 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


References