-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Open
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
gdb ./python
r
Ctrl-C
py-bt
(gdb) py-bt
Traceback (most recent call first):
(unable to read python frame information)
3.14.0b1 is affected and 3.14.0a7 is not affected.
Also I bisected git and found 1f5682f. And reverting it onto 3.14.0 fixes py-bt:
(gdb) py-bt
Traceback (most recent call first):
File "/home/user/devel/cpython/Lib/_pyrepl/unix_console.py", line 439, in wait
or bool(self.pollob.poll(timeout))
File "/home/user/devel/cpython/Lib/_pyrepl/reader.py", line 703, in handle1
self.console.wait(100)
File "/home/user/devel/cpython/Lib/_pyrepl/reader.py", line 748, in readline
self.handle1()
File "/home/user/devel/cpython/Lib/_pyrepl/readline.py", line 395, in multiline_input
return reader.readline()
File "/home/user/devel/cpython/Lib/_pyrepl/simple_interact.py", line 143, in run_multiline_interactive_console
statement = multiline_input(more_lines, ps1, ps2)
File "/home/user/devel/cpython/Lib/_pyrepl/main.py", line 58, in interactive_console
run_multiline_interactive_console(console)
This can be confirmed by building https://github.com/cielavenir/cpython/commits/3.14.0-pybt .
However I don't know why "reenabling autovectorization" fixes py-bt.
There is a similar report #127147 but this issue happens without --enable-optimizations.
Tested on Debian 13, GCC 14
CPython versions tested on:
3.14
Operating systems tested on:
Linux
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error