29 Mar
2015
29 Mar
'15
5:31 p.m.
Hi Serhiy,
2015-03-28 17:40 GMT+01:00 Serhiy Storchaka
Just run tests with low memory limit.
(ulimit -v 60000; ./python -m test.regrtest -uall -v test_multiprocessing_spawn;)
test_io also hangs.
I confirm that some tests using threads hang under very low memory condition. At bootstrap, Python doesn't handle correctly all exceptions when starting a new thread. The "parent thread" waits until the "child thread" completes, which never occurs because the thread already completed. I don't think that it was my regression, it probably exists since Python 2 and maybe before. I'm not interested to touch this fragile part of Python. It's maybe easy to fix the issue, I don't know. Victor