[issue14432] Bug in generator if the generator in created in a C thread
Adam Tomjack
report at bugs.python.org
Mon Apr 2 21:51:19 CEST 2012
Adam Tomjack <adam.tomjack at zuerchertech.com> added the comment:
For what it's worth, I think I've seen this bug in 2.6 and 2.5, using generators created in python threads, while profiling not tracing.
I'm creating generators in one python thread and storing them in a variable. In a different python thread I overwrite the variable, which garbage collects the generator. Sometimes it causes an interpreter crash. Other times, it seems to trigger a return event in the profiler, but it's associated with an incorrect thread. The thread in question is often (always?) in the profiler code, so it looks like the profiler is profiling itself.
----------
nosy: +adamtj
versions: +Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14432>
_______________________________________
More information about the Python-bugs-list
mailing list