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

Aperta
#32,473 12 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@LeonxLJX ci sta già lavorando.

Dal 4/9/2026.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, python
Ambito
ci-cd, testing-qa

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
33.5k
Fork
13.1k
Merge medio
1g 19h
PR unite (30g)
143

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di numpy/numpy

Tutte le issue di numpy/numpy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.