Title: Crash in _PyXI_ApplyErrorCode() · Issue #126986 · python/cpython · GitHub
Open Graph Title: Crash in _PyXI_ApplyErrorCode() · Issue #126986 · python/cpython
X Title: Crash in _PyXI_ApplyErrorCode() · Issue #126986 · python/cpython
Description: Crash report Bug description: This is a problem in Python/crossinterp.c, as exposed by the _interpreters module. reproducer: interp is running as "main" in thread 1 thread 2 calls _PyXI_Enter(), which emits the _PyXI_ERR_ALREADY_RUNNING ...
Open Graph Description: Crash report Bug description: This is a problem in Python/crossinterp.c, as exposed by the _interpreters module. reproducer: interp is running as "main" in thread 1 thread 2 calls _PyXI_Enter(), wh...
X Description: Crash report Bug description: This is a problem in Python/crossinterp.c, as exposed by the _interpreters module. reproducer: interp is running as "main" in thread 1 thread 2 calls _PyXI_E...
Opengraph URL: https://github.com/python/cpython/issues/126986
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Crash in _PyXI_ApplyErrorCode()","articleBody":"# Crash report\n\n### Bug description:\n\nThis is a problem in Python/crossinterp.c, as exposed by the _interpreters module.\n\nreproducer:\n\n1. interp is running as \"main\" in thread 1\n2. thread 2 calls `_PyXI_Enter()`, which emits the `_PyXI_ERR_ALREADY_RUNNING` error code\n3. thread 1 finishes\n4. thread 2 calls `_PyXI_ApplyError()`\n5. `_PyXI_ApplyError()` calls `_PyInterpreterState_FailIfNotRunning()` to raise the exception, but it doesn't raise anything\n\nI noticed this while working on gh-126914.\n\n### CPython versions tested on:\n\n3.14\n\n### Operating systems tested on:\n\n_No response_\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-126988\n* gh-126995\n* gh-127112\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/ericsnowcurrently","@type":"Person","name":"ericsnowcurrently"},"datePublished":"2024-11-18T23:44:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/126986/cpython/issues/126986"}
| 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:56973bcc-4a56-1373-c907-89db6e64cd0b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB28:35D20C:AAB852:E41682:6A581902 |
| html-safe-nonce | ddbdbe1c9b6727d163ade5fae1184284b01aef241d9690d3b5f15075148095ea |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjI4OjM1RDIwQzpBQUI4NTI6RTQxNjgyOjZBNTgxOTAyIiwidmlzaXRvcl9pZCI6IjcwMTkxNjU4NDQxODczODgxNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a7dbe424a64df05e15928f0e8dd16caf542989f35cdb7f91c6066572482aff0e |
| hovercard-subject-tag | issue:2670330404 |
| 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/126986/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6035c087fc4e376d21119adeb72e54dc117b5bde8cd1ed69f3d2e84d8f047a92/python/cpython/issues/126986 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6035c087fc4e376d21119adeb72e54dc117b5bde8cd1ed69f3d2e84d8f047a92/python/cpython/issues/126986 |
| og:image:alt | Crash report Bug description: This is a problem in Python/crossinterp.c, as exposed by the _interpreters module. reproducer: interp is running as "main" in thread 1 thread 2 calls _PyXI_Enter(), wh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericsnowcurrently |
| hostname | github.com |
| expected-hostname | github.com |
| None | 49c8c15fabcbf356d607a90ca115c13b273e42ff8b74155de050fd229a9b0121 |
| 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 | 3fb1f684e7a833eb1b2d01d39875a2b52cb4fe9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width