_interpreters.exec
with invalid dict as shared
segfaults
#127196
Labels
3.13
bugs and security fixes
3.14
new features, 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
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 #127220The text was updated successfully, but these errors were encountered: