CI: intermittent hard crash of `cython` while building the limited API test extensions on Windows

オープン
#32,473 コメント 12 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@LeonxLJX がすでに取り組んでいます。

2026年9月4日 から。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, python
領域
ci-cd, testing-qa

調査の方向性

Start with the test_limited_api.py fixture and the failing Windows CI logs; compare the meson compile -vv failures and the number of parallel Cython processes across the linked runs. The cause is not yet reproducible locally, so investigate the runner/process crash before choosing a change. Done means the intermittent failure is understood and the limited API test extensions build reliably in Windows CI.

索引モデルが issue の本文から書いたものです。

説明

05 - Testing component: CI
Describe the issue

Since 2026-09-01, Windows CI jobs intermittently fail in the test_limited_api.py fixture. meson compile -vv fails because one of the ~35 parallel cython processes spawned by ninja dies with exit code 3221356611 and no stderr:

[29/175] "cython" "-M" "--fast-fail" "-3" "-I" "...\site-packages\\" "--module-name" "limited_api_cython_3_13_npy2_0" .../limited_api_cython.pyx -o limited_api_cython_3_13_npy2_0.pyd.p/limited_api_cython.pyx.c
FAILED: [code=3221356611] limited_api_cython_3_13_npy2_0.pyd.p/limited_api_cython.pyx.c
ninja: build stopped: subcommand failed.

3221356611 is 0xC0020043 = RPC_NT_INTERNAL_ERROR. That is an OS-level process crash, not a Cython error. Which module variant dies varies from run to run, and reruns usually pass.

Examples
Steps to reproduce

I tried to reproduce this on my Windows 11 PC using the same dependencies as the failing jobs, but didn't see any problems. I've only seen this happen on github runners. It may be a problem with the runners themselves.

主要言語
Python
スター
33.5k
フォーク
13.1k
平均マージ
1日 19時間
マージ済み PR(30日)
143

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

numpy/numpy のほかの issue

numpy/numpy の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。