Skip to content

[3.7] bpo-36533: Reinit logging.Handler locks on fork(). (GH-12704)#13170

Merged
gpshead merged 1 commit intopython:3.7from
gpshead:backport-64aa6d2-3.7
May 7, 2019
Merged

[3.7] bpo-36533: Reinit logging.Handler locks on fork(). (GH-12704)#13170
gpshead merged 1 commit intopython:3.7from
gpshead:backport-64aa6d2-3.7

Conversation

@gpshead
Copy link
Copy Markdown
Member

@gpshead gpshead commented May 7, 2019

Instead of attempting to acquire and release them all across fork
which was leading to deadlocks in some applications that had chained
their own handlers while holding multiple locks.
(cherry picked from commit 64aa6d2)

Co-authored-by: Gregory P. Smith greg@krypto.org [Google LLC]

https://bugs.python.org/issue36533

)

Instead of attempting to acquire and release them all across fork
which was leading to deadlocks in some applications that had chained
their own handlers while holding multiple locks.
(cherry picked from commit 64aa6d2)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
@bedevere-bot bedevere-bot added sprint type-bug An unexpected behavior, bug, or error labels May 7, 2019
@gpshead gpshead self-assigned this May 7, 2019
@gpshead gpshead merged commit 3b4b28e into python:3.7 May 7, 2019
@gpshead gpshead deleted the backport-64aa6d2-3.7 branch May 7, 2019 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sprint type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants