[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2021-05-23 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2021-05-22 Thread David Edelsohn
Change by David Edelsohn : -- nosy: +David.Edelsohn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: > Fixed by > https://github.com/python/cpython/commit/a9f9687a7ce25e7c0c89f88f52db323104668ae0 Ooops, sorry. Only PR 19200 is fixed by this commit. But this issue is made of 3 bugs. I prefer to leave it open until the 3 bugs are fixed. --

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: Fixed by https://github.com/python/cpython/commit/a9f9687a7ce25e7c0c89f88f52db323104668ae0 -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2020-03-27 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18562 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19200 ___ Python tracker ___

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2020-03-27 Thread STINNER Victor
STINNER Victor added the comment: I created 3 follow-up issues: * bpo-40089: Add _at_fork_reinit() method to locks * bpo-40091: Crash in logging._after_at_fork_child_reinit_locks() * bpo-40092: Crash in _PyThreadState_DeleteExcept() at fork in the process child --

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: I worked around the logging crash. Then I got a second crash in _PyThreadState_DeleteExcept() called in the child process after a fork. PyThreadState_Clear() calls tstate->on_delete() which is release_sentinel() of Modules/_threadmodule.c. Problem: lock

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: Example of crash in master in a child process after os.fork(). The crash occurred in logging._releaseLock() called by logging._after_at_fork_child_reinit_locks(). Old issues about logging + fork * bpo-36533 (closed): logging regression with threading +

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: The master branch is also affected. -- versions: +Python 3.9 ___ Python tracker ___ ___

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2020-03-25 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/73/builds/208 --- Warning -- files was modified by test_threading Before: [] After: ['core'] 1 test altered the execution environment: test_threading --- The bug can be reproduced with: $ ./configure