Skip to content

Commit 71e3ddb

Browse files
devdanzinclaude
andcommitted
Umbrella filed (python/cpython#153852): backlink all 15 gists + record in metas
The umbrella issue is python/cpython#153852. Appended a "Tracked in the umbrella issue" line to each of the 15 report.md files, pushed the update to each published gist, and recorded umbrella_issue=153852 in each meta. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
1 parent 443e331 commit 71e3ddb

30 files changed

Lines changed: 60 additions & 15 deletions

File tree

‎reports/TSAN-0001-cjkcodecs-multibyte-incremental-decoder-state/meta.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@
3838
],
3939
"assessment": "real, new (distinct from #152767)",
4040
"confirmed_unfixed_on": "heads/main:bcf98ddbc40 (current main, Jul 2026)",
41-
"gist_url": "https://gist.github.com/devdanzin/ed0c939eb845d23ca67b464d3e53ff56"
41+
"gist_url": "https://gist.github.com/devdanzin/ed0c939eb845d23ca67b464d3e53ff56",
42+
"umbrella_issue": 153852
4243
}

‎reports/TSAN-0001-cjkcodecs-multibyte-incremental-decoder-state/report.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
_AI Disclaimer: this report was drafted by Claude Code, which also created and ran the reproducer; the maintainer reviewed and edited it._
66

7+
> **Tracked in the umbrella issue [python/cpython#153852](https://github.com/python/cpython/issues/153852)** — one of a batch of free-threading data races found with `fusil --tsan`.
8+
79
## Summary
810

911
`Modules/cjkcodecs/multibytecodec.c` implements the stateful incremental CJK decoder. Its incomplete multibyte sequence is buffered in three plain fields of `MultibyteIncrementalDecoderObject` (`Modules/cjkcodecs/multibytecodec.h`):

‎reports/TSAN-0002-zstd-compressor-flush/meta.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@
4949
"fleet02_notes": [
5050
"fleet-02 flush|flush vehicle (TSAN-0017) folded in: same last_mode race, dedup artifact"
5151
],
52-
"gist_url": "https://gist.github.com/devdanzin/0c3bea3347a169cb64f40873a6dcc3bd"
52+
"gist_url": "https://gist.github.com/devdanzin/0c3bea3347a169cb64f40873a6dcc3bd",
53+
"umbrella_issue": 153852
5354
}

‎reports/TSAN-0002-zstd-compressor-flush/report.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
_AI Disclaimer: this report was drafted by Claude Code, which also created and ran the reproducer; the maintainer reviewed and edited it._
66

7+
> **Tracked in the umbrella issue [python/cpython#153852](https://github.com/python/cpython/issues/153852)** — one of a batch of free-threading data races found with `fusil --tsan`.
8+
79
## Summary
810

911
`Modules/_zstd/compressor.c` keeps a per-compressor `int last_mode` (the last compression end-directive used). It is mutated by `compress()` and `flush()` as a plain store, but only ever *written* under `self->lock`:

‎reports/TSAN-0005-decimal-dec-hash/meta.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@
3838
],
3939
"assessment": "real, new (distinct from the decimal context.status race)",
4040
"confirmed_unfixed_on": "heads/main:bcf98ddbc40 (current main, Jul 2026)",
41-
"gist_url": "https://gist.github.com/devdanzin/4ece3c7d20810f1ad33e2b204ccf33e4"
41+
"gist_url": "https://gist.github.com/devdanzin/4ece3c7d20810f1ad33e2b204ccf33e4",
42+
"umbrella_issue": 153852
4243
}

‎reports/TSAN-0005-decimal-dec-hash/report.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
_AI Disclaimer: this report was drafted by Claude Code, which also created and ran the reproducer; the maintainer reviewed and edited it._
66

7+
> **Tracked in the umbrella issue [python/cpython#153852](https://github.com/python/cpython/issues/153852)** — one of a batch of free-threading data races found with `fusil --tsan`.
8+
79
## Summary
810

911
`Modules/_decimal/_decimal.c` memoizes a `Decimal`'s hash in the `hash` field of `PyDecObject`, initialized to `-1` and filled on first `__hash__`. The fill is an unsynchronized read-then-write:

‎reports/TSAN-0006-itertools-count-repr/meta.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@
4949
"fleet02_notes": [
5050
"fleet-02 variant: the count_next CAS write-side vs count_repr read (same race, parser picked the atomic frame)"
5151
],
52-
"gist_url": "https://gist.github.com/devdanzin/db21f2b29ab7572ce6c111b57b3cea5c"
52+
"gist_url": "https://gist.github.com/devdanzin/db21f2b29ab7572ce6c111b57b3cea5c",
53+
"umbrella_issue": 153852
5354
}

‎reports/TSAN-0006-itertools-count-repr/report.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
_AI Disclaimer: this report was drafted by Claude Code, which also created and ran the reproducer; the maintainer reviewed and edited it._
66

7+
> **Tracked in the umbrella issue [python/cpython#153852](https://github.com/python/cpython/issues/153852)** — one of a batch of free-threading data races found with `fusil --tsan`.
8+
79
## Summary
810

911
`itertools.count()` keeps its fast-mode counter in the plain C field `countobject.cnt` (`Py_ssize_t`). The free-threaded `count_next` was hardened to advance it with a lock-free CAS loop over relaxed atomics:

‎reports/TSAN-0011-sys-audit-hooks/meta.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,6 @@
4848
"tsan_report.txt",
4949
"meta.json"
5050
],
51-
"gist_url": "https://gist.github.com/devdanzin/0b13838fd6089e73a3f063ed8f68e733"
51+
"gist_url": "https://gist.github.com/devdanzin/0b13838fd6089e73a3f063ed8f68e733",
52+
"umbrella_issue": 153852
5253
}

‎reports/TSAN-0011-sys-audit-hooks/report.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
_AI Disclaimer: this report was drafted by Claude Code, which also created and ran the reproducer; the maintainer reviewed and edited it._
66

7+
> **Tracked in the umbrella issue [python/cpython#153852](https://github.com/python/cpython/issues/153852)** — one of a batch of free-threading data races found with `fusil --tsan`.
8+
79
## Summary
810

911
`Python/sysmodule.c` stores each interpreter's Python-level audit hooks in `interp->audit_hooks` (a `PyObject*` list, `NULL` until the first hook is registered). `sys.addaudithook()` fills it lazily:

0 commit comments

Comments
 (0)