-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Failed assertion in _PyEval_EvalFrameDefault
: self_o != NULL
#132011
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
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-crash
A hard crash of the interpreter, possibly with a core dump
Comments
Here's a simplified test case that can be used in a PR: l = []
def lappend(l, x, y):
l.append((x, y))
try:
for x in range(3):
lappend(l, None, None)
except:
pass
lappend(list, None, None) |
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Apr 2, 2025
sobolevn
added a commit
that referenced
this issue
Apr 6, 2025
…32018) Co-authored-by: Victor Stinner <[email protected]> Co-authored-by: Peter Bierma <[email protected]>
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Apr 6, 2025
…imization (pythonGH-132018) (cherry picked from commit c0661df) Co-authored-by: sobolevn <[email protected]> Co-authored-by: Victor Stinner <[email protected]> Co-authored-by: Peter Bierma <[email protected]>
sobolevn
added a commit
that referenced
this issue
Apr 6, 2025
…ion (GH-132018) (#132161) * [3.13] gh-132011: Fix crash on invalid `CALL_LIST_APPEND` deoptimization (GH-132018) (cherry picked from commit c0661df) Co-authored-by: sobolevn <[email protected]> Co-authored-by: Victor Stinner <[email protected]> Co-authored-by: Peter Bierma <[email protected]>
seehwan
pushed a commit
to seehwan/cpython
that referenced
this issue
Apr 16, 2025
…on (python#132018) Co-authored-by: Victor Stinner <[email protected]> Co-authored-by: Peter Bierma <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-crash
A hard crash of the interpreter, possibly with a core dump
Crash report
What happened?
It's possible to make the interpreter exit with a failed assertion by running the following code:
Backtrace:
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
Python 3.14.0a6+ (heads/main:3a8cefba0b6, Apr 1 2025, 21:31:55) [GCC 11.4.0]
Linked PRs
CALL_LIST_APPEND
deoptimization #132018CALL_LIST_APPEND
deoptimization (GH-132018) #132161The text was updated successfully, but these errors were encountered: