-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
compiling an AST with an invalid TypeAlias causes a segmentation fault #109341
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.12
only security fixes
3.13
bugs and security fixes
topic-typing
type-crash
A hard crash of the interpreter, possibly with a core dump
Comments
I found a similar crash with the walrus:
That one should be backported further though so I'll fix it separately. |
JelleZijlstra
added a commit
to JelleZijlstra/cpython
that referenced
this issue
Sep 12, 2023
JelleZijlstra
added a commit
to JelleZijlstra/cpython
that referenced
this issue
Sep 12, 2023
I found the other issue (now #109351) by looking for assert()s in |
JelleZijlstra
added a commit
that referenced
this issue
Sep 13, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 13, 2023
…as (pythonGH-109349) (cherry picked from commit 987b4bc) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Yhg1s
pushed a commit
that referenced
this issue
Sep 14, 2023
Merged and backported, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.12
only security fixes
3.13
bugs and security fixes
topic-typing
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.
Bug report
Bug description:
The code for the following AST is:
compiling the AST for the given code results in a segmentation fault
output (Python 3.12.0rc2+):
Compiling the code gives the correct syntax error.
output (Python 3.12.0rc2+):
CPython versions tested on:
3.12
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: