Title: JIT build crashes on assertions (since 3.15): `Python/pystate.c:925: interpreter_clear: Assertion 'cold->vm_data.valid' failed.` · Issue #154014 · python/cpython · GitHub
Open Graph Title: JIT build crashes on assertions (since 3.15): `Python/pystate.c:925: interpreter_clear: Assertion 'cold->vm_data.valid' failed.` · Issue #154014 · python/cpython
X Title: JIT build crashes on assertions (since 3.15): `Python/pystate.c:925: interpreter_clear: Assertion 'cold->vm_data.valid' failed.` · Issue #154014 · python/cpython
Description: Crash report What happened? ./configure --enable-experimental-jit --with-assertions make -j$(nproc) On 3.15.0b4 and main (9adef68), this results in a _bootstrap_python that crashes on assertions: $ make ./_bootstrap_python ./Programs/_fr...
Open Graph Description: Crash report What happened? ./configure --enable-experimental-jit --with-assertions make -j$(nproc) On 3.15.0b4 and main (9adef68), this results in a _bootstrap_python that crashes on assertions: $...
X Description: Crash report What happened? ./configure --enable-experimental-jit --with-assertions make -j$(nproc) On 3.15.0b4 and main (9adef68), this results in a _bootstrap_python that crashes on assertions: $...
Opengraph URL: https://github.com/python/cpython/issues/154014
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"JIT build crashes on assertions (since 3.15): `Python/pystate.c:925: interpreter_clear: Assertion 'cold->vm_data.valid' failed.`","articleBody":"# Crash report\n\n### What happened?\n\n```\n./configure --enable-experimental-jit --with-assertions\nmake -j$(nproc)\n```\n\nOn 3.15.0b4 and main (9adef68a7956744b804d09c8b8b06c8c171053e5), this results in a `_bootstrap_python` that crashes on assertions:\n\n```\n$ make\n./_bootstrap_python ./Programs/_freeze_module.py abc ./Lib/abc.py Python/frozen_modules/abc.h\n_bootstrap_python: Python/pystate.c:925: interpreter_clear: Assertion `cold->vm_data.valid' failed.\nmake: *** [Makefile:1907: Python/frozen_modules/abc.h] Aborted (core dumped)\nmake: *** Deleting file 'Python/frozen_modules/abc.h'\n```\n\nFor some files, I'm also/instead seeing:\n\n```\n_bootstrap_python: Python/pystate.c:933: interpreter_clear: Assertion `cold_dynamic->vm_data.valid' failed.\n```\n\nBisect points to 4fa80ce74c6d9f5159bdc5ec3596a194f0391e21 which seems a huge change:\n\n```\ncommit 4fa80ce74c6d9f5159bdc5ec3596a194f0391e21\nAuthor: Ken Jin \u003ckenjin@python.org>\nAuthorDate: 2025-11-13 19:08:32 +0100\nCommit: GitHub \u003cnoreply@github.com>\nCommitDate: 2025-11-13 19:08:32 +0100\n\n gh-139109: A new tracing JIT compiler frontend for CPython (GH-140310)\n```\n\nCC @Fidget-Spinner \n\n### CPython versions tested on:\n\n3.15, CPython 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_\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-154142\n* gh-154457\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/mgorny","@type":"Person","name":"mgorny"},"datePublished":"2026-07-18T16:25:35Z","url":"https://github.com/python/cpython/issues/154014"}
| 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:260b07bd-60b3-4788-bde7-0e4a4ad03f62 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CEA6:3CBB3E:2EC4581:3BB7F25:6B020606 |
| html-safe-nonce | 2388905dcf85aa4321a84cc93d36baff7c96ccbbc518c11b1277134ae6037da0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUE2OjNDQkIzRToyRUM0NTgxOjNCQjdGMjU6NkIwMjA2MDYiLCJ2aXNpdG9yX2lkIjoiMjQ0NDkzNjE5MjYwOTg3OTU1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b779b40571b9a6d6fbac1c0377af52e1e04a7a1ac071a0370efb151835355653 |
| hovercard-subject-tag | issue:4919081025 |
| 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/154014/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c4b45f6fb3e31a67b8e61371245714eb3910d64dd49ab80d0962f6c4bf3de7f2/python/cpython/issues/154014 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c4b45f6fb3e31a67b8e61371245714eb3910d64dd49ab80d0962f6c4bf3de7f2/python/cpython/issues/154014 |
| og:image:alt | Crash report What happened? ./configure --enable-experimental-jit --with-assertions make -j$(nproc) On 3.15.0b4 and main (9adef68), this results in a _bootstrap_python that crashes on assertions: $... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mgorny |
| 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