I tried creating a minimal test case, but did not succeed yet. I can reproduce with the following:
- Get Pyglet development branch: hg clone ssh://h...@bitbucket.org/pyglet/pyglet - In pyglet/media/__init__.py add before "class StaticMemorySource" (line 635): -- "import pdb" - In pyglet/media/__init__.py add in def seek() (line 649): -- "pdb.set_trace()" Then run the unit tests: - python -m unittest tests.unit.test_media Each time pdb is activated enter "n" a few times (max 5). If it does not crash enter "c" to skip to the next test case and repeat. Usually it segfaults in the 2nd or 3rd test case. It seems to happen easier if you do it slowly. I will still try to get a minimal test case for it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1426716 Title: Using Pdb for Python causes a segmentation fault in readline To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1426716/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs