-
-
Notifications
You must be signed in to change notification settings - Fork 32k
_interpreters.exec
with invalid dict as shared
segfaults
#127196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
3.13
bugs and security fixes
3.14
bugs and security fixes
extension-modules
C modules in the Modules dir
topic-subinterpreters
type-crash
A hard crash of the interpreter, possibly with a core dump
Comments
I think we just need to fix the assumption that |
sobolevn
added a commit
that referenced
this issue
Jan 9, 2025
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 9, 2025
…lid encodings (pythonGH-127220) (cherry picked from commit 087bb48) Co-authored-by: sobolevn <[email protected]>
Thank you @devdanzin for the report! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.13
bugs and security fixes
3.14
bugs and security fixes
extension-modules
C modules in the Modules dir
topic-subinterpreters
type-crash
A hard crash of the interpreter, possibly with a core dump
Uh oh!
There was an error while loading. Please reload this page.
Crash report
What happened?
Passing a dict with an invalid key as the
shared
parameter to_interpreters.exec
segfaults the interpreter (or aborts in a debug build):Backtrace:
The abort message is:
Related to #126654.
Found using fusil by @vstinner.
CPython versions tested on:
3.13, 3.14, CPython main branch
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
Python 3.14.0a2+ (heads/main:3c770e3f097, Nov 22 2024, 09:48:39) [GCC 11.4.0]
Linked PRs
_interpreters
, whenshared
had invalid encodings #127220_interpreters
, whenshared
had invalid encodings (GH-127220) #128689The text was updated successfully, but these errors were encountered: