Comment 3 for bug 1426716

Revision history for this message
Rob van der Most (rzb) wrote :

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://<email address hidden>/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.