-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
_pyrepl._minimal_curses.tigetstr
segfaults
#126456
Labels
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
topic-repl
Related to the interactive shell
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 5, 2024
ZeroIntensity
added
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
topic-repl
Related to the interactive shell
labels
Nov 6, 2024
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Nov 6, 2024
I wrote #126472 to fix it. |
vstinner
added a commit
that referenced
this issue
Nov 13, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 13, 2024
(cherry picked from commit b2bbdc5) Co-authored-by: Victor Stinner <[email protected]>
Fixed in the main branch, the backport to 3.13 will follow. Thanks for your bug report @devdanzin. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
topic-repl
Related to the interactive shell
type-crash
A hard crash of the interpreter, possibly with a core dump
Crash report
What happened?
Calling
tigetstr
from the_pyrepl._minimal_curses
module segfaults, on free-threading or normal builds:It happens in the return line of the function, on access of the
.value
attribute:cpython/Lib/_pyrepl/_minimal_curses.py
Lines 55 to 61 in 5e91684
Backtrace looks like:
This issue doesn't affect
curses.tigetstr
.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.0a1+ experimental free-threading build (heads/main-dirty:bfc1d2504c, Nov 4 2024, 07:55:58) [GCC 11.4.0]
Linked PRs
The text was updated successfully, but these errors were encountered: