Title: NOGIL build of 3.15.0~a7 fails in Objects/typeobject.c@type_new_set_slots: internal compiler error: Segmentation fault · Issue #145803 · python/cpython · GitHub
Open Graph Title: NOGIL build of 3.15.0~a7 fails in Objects/typeobject.c@type_new_set_slots: internal compiler error: Segmentation fault · Issue #145803 · python/cpython
X Title: NOGIL build of 3.15.0~a7 fails in Objects/typeobject.c@type_new_set_slots: internal compiler error: Segmentation fault · Issue #145803 · python/cpython
Description: Bug report Bug description: When building Python 3.15.0~a7 in the openSUSE Build Service (and only there, I have hard time to reproduce this locally), I get this error while building [ 329s] make[1]: Entering directory '/home/abuild/rpmb...
Open Graph Description: Bug report Bug description: When building Python 3.15.0~a7 in the openSUSE Build Service (and only there, I have hard time to reproduce this locally), I get this error while building [ 329s] make[1...
X Description: Bug report Bug description: When building Python 3.15.0~a7 in the openSUSE Build Service (and only there, I have hard time to reproduce this locally), I get this error while building [ 329s] make[1...
Opengraph URL: https://github.com/python/cpython/issues/145803
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"NOGIL build of 3.15.0~a7 fails in Objects/typeobject.c@type_new_set_slots: internal compiler error: Segmentation fault","articleBody":"# Bug report\n\n### Bug description:\n\nWhen building Python 3.15.0~a7 in the openSUSE Build Service (and only there, I have hard time to reproduce this locally), I get this error while building\n\n```c\n[ 329s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/python315-nogil-nogil-core-3.15.0_a7-build/Python-3.15.0a7'\n[ 329s] gcc -c -fno-strict-overflow -Wsign-compare -DNDEBUG -march=x86-64-v3 -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -DOPENSSL_LOAD_CONF -fwrapv -fno-semantic-interposition -march=x86-64-v3 -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -IVendor/ -march=x86-64-v3 -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -IVendor/ -fno-semantic-interposition -flto -fuse-linker-plugin -ffat-lto-objects -g -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -fprofile-use -fprofile-correction -I./Include/internal -I./Include/internal/mimalloc -I. -I./Include -fPIC -DPy_BUILD_CORE -o Objects/typeobject.o Objects/typeobject.c\n[ 329s] during IPA pass: profile\n[ 329s] Objects/typeobject.c: In function ‘type_new_set_slots’:\n[ 329s] Objects/typeobject.c:12849:1: internal compiler error: Segmentation fault\n[ 329s] 12849 | };\n[ 329s] | ^\n[ 329s] 0x170bff4 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t)\n[ 329s] ???:0\n[ 329s] 0x16d996f internal_error(char const*, ...)\n[ 329s] ???:0\n\n[ 329s] 0x163f4eb mcf_smooth_cfg()\n[ 329s] ???:0\n[ 329s] 0x103dfa7 branch_prob(bool)\n[ 329s] ???:0\n[ 329s] Please submit a full bug report, with preprocessed source (by using -freport-bug).\n[ 329s] Please include the complete backtrace with any bug report.\n[ 329s] See \u003chttps://bugs.opensuse.org/> for instructions.\n[ 329s] make[1]: *** [Makefile:3354: Objects/typeobject.o] Error 1\n```\n\nThat is using GCC `gcc (SUSE Linux) 15.2.1 20260202` and kernel (if it matters) 6.19.6.\n\n[Complete build log](https://github.com/user-attachments/files/25899697/_log.txt) from the build system with all packages used and record of everything which lead to the crash.\n\nI have tried to reproduce the crash locally, but I have never tried (even adding `-freport-bug` didn’t return anything special). Attaching [the output of `find . -name typeobject.*`](https://github.com/user-attachments/files/25899793/typeobject.tar.gz), but I am afraid it would be of the limited value.\n\n### CPython versions tested on:\n\n3.15\n\n### Operating systems tested on:\n\nLinux","author":{"url":"https://github.com/mcepl","@type":"Person","name":"mcepl"},"datePublished":"2026-03-11T11:19:31Z","url":"https://github.com/python/cpython/issues/145803"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2bd18025-4b9f-7476-00d4-a4448de93862 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA72:19E4BB:39F7AAD:49ED42C:6B02020B |
| html-safe-nonce | cebdf1c1b05b22372632418b93365eddf602167ac519553f6d6de280d970d1e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTcyOjE5RTRCQjozOUY3QUFEOjQ5RUQ0MkM6NkIwMjAyMEIiLCJ2aXNpdG9yX2lkIjoiNTYwNTQzOTUxNTc2MzI3ODM0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8c8178623a33532a0e6db3e14db87fab02d2068292e2531f8a7fa76800b5b3b8 |
| hovercard-subject-tag | issue:4057608706 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/145803/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bc57aff05ed70ec54b736abebaec550c61b9cdc7fd7f1b5dc9d674eec1f041db/python/cpython/issues/145803 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bc57aff05ed70ec54b736abebaec550c61b9cdc7fd7f1b5dc9d674eec1f041db/python/cpython/issues/145803 |
| og:image:alt | Bug report Bug description: When building Python 3.15.0~a7 in the openSUSE Build Service (and only there, I have hard time to reproduce this locally), I get this error while building [ 329s] make[1... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mcepl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width