Message211830
| Author |
vstinner |
| Recipients |
neologix, pitrou, sbt, vstinner |
| Date |
2014年02月21日.09:03:53 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1392973435.96.0.316031564004.issue20717@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The test test_4_daemon_threads() does crash randomly on the buildbot "x86 Windows Server 2003 [SB] 3.x". It may be an old bug which was not seen before because it was hidden by another bug (#19424 which is now fixed).
Charles-François Natali repeated that daemons threads can crash randomly at exit if they are waiting for a blocking call with the GIL released, and still use memory that is being freed by the main thread at exit.
http://buildbot.python.org/all/builders/x86%20Windows%20Server%202003%20%5BSB%5D%203.x/builds/2166/steps/test/logs/stdio
======================================================================
FAIL: test_4_daemon_threads (test.test_threading.ThreadJoinOnShutdown)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Data\buildslave\cpython3円.x.snakebite-win2k3r2sp2-x86\build\lib\test\test_threading.py", line 773, in test_4_daemon_threads
rc, out, err = assert_python_ok('-c', script)
File "E:\Data\buildslave\cpython3円.x.snakebite-win2k3r2sp2-x86\build\lib\test\script_helper.py", line 69, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "E:\Data\buildslave\cpython3円.x.snakebite-win2k3r2sp2-x86\build\lib\test\script_helper.py", line 55, in _assert_python
"stderr follows:\n%s" % (rc, err.decode('ascii', 'ignore')))
AssertionError: Process return code is 3221225477, stderr follows:
Related issues:
- #19424: _warnings: patch to avoid conversions from/to UTF-8
- #19442: Python crashes when a warning is emitted during shutdown
- #19466: Clear state of threads earlier in Python shutdown => my changes from this issue have been reverted |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年02月21日 09:03:56 | vstinner | set | recipients:
+ vstinner, pitrou, neologix, sbt |
| 2014年02月21日 09:03:55 | vstinner | set | messageid: <1392973435.96.0.316031564004.issue20717@psf.upfronthosting.co.za> |
| 2014年02月21日 09:03:55 | vstinner | link | issue20717 messages |
| 2014年02月21日 09:03:53 | vstinner | create |
|