René's URL Explorer Experiment


Title: GDB extensions fails with optimized 3.13 due to cframe removal · Issue #127147 · python/cpython · GitHub

Open Graph Title: GDB extensions fails with optimized 3.13 due to cframe removal · Issue #127147 · python/cpython

X Title: GDB extensions fails with optimized 3.13 due to cframe removal · Issue #127147 · python/cpython

Description: Bug report Bug description: When using the python gdb extention python-gdb.py on an optimized python 3.13 installation, gdb shows no backtrace: Reading symbols from .pyenv/versions/3.13.0/bin/python... Attaching to program: .pyenv/versio...

Open Graph Description: Bug report Bug description: When using the python gdb extention python-gdb.py on an optimized python 3.13 installation, gdb shows no backtrace: Reading symbols from .pyenv/versions/3.13.0/bin/pytho...

X Description: Bug report Bug description: When using the python gdb extention python-gdb.py on an optimized python 3.13 installation, gdb shows no backtrace: Reading symbols from .pyenv/versions/3.13.0/bin/pytho...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"GDB extensions fails with optimized 3.13 due to cframe removal","articleBody":"# Bug report\n\n### Bug description:\n\nWhen using the [python gdb extention `python-gdb.py`](https://docs.python.org/3/howto/gdb_helpers.html) on an optimized python 3.13 installation, gdb shows no backtrace:\n\n```\nReading symbols from .pyenv/versions/3.13.0/bin/python...\nAttaching to program: .pyenv/versions/3.13.0/bin/python, process 53537\nReading symbols from .pyenv/versions/3.13.0/lib/libpython3.13.so.1.0...\nReading symbols from /lib64/libpthread.so.0...\n(No debugging symbols found in /lib64/libpthread.so.0)\nReading symbols from /lib64/libdl.so.2...\n(No debugging symbols found in /lib64/libdl.so.2)\nReading symbols from /lib64/libutil.so.1...\n(No debugging symbols found in /lib64/libutil.so.1)\nReading symbols from /lib64/libm.so.6...\n(No debugging symbols found in /lib64/libm.so.6)\nReading symbols from /lib64/libc.so.6...\n(No debugging symbols found in /lib64/libc.so.6)\nReading symbols from /lib64/ld-linux-x86-64.so.2...\n(No debugging symbols found in /lib64/ld-linux-x86-64.so.2)\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/readline.cpython-313-x86_64-linux-gnu.so...\nReading symbols from /lib64/libreadline.so.7...\n(No debugging symbols found in /lib64/libreadline.so.7)\nReading symbols from /lib64/libtinfo.so.6...\n(No debugging symbols found in /lib64/libtinfo.so.6)\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/_opcode.cpython-313-x86_64-linux-gnu.so...\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/unicodedata.cpython-313-x86_64-linux-gnu.so...\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/select.cpython-313-x86_64-linux-gnu.so...\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/_struct.cpython-313-x86_64-linux-gnu.so...\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/termios.cpython-313-x86_64-linux-gnu.so...\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/fcntl.cpython-313-x86_64-linux-gnu.so...\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/_curses.cpython-313-x86_64-linux-gnu.so...\nReading symbols from /lib64/libncursesw.so.6...\n(No debugging symbols found in /lib64/libncursesw.so.6)\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library \"/lib64/libthread_db.so.1\".\n0x00007f798865ea53 in poll () from /lib64/libc.so.6\n--Type \u003cRET> for more, q to quit, c to continue without paging--\nMissing separate debuginfos, use: zypper install glibc-debuginfo-2.31-150300.89.2.x86_64 libncurses6-debuginfo-6.1-150000.5.27.1.x86_64 libreadline7-debuginfo-7.0-150400.27.3.2.x86_64\n(gdb) py-bt\nTraceback (most recent call first):\n  (unable to read python frame information)\n  \u003cbuilt-in method exec of module object at remote 0x7f7988499800>\n  (unable to read python frame information)\n```\n\nIf the same setup is used but python is compiled in non-optimized mode (just don't set the `CC` and `PYTHON_CONFIGURE_OPTS` env variable), the backtrace works as expected. Same applies for python 3.12 and lower\n\n```\nReading symbols from .pyenv/versions/3.13.0/bin/python...\nAttaching to program: .pyenv/versions/3.13.0/bin/python, process 79951\nReading symbols from .pyenv/versions/3.13.0/lib/libpython3.13.so.1.0...\nReading symbols from /lib64/libpthread.so.0...\n(No debugging symbols found in /lib64/libpthread.so.0)\nReading symbols from /lib64/libdl.so.2...\n(No debugging symbols found in /lib64/libdl.so.2)\nReading symbols from /lib64/libutil.so.1...\n(No debugging symbols found in /lib64/libutil.so.1)\nReading symbols from /lib64/libm.so.6...\n(No debugging symbols found in /lib64/libm.so.6)\nReading symbols from /lib64/libc.so.6...\n(No debugging symbols found in /lib64/libc.so.6)\nReading symbols from /lib64/ld-linux-x86-64.so.2...\n(No debugging symbols found in /lib64/ld-linux-x86-64.so.2)\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/readline.cpython-313-x86_64-linux-gnu.so...\nReading symbols from /lib64/libreadline.so.7...\n(No debugging symbols found in /lib64/libreadline.so.7)\nReading symbols from /lib64/libtinfo.so.6...\n(No debugging symbols found in /lib64/libtinfo.so.6)\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/_opcode.cpython-313-x86_64-linux-gnu.so...\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/unicodedata.cpython-313-x86_64-linux-gnu.so...\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/select.cpython-313-x86_64-linux-gnu.so...\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/_struct.cpython-313-x86_64-linux-gnu.so...\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/termios.cpython-313-x86_64-linux-gnu.so...\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/fcntl.cpython-313-x86_64-linux-gnu.so...\nReading symbols from .pyenv/versions/3.13.0/lib/python3.13/lib-dynload/_curses.cpython-313-x86_64-linux-gnu.so...\nReading symbols from /lib64/libncursesw.so.6...\n(No debugging symbols found in /lib64/libncursesw.so.6)\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library \"/lib64/libthread_db.so.1\".\n0x00007f947f668a53 in poll () from /lib64/libc.so.6\n--Type \u003cRET> for more, q to quit, c to continue without paging--\nMissing separate debuginfos, use: zypper install glibc-debuginfo-2.31-150300.89.2.x86_64 libncurses6-debuginfo-6.1-150000.5.27.1.x86_64 libreadline7-debuginfo-7.0-150400.27.3.2.x86_64\n(gdb) py-bt\nTraceback (most recent call first):\n  File \".pyenv/versions/3.13.0/lib/python3.13/_pyrepl/unix_console.py\", line 426, in wait\n    or bool(self.pollob.poll(timeout))\n  File \".pyenv/versions/3.13.0/lib/python3.13/_pyrepl/reader.py\", line 756, in handle1\n    self.console.wait(100)\n  File \".pyenv/versions/3.13.0/lib/python3.13/_pyrepl/reader.py\", line 801, in readline\n    self.handle1()\n  File \".pyenv/versions/3.13.0/lib/python3.13/_pyrepl/readline.py\", line 389, in multiline_input\n    return reader.readline()\n  File \".pyenv/versions/3.13.0/lib/python3.13/_pyrepl/simple_interact.py\", line 151, in run_multiline_interactive_console\n    statement = multiline_input(more_lines, ps1, ps2)\n  File \".pyenv/versions/3.13.0/lib/python3.13/_pyrepl/main.py\", line 59, in interactive_console\n    run_multiline_interactive_console(console)\n  File \".pyenv/versions/3.13.0/lib/python3.13/_pyrepl/__main__.py\", line 6, in \u003cmodule>\n    __pyrepl_interactive_console()\n  \u003cbuilt-in method exec of module object at remote 0x7f947f4a5800>\n  File \"\u003cfrozen runpy>\", line 88, in _run_code\n  File \"\u003cfrozen runpy>\", line 198, in _run_module_as_main\n```\n\n**Steps to reproduce**\n1. install pyenv incl. all OS packages which are needed\n2. install gcc12\n3. `export CC=\"gcc-12\"`\n4. `export PYTHON_CONFIGURE_OPTS=\"--enable-shared --with-lto --enable-optimizations\"`\n5. `pyenv install 3.13.0`\n6. Open a new python3.13 shell using the just installed python and execute the following commands\n6.1. `import os`\n6.2. `os.getpid()`\n6.3. `while True: pass`\n7. Switch to another shell and execute `gdb -q \u003cpath-to-pyenv>/versions/3.13.0/bin/python -p \u003cpid>`\n8. Wait till gdb spins up and execute `py-bt`\n\nOS: SUSE Linux Enterprise Server 15 SP4\n\n\n\n\n### CPython versions tested on:\n\n3.13\n\n### Operating systems tested on:\n\nLinux","author":{"url":"https://github.com/kasium","@type":"Person","name":"kasium"},"datePublished":"2024-11-22T12:09:14Z","url":"https://github.com/python/cpython/issues/127147"}

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:7337e17c-682d-ee9a-80e3-c71587582bff
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD99E:158DF1:225AC17:2D2A0BB:6B0245C6
html-safe-nonce5d68c9f2c0425c4d6f0b2ab12fa78feafb858dae6ef7c992d7aaf42f9fd75dcd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTlFOjE1OERGMToyMjVBQzE3OjJEMkEwQkI6NkIwMjQ1QzYiLCJ2aXNpdG9yX2lkIjoiODEwNjIwMjQxNzM0MDc2MTU0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac326f983c41d10097ba0b48278fc363edfae20889edccde690003f9d80f0695bf
hovercard-subject-tagissue:2683004811
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/127147/issue_layout
twitter:imagehttps://opengraph.githubassets.com/894b7ba0c490e6a3a53b128cbbc4fb412111d0ecabc02c1fee25dfc47907aa14/python/cpython/issues/127147
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/894b7ba0c490e6a3a53b128cbbc4fb412111d0ecabc02c1fee25dfc47907aa14/python/cpython/issues/127147
og:image:altBug report Bug description: When using the python gdb extention python-gdb.py on an optimized python 3.13 installation, gdb shows no backtrace: Reading symbols from .pyenv/versions/3.13.0/bin/pytho...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekasium
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/127147#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F127147
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%2F127147
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/127147
Reloadhttps://github.com/python/cpython/issues/127147
Reloadhttps://github.com/python/cpython/issues/127147
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/127147
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/127147
GDB extensions fails with optimized 3.13 due to cframe removalhttps://github.com/python/cpython/issues/127147#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
triagedThe issue has been accepted as valid by a triager.https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22triaged%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/kasium
kasiumhttps://github.com/kasium
on Nov 22, 2024https://github.com/python/cpython/issues/127147#issue-2683004811
python gdb extention python-gdb.pyhttps://docs.python.org/3/howto/gdb_helpers.html
kasiumhttps://github.com/kasium
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Nov 22, 2024https://github.com/python/cpython/issues/127147#event-15396665778
kasiumhttps://github.com/kasium
on Jan 9, 2025https://github.com/python/cpython/issues/127147#event-15863585125
https://github.com/kasium
kasiumhttps://github.com/kasium
on Jan 9, 2025https://github.com/python/cpython/issues/127147#issuecomment-2579327124
#108036https://github.com/python/cpython/pull/108036
picnixzhttps://github.com/picnixz
triagedThe issue has been accepted as valid by a triager.https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22triaged%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
on Feb 10, 2025https://github.com/python/cpython/issues/127147#event-16256176090
https://github.com/picnixz
picnixzhttps://github.com/picnixz
on Feb 10, 2025https://github.com/python/cpython/issues/127147#issuecomment-2649420383
@gaogaotiantianhttps://github.com/gaogaotiantian
https://github.com/gaogaotiantian
gaogaotiantianhttps://github.com/gaogaotiantian
on Feb 10, 2025https://github.com/python/cpython/issues/127147#issuecomment-2649438913
@markshannonhttps://github.com/markshannon
https://github.com/markshannon
markshannonhttps://github.com/markshannon
on Feb 11, 2025https://github.com/python/cpython/issues/127147#issuecomment-2650360420
docshttps://docs.python.org/3/howto/gdb_helpers.html#using-the-debug-build-and-development-mode
https://github.com/cielavenir
cielavenirhttps://github.com/cielavenir
on Dec 3, 2025https://github.com/python/cpython/issues/127147#issuecomment-3604533579
#142095 (comment)https://github.com/python/cpython/issues/142095#issuecomment-3599659015
@mpagehttps://github.com/mpage
b8998fehttps://github.com/python/cpython/commit/b8998fe2d8249565bf30ce6075ed678e1643f2a4
https://github.com/cielavenir
cielavenirhttps://github.com/cielavenir
on Jan 9, 2026https://github.com/python/cpython/issues/127147#issuecomment-3729209791
@colesburyhttps://github.com/colesbury
colesburyhttps://github.com/colesbury
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 9, 2026https://github.com/python/cpython/issues/127147#event-21950263587
https://github.com/colesbury
colesburyhttps://github.com/colesbury
on Jan 9, 2026https://github.com/python/cpython/issues/127147#issuecomment-3729439912
https://github.com/kasium
kasiumhttps://github.com/kasium
on Jan 12, 2026https://github.com/python/cpython/issues/127147#issuecomment-3738902633
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/127147
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/127147
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
triagedThe issue has been accepted as valid by a triager.https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22triaged%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.