[New-bugs-announce] [issue45838] Incorrect line numbers in GDB Python backtraces [3.9]
Sam Gross
report at bugs.python.org
Thu Nov 18 14:08:45 EST 2021
New submission from Sam Gross <colesbury at gmail.com>:
Starting in Python 3.6 the line numbers table contains a *signed* byte indicating line delta. The calculation in Tools/gdb/libpython.py was not updated to handle signed bytes leading to incorrect line numbers when running "py-bt" (or printing frames) in GDB.
This issue does not exist in Python 3.10 or later because line number table was changed (and libpython.py was updated) in GH-23113.
----------
components: Demos and Tools
messages: 406560
nosy: colesbury
priority: normal
severity: normal
status: open
title: Incorrect line numbers in GDB Python backtraces [3.9]
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45838>
_______________________________________
More information about the New-bugs-announce
mailing list