-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
The interpreter crashes when specializing bound method calls on unbound objects #131998
Comments
Looks like a 3.14 regression. |
I can reproduce the crash on Python 3.13. |
Hmm, I couldn't. Let me double check. |
I can reproduce the crash on a Python 3.13 release build (PGO+LTO). I cannot reproduce the crash on a Python 3.13 debug build ( |
Ah, this doesn't occur on a 3.13.2 release build, so this will be a neat surprise in the upcoming release next week. |
The crash on Python 3.13.2 using the Fedora 41 package:
|
I can reproduce using that script on 3.13.2, but not the original one that @devdanzin provided. |
ob->ob_type
in _PyEval_EvalFrameDefault
Crash report
What happened?
The following code segfaults the interpreter:
(Edited by @ZeroIntensity) Smaller reproducer:
Backtrace:
Found using fusil by @vstinner.
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
NULL
dereference when using an unbound method descriptor in a specialized code path #132000The text was updated successfully, but these errors were encountered: