René's URL Explorer Experiment


Title: Official python:3.15-slim image segfaults on CPUs without AVX2 (3.14-slim, 3.15-bookworm and 3.15-full are fine · Issue #162358 · python/cpython · GitHub

Open Graph Title: Official python:3.15-slim image segfaults on CPUs without AVX2 (3.14-slim, 3.15-bookworm and 3.15-full are fine · Issue #162358 · python/cpython

X Title: Official python:3.15-slim image segfaults on CPUs without AVX2 (3.14-slim, 3.15-bookworm and 3.15-full are fine · Issue #162358 · python/cpython

Description: Crash report The official python:3.15-slim Docker image (Debian 13/trixie, Python 3.15.2, built with GCC 14.2.0) segfaults deterministically at interpreter startup during import on CPUs without AVX2/BMI2/FMA. Minimal reproducible example...

Open Graph Description: Crash report The official python:3.15-slim Docker image (Debian 13/trixie, Python 3.15.2, built with GCC 14.2.0) segfaults deterministically at interpreter startup during import on CPUs without AVX...

X Description: Crash report The official python:3.15-slim Docker image (Debian 13/trixie, Python 3.15.2, built with GCC 14.2.0) segfaults deterministically at interpreter startup during import on CPUs without AVX...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Official python:3.15-slim image segfaults on CPUs without AVX2 (3.14-slim, 3.15-bookworm and 3.15-full are fine","articleBody":"### Crash report\n\nThe official python:3.15-slim Docker image (Debian 13/trixie, Python 3.15.2,\nbuilt with GCC 14.2.0) segfaults deterministically at interpreter startup\nduring import on CPUs without AVX2/BMI2/FMA.\n\nMinimal reproducible example — on a host with an Intel Xeon E3-1220L v2\n(Ivy Bridge, no avx2/bmi2/fma):\n\n    $ docker run --rm python:3.15-slim python -c \"import ctypes, ctypes.util\"\n    Fatal Python error: Segmentation fault\n\n    Current thread 0x0000794fe8982380 [python] (most recent call first):\n      File \"/usr/local/lib/python3.15/enum.py\", line Segmentation fault (core dumped)\n\nNote that simple startup still works, e.g. `python --version` and\n`python -c \"print(1+1)\"` succeed; the crash appears once import machinery /\nctypes is exercised. In other runs the fault handler points into the import\nmachinery instead:\n\n    Current thread 0x000072ace230d380 [python] (most recent call first):\n      File \"\u003cfrozen importlib._bootstrap>\", line Segmentation fault (core dumped)\n\nThe same container image, freshly pulled and re-unpacked on a second node in\nthe same cluster, reproduces the crash on every start; an identical digest on\na Haswell-class node (fma bmi1 bmi2 avx2) runs cleanly. Kernel log shows the\nsame offset in libpython on every occurrence:\n\n    segfault at 4 ip 00007741f0161795 sp ... error 6 in libpython3.15.so.1.0[...+299000]\n\nCPU flag comparison between the two hosts:\n\n    crashing host : sse4_1 sse4_2 popcnt aes avx            (Ivy Bridge, no avx2/bmi2/fma)\n    working host  : fma sse4_1 sse4_2 avx bmi1 avx2 bmi2    (Haswell+)\n\nVariants that do NOT crash on the same Ivy Bridge host:\n\n    docker run --rm python:3.12-slim        # ok\n    docker run --rm python:3.13-slim        # ok\n    docker run --rm python:3.14-slim        # ok\n    docker run --rm python:3.15             # full trixie build, ok\n    docker run --rm python:3.15-slim-bookworm # slim build against Debian 12, glibc 2.36, ok\n\nVariants that DO crash:\n\n    docker run --rm python:3.15-slim        # slim-trixie, glibc 2.41\n    docker run --rm python:3.15-slim-trixie # same build, explicit tag\n\nSince the failing/working pairs share the same CPython source and differ mainly\nin base OS toolchain (trixie/glibc 2.41 + GCC 14 vs bookworm/glibc 2.36), this\nlooks like a miscompilation or intrinsics-related assumption in the official\nslim-trixie build that breaks pre-AVX2 CPUs — possibly worth checking whether\nthe slim-trixie variant compiles with different arch flags than the others.\nImage corruption was ruled out (fresh pull with identical digest, re-unpack,\nsame crash). Real-world impact: any user deploying official python:3.15-slim\ncontainers to older (pre-Haswell) hardware gets a hard crash on every\ncontainer start.\n\nWorkaround for affected users: use `python:3.15` (full) or\n`python:3.15-slim-bookworm` instead.\n\n### CPython versions tested on:\n\n3.15\n\n### Operating systems tested on:\n\nLinux\n\n### Output from running 'python -VV' on the command line:\n\nPython 3.15.2 (main, Nov  5 2026, 07:56:09) [GCC 14.2.0]","author":{"url":"https://github.com/ulbi","@type":"Person","name":"ulbi"},"datePublished":"2026-11-21T06:08:10Z","url":"https://github.com/python/cpython/issues/162358"}

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:60f78679-6b2a-1afd-1940-5688df06817b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA6A0:BB75:11A27C9:176024C:6B01E941
html-safe-nonce2cf743a3dc3957b89f8823dfa721d4e21786aa77a7867164d449d165cdabb695
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkEwOkJCNzU6MTFBMjdDOToxNzYwMjRDOjZCMDFFOTQxIiwidmlzaXRvcl9pZCI6IjY1NTc4NzMyMjY4OTMwOTMxODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac51d513ad1116c6f78876100ff77f585fd6239bfdefbf4bde40efb8e9f2a67bd2
hovercard-subject-tagissue:6525301997
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/162358/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f0e2eba1f989247133bf8cfd14393bfc950c28d6f66baa1cb299065e575c844d/python/cpython/issues/162358
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f0e2eba1f989247133bf8cfd14393bfc950c28d6f66baa1cb299065e575c844d/python/cpython/issues/162358
og:image:altCrash report The official python:3.15-slim Docker image (Debian 13/trixie, Python 3.15.2, built with GCC 14.2.0) segfaults deterministically at interpreter startup during import on CPUs without AVX...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameulbi
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/162358#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F162358
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%2F162358
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/162358
Reloadhttps://github.com/python/cpython/issues/162358
Reloadhttps://github.com/python/cpython/issues/162358
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/162358
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/162358
Official python:3.15-slim image segfaults on CPUs without AVX2 (3.14-slim, 3.15-bookworm and 3.15-full are finehttps://github.com/python/cpython/issues/162358#top
3.15bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22
OS-linuxhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-linux%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/ulbi
ulbihttps://github.com/ulbi
on Nov 21, 2026https://github.com/python/cpython/issues/162358#issue-6525301997
ulbihttps://github.com/ulbi
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
on Nov 21, 2026https://github.com/python/cpython/issues/162358#event-36841831918
cmaloneyhttps://github.com/cmaloney
OS-linuxhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-linux%22
3.15bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22
on Nov 21, 2026https://github.com/python/cpython/issues/162358#event-36850725982
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/162358
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/162358
3.15bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22
OS-linuxhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-linux%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.