René's URL Explorer Experiment


Title: gdb `py-bt` is no more compatible with Python 3.13+ · Issue #142095 · python/cpython · GitHub

Open Graph Title: gdb `py-bt` is no more compatible with Python 3.13+ · Issue #142095 · python/cpython

X Title: gdb `py-bt` is no more compatible with Python 3.13+ · Issue #142095 · python/cpython

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. A...

Open Graph 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. ...

X 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. ...

Opengraph URL: https://github.com/python/cpython/issues/142095

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"gdb `py-bt` is no more compatible with Python 3.13+","articleBody":"# Bug report\n\n### Bug description:\n\n```\ngdb ./python\nr\nCtrl-C\npy-bt\n```\n\n```\n(gdb) py-bt\nTraceback (most recent call first):\n  (unable to read python frame information)\n```\n\n3.14.0b1 is affected and 3.14.0a7 is not affected.\n\nAlso I bisected git and found 1f5682f3a27516833f7c317707dd359280dba6e7. And reverting it onto 3.14.0 fixes py-bt:\n\n```\n(gdb) py-bt\nTraceback (most recent call first):\n  File \"/home/user/devel/cpython/Lib/_pyrepl/unix_console.py\", line 439, in wait\n    or bool(self.pollob.poll(timeout))\n  File \"/home/user/devel/cpython/Lib/_pyrepl/reader.py\", line 703, in handle1\n    self.console.wait(100)\n  File \"/home/user/devel/cpython/Lib/_pyrepl/reader.py\", line 748, in readline\n    self.handle1()\n  File \"/home/user/devel/cpython/Lib/_pyrepl/readline.py\", line 395, in multiline_input\n    return reader.readline()\n  File \"/home/user/devel/cpython/Lib/_pyrepl/simple_interact.py\", line 143, in run_multiline_interactive_console\n    statement = multiline_input(more_lines, ps1, ps2)\n  File \"/home/user/devel/cpython/Lib/_pyrepl/main.py\", line 58, in interactive_console\n    run_multiline_interactive_console(console)\n```\n\nThis can be confirmed by building https://github.com/cielavenir/cpython/commits/3.14.0-pybt .\n\nHowever I don't know why \"reenabling autovectorization\" fixes py-bt.\n\nThere is a similar report https://github.com/python/cpython/issues/127147 but this issue happens without `--enable-optimizations`.\n\nTested on Debian 13, GCC 14\n\n### CPython versions tested on:\n\n3.14\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-142941\n* gh-143371\n* gh-143566\n* gh-143567\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/cielavenir","@type":"Person","name":"cielavenir"},"datePublished":"2025-11-29T16:18:19Z","url":"https://github.com/python/cpython/issues/142095"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c03b8733-ee76-b643-ca5f-018b0105ee85
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB406:3CBB3E:396814D:4926A43:6B0241C2
html-safe-nonce7984bb61f1674903a8592dc0437b5e9b3843fb00e8bbf0c47a6026c44e4e1241
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDA2OjNDQkIzRTozOTY4MTREOjQ5MjZBNDM6NkIwMjQxQzIiLCJ2aXNpdG9yX2lkIjoiNzA5NjI5MTU3MTYzODExMjY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac75056b7aa547bd70ff6a734f0e3b1a2fee8146435203b7256eef1c300cfdfc92
hovercard-subject-tagissue:3676893105
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/142095/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bcae24117fbc53db1fc74256d869ae43739c51abf9005e8482e8e854f7980dda/python/cpython/issues/142095
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bcae24117fbc53db1fc74256d869ae43739c51abf9005e8482e8e854f7980dda/python/cpython/issues/142095
og:image:altBug 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. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecielavenir
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/142095#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F142095
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F142095
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/142095
Reloadhttps://github.com/python/cpython/issues/142095
Reloadhttps://github.com/python/cpython/issues/142095
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/142095
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/142095
gdb py-bt is no more compatible with Python 3.13+https://github.com/python/cpython/issues/142095#top
3.13only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22
3.14bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22
3.15bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/cielavenir
cielavenirhttps://github.com/cielavenir
on Nov 29, 2025https://github.com/python/cpython/issues/142095#issue-3676893105
1f5682fhttps://github.com/python/cpython/commit/1f5682f3a27516833f7c317707dd359280dba6e7
https://github.com/cielavenir/cpython/commits/3.14.0-pybthttps://github.com/cielavenir/cpython/commits/3.14.0-pybt
#127147https://github.com/python/cpython/issues/127147
gh-142095: Add py-bt-tss command to python-gdb.py #142941https://github.com/python/cpython/pull/142941
gh-142095: Use thread local frame info in py-bt and py-bt-full when available #143371https://github.com/python/cpython/pull/143371
[3.14] gh-142095: Use thread local frame info in py-bt and py-bt-full when available (gh-143371) #143566https://github.com/python/cpython/pull/143566
[3.13] gh-142095: Use thread local frame info in py-bt and py-bt-full when available (gh-143371) #143567https://github.com/python/cpython/pull/143567
Nexthttps://github.com/python/cpython/issues/142095?timeline_page=1
cielavenirhttps://github.com/cielavenir
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Nov 29, 2025https://github.com/python/cpython/issues/142095#event-21252437101
StanFromIrelandhttps://github.com/StanFromIreland
[3.13] gdb py-bt does not work #142096https://github.com/python/cpython/issues/142096
on Nov 29, 2025https://github.com/python/cpython/issues/142095#event-21252507350
https://github.com/cielavenir
cielavenirhttps://github.com/cielavenir
on Nov 29, 2025https://github.com/python/cpython/issues/142095#issuecomment-3591795699
5646f6fhttps://github.com/python/cpython/commit/5646f6f73964a85eaf4757cb4c89eacb00a1670d
https://github.com/cielavenir/cpython/tree/3.13.9-pybthttps://github.com/cielavenir/cpython/tree/3.13.9-pybt
picnixzhttps://github.com/picnixz
on Nov 29, 2025https://github.com/python/cpython/issues/142095#event-21252604242
picnixzhttps://github.com/picnixz
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
3.13only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22
3.14bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22
3.15bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22
on Nov 29, 2025https://github.com/python/cpython/issues/142095#event-21252604746
https://github.com/mpage
mpagehttps://github.com/mpage
on Nov 30, 2025https://github.com/python/cpython/issues/142095#issuecomment-3592065403
cpython/Tools/gdb/libpython.pyhttps://github.com/python/cpython/blob/db098a475a47b16d25c88d95dbcf0c6572c68576/Tools/gdb/libpython.py#L1802-L1805
db098a4https://github.com/python/cpython/commit/db098a475a47b16d25c88d95dbcf0c6572c68576
recommendedhttps://docs.python.org/3/howto/gdb_helpers.html#using-the-debug-build-and-development-mode
works fine for me on debian 13/gcc 14https://gist.github.com/mpage/22abd41d0c5a29735a727e8903cfa723
https://github.com/cielavenir
cielavenirhttps://github.com/cielavenir
on Dec 1, 2025https://github.com/python/cpython/issues/142095#issuecomment-3594706238
https://github.com/mpage
mpagehttps://github.com/mpage
on Dec 2, 2025https://github.com/python/cpython/issues/142095#issuecomment-3599659015
cpython/Python/pystate.chttps://github.com/python/cpython/blob/eb892868b31322d7cf271bc25923e14b1f67ae38/Python/pystate.c#L75-L77
eb89286https://github.com/python/cpython/commit/eb892868b31322d7cf271bc25923e14b1f67ae38
https://github.com/cielavenir
cielavenirhttps://github.com/cielavenir
on Dec 2, 2025https://github.com/python/cpython/issues/142095#issuecomment-3599792322
@mpagehttps://github.com/mpage
cielavenirhttps://github.com/cielavenir
on Dec 2, 2025https://github.com/python/cpython/issues/142095#event-21293260286
Use mpage's gdb.py impl python#142095 (comment)https://github.com/cielavenir/cpython/commit/0750962dcd33c140069c47dd28342bbed452958a
python#142095 (comment)https://github.com/python/cpython/issues/142095#issuecomment-3599659015
0750962https://github.com/cielavenir/cpython/commit/0750962dcd33c140069c47dd28342bbed452958a
https://github.com/cielavenir
cielavenirhttps://github.com/cielavenir
on Dec 2, 2025https://github.com/python/cpython/issues/142095#issuecomment-3599903808
b8998fehttps://github.com/python/cpython/commit/b8998fe2d8249565bf30ce6075ed678e1643f2a4
https://github.com/cielavenir/cpython/tree/3.14.0-updategdbhttps://github.com/cielavenir/cpython/tree/3.14.0-updategdb
https://github.com/cielavenir
cielavenirhttps://github.com/cielavenir
on Dec 2, 2025https://github.com/python/cpython/issues/142095#issuecomment-3599907961
b8998fehttps://github.com/python/cpython/commit/b8998fe2d8249565bf30ce6075ed678e1643f2a4
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Dec 18, 2025https://github.com/python/cpython/issues/142095#issuecomment-3670674631
#142941https://github.com/python/cpython/pull/142941
colesburyhttps://github.com/colesbury
on Jan 2, 2026https://github.com/python/cpython/issues/142095#event-21829444060
Merge branch 'gdb' into pythongh-142095-tsshttps://github.com/colesbury/cpython/commit/1e46c7f3c6cf143e11208d3ab152433a583a31a7
pythongh-142095https://github.com/python/cpython/issues/142095
1e46c7fhttps://github.com/colesbury/cpython/commit/1e46c7f3c6cf143e11208d3ab152433a583a31a7
pythongh-142095: Add py-bt-tss command to python-gdb.pyhttps://github.com/colesbury/cpython/commit/5072ec07f4c5cd9d8d02e792989b255b3c79e3ee
pythongh-142095https://github.com/python/cpython/issues/142095
5072ec0https://github.com/colesbury/cpython/commit/5072ec07f4c5cd9d8d02e792989b255b3c79e3ee
https://github.com/colesbury
colesburyhttps://github.com/colesbury
on Jan 2, 2026https://github.com/python/cpython/issues/142095#issuecomment-3706126585
@vstinnerhttps://github.com/vstinner
gh-142095: Use thread local frame info in py-bt and py-bt-full when available #143371https://github.com/python/cpython/pull/143371
https://github.com/cielavenir
cielavenirhttps://github.com/cielavenir
on Jan 3, 2026https://github.com/python/cpython/issues/142095#issuecomment-3707244408
@colesburyhttps://github.com/colesbury
cielavenir@21b8377https://github.com/cielavenir/cpython/commit/21b837798dee991c7728b848855991052619bed8
https://github.com/cielavenir
cielavenirhttps://github.com/cielavenir
on Jan 3, 2026https://github.com/python/cpython/issues/142095#issuecomment-3707248113
https://github.com/colesbury
colesburyhttps://github.com/colesbury
on Jan 5, 2026https://github.com/python/cpython/issues/142095#issuecomment-3711464430
@cielavenirhttps://github.com/cielavenir
colesburyhttps://github.com/colesbury
on Jan 8, 2026https://github.com/python/cpython/issues/142095#event-21924450408
gh-142095: Use thread local frame info in `py-bt` and `py-bt-full` wh…https://github.com/python/cpython/commit/49c3b0a67a77bb42e736cea7dcbc1aa8fa704074
gh-142095https://github.com/python/cpython/issues/142095
49c3b0ahttps://github.com/python/cpython/commit/49c3b0a67a77bb42e736cea7dcbc1aa8fa704074
miss-islingtonhttps://github.com/miss-islington
on Jan 8, 2026https://github.com/python/cpython/issues/142095#event-21924452959
pythongh-142095: Use thread local frame info in `py-bt` and `py-bt-fu…https://github.com/miss-islington/cpython/commit/99533894af6ca54e76d3a2ab7707a880b8df0a0e
pythongh-142095https://github.com/python/cpython/issues/142095
9953389https://github.com/miss-islington/cpython/commit/99533894af6ca54e76d3a2ab7707a880b8df0a0e
colesburyhttps://github.com/colesbury
on Jan 8, 2026https://github.com/python/cpython/issues/142095#event-21924521643
[3.13] pythongh-142095: Use thread local frame info in `py-bt` and `p…https://github.com/colesbury/cpython/commit/c073a869f2734794b3a5017438ec796722f970f5
pythongh-142095https://github.com/python/cpython/issues/142095
c073a86https://github.com/colesbury/cpython/commit/c073a869f2734794b3a5017438ec796722f970f5
[3.14] gh-142095: Use thread local frame info in `py-bt` and `py-bt-f…https://github.com/python/cpython/commit/0f02dbe4ab5605dafef150000bdc5a94ad44b3cf
gh-142095https://github.com/python/cpython/issues/142095
0f02dbehttps://github.com/python/cpython/commit/0f02dbe4ab5605dafef150000bdc5a94ad44b3cf
[3.13] gh-142095: Use thread local frame info in `py-bt` and `py-bt-f…https://github.com/python/cpython/commit/a4a33ff71db31718b7b6ba3f8efafdf1c9e4cd15
gh-142095https://github.com/python/cpython/issues/142095
a4a33ffhttps://github.com/python/cpython/commit/a4a33ff71db31718b7b6ba3f8efafdf1c9e4cd15
colesburyhttps://github.com/colesbury
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 8, 2026https://github.com/python/cpython/issues/142095#event-21928832255
reidenonghttps://github.com/reidenong
on Jan 12, 2026https://github.com/python/cpython/issues/142095#event-21999447829
pythongh-142095: Use thread local frame info in `py-bt` and `py-bt-fu…https://github.com/reidenong/cpython/commit/d2aad48543d345899688a1fa58b5f2dd23ec98af
pythongh-142095https://github.com/python/cpython/issues/142095
d2aad48https://github.com/reidenong/cpython/commit/d2aad48543d345899688a1fa58b5f2dd23ec98af
thunder-codinghttps://github.com/thunder-coding
on Feb 15, 2026https://github.com/python/cpython/issues/142095#event-22797344572
pythongh-142095: Use thread local frame info in `py-bt` and `py-bt-fu…https://github.com/thunder-coding/cpython/commit/14771e64de497309462c8cecedd5c585fca7cda9
pythongh-142095https://github.com/python/cpython/issues/142095
14771e6https://github.com/thunder-coding/cpython/commit/14771e64de497309462c8cecedd5c585fca7cda9
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/142095
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/142095
3.13only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22
3.14bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22
3.15bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.