FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-158929: Fix subinterpreter thread safety issues in `syslog` by ZeroIntensity · Pull Request #159000 · python/cpython · GitHub

Repository navigation

gh-158929: Fix subinterpreter thread safety issues in syslog - #159000

Open
ZeroIntensity wants to merge 4 commits into
python:mainfrom
ZeroIntensity:syslog/subinterpreter-issues
Open

ZeroIntensity wants to merge 4 commits into
python:mainfrom
ZeroIntensity:syslog/subinterpreter-issues

Conversation

ZeroIntensity commented Oct 8, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

There were two issues here:

  1. The Py_XNewRef/Py_XDECREF allowed a subinterpreter to deallocate an object that belonged to the main interpreter, which resulted in a crash.
  2. The S_log_open reads and writes were non-atomic, despite being accessible concurrently from multiple interpreters.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes topic-subinterpreters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL