[issue30320] test_eintr.test_sigwaitinfo(): race condition on AMD64 FreeBSD 10.x Shared 3.6

STINNER Victor report at bugs.python.org
Tue May 9 19:23:21 EDT 2017


STINNER Victor added the comment:

I checked manually in my FreeBSD CURRENT VM that:

* sigwaitinfo() and sigtimedwait() fail with EINTR and automatically restart the interrupted syscall
* running the test in a loop doesn't fail: I ran the test during 5 min in 10 shells (tests running 10 times in parallel) => no failure, the race condition seems to be gone. I hacked the test file to only run the sigwaitinfo() and sigtimedwait() unit tests.

----------

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


More information about the Python-bugs-list mailing list