Crash in _curses when calling .initscr() after ignoring exception from .resizeterm() #122398
Labels
extension-modules
C modules in the Modules dir
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.
Crash report
What happened?
Running this test script segfaults on main, with the following backtrace.
$ ./python test.py
test.py:
Seems fixable by setting
initialised
toFALSE
in_curses_resizeterm_impl
for the error paths, not sure this is a valid fix:Found in pypy/pypy#4989.
CPython versions tested on:
3.11, CPython main branch
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
Python 3.14.0a0 (heads/main:9187484dd97, Jul 29 2024, 09:25:22) [GCC 11.4.0]
The text was updated successfully, but these errors were encountered: