[issue36114] test_multiprocessing_spawn: WithProcessesTestSharedMemory dumps core in AMD64 FreeBSD CURRENT Shared 3.x
STINNER Victor
report at bugs.python.org
Mon Mar 4 06:30:12 EST 2019
STINNER Victor <vstinner at redhat.com> added the comment:
Sometimes, I can reproduce the crash using:
./python -m test --matchfile=bisect5 test_multiprocessing_spawn --fail-env-changed -F
Using this file:
test.test_multiprocessing_spawn.WithThreadsTestQueue.test_timeout
test.test_multiprocessing_spawn.WithProcessesTestBarrier.test_default_timeout
test.test_multiprocessing_spawn.WithThreadsTestManagerRestart.test_rapid_restart
test.test_multiprocessing_spawn.WithProcessesTestPool.test_release_task_refs
test.test_multiprocessing_spawn.WithManagerTestLock.test_rlock
It seems like the following test is enough to creates a coredump:
test.test_multiprocessing_spawn.WithThreadsTestManagerRestart.test_rapid_restart
Problem: it's really hard to write a *reliable* script/method to trigger the crash. This race condition is very well hidden!
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36114>
_______________________________________
More information about the Python-bugs-list
mailing list