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.
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 media/_ _init__ .py add before "class StaticMemorySource" (line 635): media/_ _init__ .py add in def seek() (line 649):
- In pyglet/
-- "import pdb"
- In pyglet/
-- "pdb.set_trace()"
Then run the unit tests: test_media
- python -m unittest tests.unit.
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.