[issue900092] hotshot.stats.load fails with AssertionError

Amaury Forgeot d'Arc report at bugs.python.org
Wed Jul 1 15:45:29 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

I added some prints in the hotshot.stats.load function, this lead to
interesting things:

- first, the program seems to spawn subprocesses which trace themselves
in the same file.

- however, there is real issue when fork() is called on a traced
program: calls to _execvpe should not appear in the trace!
IMO PyOS_AfterFork should disable any trace or profile function.

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue900092>
_______________________________________


More information about the Python-bugs-list mailing list