-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
_interpreters.exec
with invalid parameters segfaults
#126654
Labels
extension-modules
C modules in the Modules dir
topic-subinterpreters
type-crash
A hard crash of the interpreter, possibly with a core dump
Comments
devdanzin
added
the
type-crash
A hard crash of the interpreter, possibly with a core dump
label
Nov 10, 2024
picnixz
added
extension-modules
C modules in the Modules dir
topic-subinterpreters
labels
Nov 10, 2024
I am on it! Thanks for the report. |
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Nov 11, 2024
kumaraditya303
pushed a commit
that referenced
this issue
Nov 11, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 11, 2024
…dule (pythonGH-126678) (cherry picked from commit 9fc2808) Co-authored-by: sobolevn <mail@sobolevn.me>
kumaraditya303
pushed a commit
that referenced
this issue
Nov 11, 2024
I think the fix missed this case: import _interpreters
_interpreters.exec(0, "1", {"\uFD7C\u5124\u7B91\u92E9\u1850\u39AA\u0DF2\uD82A\u2D68\uACAD\u92DE\u47C5\uFFD0\uDE0B\uAA9C\u2C17\\u6577\u4C92\uD37C": 0}) Should I open a new issue or can it be fixed here? |
Please, open a new one. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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?
The code below segfaults on non-debug builds and aborts on debug builds.
The abort looks like:
The backtrace of the segfault is:
Found using fusil by @vstinner.
CPython versions tested on:
3.13, CPython main branch
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
Python 3.14.0a1+ (heads/main:54c63a32d06, Nov 8 2024, 19:53:10) [GCC 11.4.0]
Linked PRs
_interpreters
module #126678_interpreters
module (GH-126678) #126681The text was updated successfully, but these errors were encountered: