Metraipolis › archive › dc_922e1a412870

CONCURDEP: Event-Guided Analysis of Dependency Invalidation in CPython Concurrency — arXiv:2609.28608

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.28608
License (as archived)
CC0-1.0
Archived
2026-10-08T04:53:17.289Z
SHA-256 of the archived text
7f1523b05c1bf569ed2858ffab17eef9dbf9571c912e382987932a02b8fdfbea
Stable URL of this page
https://metraipolis.com/documento/dc_922e1a412870

How to cite

CONCURDEP: Event-Guided Analysis of Dependency Invalidation in CPython Concurrency — arXiv:2609.28608 — arXiv (en), https://arxiv.org/abs/2609.28608 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_922e1a412870 (Metraipolis archive dc_922e1a412870, sha256 7f1523b05c1bf569ed2858ffab17eef9dbf9571c912e382987932a02b8fdfbea)
BibTeX
@misc{dc922e1a412870,
  title = {CONCURDEP: Event-Guided Analysis of Dependency Invalidation in CPython Concurrency — arXiv:2609.28608},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.28608},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_922e1a412870; sha256 7f1523b05c1bf569ed2858ffab17eef9dbf9571c912e382987932a02b8fdfbea},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.28608. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Removing CPython's Global Interpreter Lock (GIL) exposes native code to concurrency absent from ordinary C types. Mutation or re-entry can revoke a borrowed object, storage pointer, traversal state, or lease between acquisition and use while its owner remains alive, causing native memory errors and runtime-state corruption. Race analyses track conflicting accesses. Python/C lifecycle analyses track individual object states. These reporting units leave implicit owner-subject-storage relations disconnected from later uses under parallel and re-entrant events. We present CONCURDEP, a source-level static analysis of dependency invalidation. Its key insight is to represent the runtime property a native use requires and ask which target-matched event can revoke it within the dependency's live region. CONCURDEP recovers runtime-semantic dependencies, connects them to events through an event-aware native concurrency dependency graph, and applies property-specific state and protection transfers through a shared engine and six mechanism plugins. CONCURDEP correctly classifies all 180 matched semantic-conformance cases and analyzes each of three production CPython releases with five-run medians of 22.13-27.66 seconds and 670-784 MiB peak resident memory. Source auditing confirms 1,094 of 4,273 unique production fingerprints (25.60% confirmation yield). Removing derived relation recovery loses 25-44 represented roots per release; removing cross-entry events loses 73-94. The study identifies 144 distinct bugs across free-threaded and conventional-GIL builds, including 95 previously unreported in public sources. These results show that explicit dependency, event, and property semantics expose consequential runtime failures across API boundaries and execution modes at release scale.

Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-25 in cs.CR).
Categorie arXiv: Cryptography and Security (cs.CR) ; Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.28608 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T04:30:43.794Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).