René's URL Explorer Experiment


Title: Segfault in `test_sampling_profiler` · Issue #142973 · python/cpython · GitHub

Open Graph Title: Segfault in `test_sampling_profiler` · Issue #142973 · python/cpython

X Title: Segfault in `test_sampling_profiler` · Issue #142973 · python/cpython

Description: Crash report What happened? A recent Buildbot run (AMD64 Debian root) saw a segfault in test_sampling_profiler: https://buildbot.python.org/#/builders/345/builds/12988 test_sampling_all_threads (test.test_profiling.test_sampling_profiler...

Open Graph Description: Crash report What happened? A recent Buildbot run (AMD64 Debian root) saw a segfault in test_sampling_profiler: https://buildbot.python.org/#/builders/345/builds/12988 test_sampling_all_threads (te...

X Description: Crash report What happened? A recent Buildbot run (AMD64 Debian root) saw a segfault in test_sampling_profiler: https://buildbot.python.org/#/builders/345/builds/12988 test_sampling_all_threads (te...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Segfault in `test_sampling_profiler`","articleBody":"# Crash report\n\n### What happened?\n\nA recent Buildbot run (AMD64 Debian root) saw a segfault in `test_sampling_profiler`: https://buildbot.python.org/#/builders/345/builds/12988\n\n```\ntest_sampling_all_threads (test.test_profiling.test_sampling_profiler.test_integration.TestSampleProfilerIntegration.test_sampling_all_threads) ... Fatal Python error: Segmentation fault\n\nCurrent thread 0x00007f85531fa740 [python] (most recent call first):\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/profiling/sampling/sample.py\", line 75 in sample\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/profiling/sampling/sample.py\", line 350 in sample\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_profiling/test_sampling_profiler/test_integration.py\", line 521 in test_sampling_all_threads\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/case.py\", line 613 in _callTestMethod\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/case.py\", line 667 in run\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/case.py\", line 723 in __call__\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/suite.py\", line 122 in run\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/suite.py\", line 84 in __call__\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/suite.py\", line 122 in run\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/suite.py\", line 84 in __call__\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/suite.py\", line 122 in run\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/suite.py\", line 84 in __call__\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/suite.py\", line 122 in run\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/suite.py\", line 84 in __call__\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/suite.py\", line 122 in run\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/suite.py\", line 84 in __call__\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/runner.py\", line 257 in run\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/single.py\", line 84 in _run_suite\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/single.py\", line 42 in run_unittest\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/single.py\", line 162 in test_func\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/single.py\", line 118 in regrtest_runner\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/single.py\", line 165 in _load_run_test\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/single.py\", line 210 in _runtest_env_changed_exc\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/single.py\", line 319 in _runtest\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/single.py\", line 348 in run_single_test\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/worker.py\", line 99 in worker_process\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/worker.py\", line 134 in main\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/worker.py\", line 138 in \u003cmodule>\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/runpy.py\", line 87 in _run_code\n  File \"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/runpy.py\", line 196 in _run_module_as_main\n\nCurrent thread's C stack trace (most recent call first):\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at _Py_DumpStack+0x33 [0x563947ed22d4]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x3285b2 [0x563947eea5b2]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x328caa [0x563947eeacaa]\n  Binary file \"/lib/x86_64-linux-gnu/libc.so.6\", at +0x3bfd0 [0x7f8553238fd0]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at _PyEval_EvalFrameDefault+0x5795 [0x563947e2bc9a]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x280c92 [0x563947e42c92]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x280e44 [0x563947e42e44]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at _PyFunction_Vectorcall+0x54 [0x563947cee2da]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x12f1c1 [0x563947cf11c1]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x12f326 [0x563947cf1326]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x12da86 [0x563947cefa86]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x12dd76 [0x563947cefd76]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at PyObject_Call+0x20 [0x563947cefdae]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at _PyEval_EvalFrameDefault+0x60a2 [0x563947e2c5a7]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x280c92 [0x563947e42c92]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x280e44 [0x563947e42e44]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at _PyFunction_Vectorcall+0x54 [0x563947cee2da]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x12d7d3 [0x563947cef7d3]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x12d99d [0x563947cef99d]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x1c26af [0x563947d846af]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x1c278d [0x563947d8478d]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at _PyObject_MakeTpCall+0xce [0x563947cee47c]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x12c6af [0x563947cee6af]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at PyObject_Vectorcall+0x23 [0x563947cee6fd]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at _Py_VectorCall_StackRefSteal+0x86 [0x563947e237d2]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at _PyEval_EvalFrameDefault+0x90b2 [0x563947e2f5b7]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x280c92 [0x563947e42c92]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x280e44 [0x563947e42e44]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at _PyFunction_Vectorcall+0x54 [0x563947cee2da]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x12f1c1 [0x563947cf11c1]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x12f326 [0x563947cf1326]\n  Binary file \"/root/buildarea/3.x.angelico-debian-amd64/build/python\", at +0x12da86 [0x563947cefa86]\n  \u003ctruncated rest of calls>\n```\n\nA similar crash happened earlier in the run in `test_sampling_with_collapsed_export`.\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nLinux\n\n### Output from running 'python -VV' on the command line:\n\n_No response_","author":{"url":"https://github.com/encukou","@type":"Person","name":"encukou"},"datePublished":"2025-12-19T10:01:04Z","url":"https://github.com/python/cpython/issues/142973"}

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:6b32aa55-2ea6-8e68-c530-9a8c31c84ac1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB32C:14700E:40A87A9:5205817:6B021B61
html-safe-nonce7fd6b21a47baaac5665d346cf587ab14abeeaddb61f5167d64d422cb7b6093b7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzJDOjE0NzAwRTo0MEE4N0E5OjUyMDU4MTc6NkIwMjFCNjEiLCJ2aXNpdG9yX2lkIjoiODc2ODQ3NzE0ODc5NDE5ODg4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb6fc690aff979898157675b88a14cec78a5094fbc66a36e4e05f590d512326d1
hovercard-subject-tagissue:3746880618
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/142973/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cb5a3c35baf41763fbbb98b523b58282079ac239987045a87e1d19a9f7ada97a/python/cpython/issues/142973
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cb5a3c35baf41763fbbb98b523b58282079ac239987045a87e1d19a9f7ada97a/python/cpython/issues/142973
og:image:altCrash report What happened? A recent Buildbot run (AMD64 Debian root) saw a segfault in test_sampling_profiler: https://buildbot.python.org/#/builders/345/builds/12988 test_sampling_all_threads (te...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameencukou
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/142973#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F142973
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%2F142973
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/142973
Reloadhttps://github.com/python/cpython/issues/142973
Reloadhttps://github.com/python/cpython/issues/142973
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/142973
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/142973
Segfault in test_sampling_profilerhttps://github.com/python/cpython/issues/142973#top
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
topic-profilinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-profiling%22
type-crashA hard crash of the interpreter, possibly with a core dumphttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-crash%22
https://github.com/encukou
encukouhttps://github.com/encukou
on Dec 19, 2025https://github.com/python/cpython/issues/142973#issue-3746880618
https://buildbot.python.org/#/builders/345/builds/12988https://buildbot.python.org/#/builders/345/builds/12988
encukouhttps://github.com/encukou
type-crashA hard crash of the interpreter, possibly with a core dumphttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-crash%22
topic-profilinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-profiling%22
on Dec 19, 2025https://github.com/python/cpython/issues/142973#event-21667008165
encukouhttps://github.com/encukou
on Dec 19, 2025https://github.com/python/cpython/issues/142973#event-21667013057
https://github.com/fatelei
fateleihttps://github.com/fatelei
on Dec 22, 2025https://github.com/python/cpython/issues/142973#issuecomment-3679880548
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
on Dec 26, 2025https://github.com/python/cpython/issues/142973#issuecomment-3692162719
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
on Dec 26, 2025https://github.com/python/cpython/issues/142973#issuecomment-3692200945
220f0b1https://github.com/python/cpython/commit/220f0b107776391201a399c54dd01692c36fcdf4
cpython/Lib/profiling/sampling/sample.pyhttps://github.com/python/cpython/blob/220f0b107776391201a399c54dd01692c36fcdf4/Lib/profiling/sampling/sample.py#L75
220f0b1https://github.com/python/cpython/commit/220f0b107776391201a399c54dd01692c36fcdf4
serhiy-storchakahttps://github.com/serhiy-storchaka
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
on Jul 4, 2026https://github.com/python/cpython/issues/142973#event-27546998445
https://github.com/hugovk
hugovkhttps://github.com/hugovk
on Oct 29, 2026https://github.com/python/cpython/issues/142973#issuecomment-6497617215
#159764https://github.com/python/cpython/issues/159764
https://github.com/Rosuav
Rosuavhttps://github.com/Rosuav
on Oct 29, 2026https://github.com/python/cpython/issues/142973#issuecomment-6497707978
#159764https://github.com/python/cpython/issues/159764
https://github.com/hugovk
hugovkhttps://github.com/hugovk
on Oct 29, 2026https://github.com/python/cpython/issues/142973#issuecomment-6505162609
hugovkhttps://github.com/hugovk
duplicatehttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Aduplicate
Python 3.14 crash randomly on AMD64 Debian root 3.14 buildbot: CPU bug #159764https://github.com/python/cpython/issues/159764
on Oct 29, 2026https://github.com/python/cpython/issues/142973#event-34620114937
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/142973
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/142973
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
topic-profilinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-profiling%22
type-crashA hard crash of the interpreter, possibly with a core dumphttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-crash%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.