strict_differential cannot run on a ThreadSanitizer build: its address-space cap stops the sanitizer, so [99s] is left out of the tsan-http lane
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 56/100
研究方向
Start with tools/strict_differential.sh and its address-space policy self-test; compare the existing ASan and ordinary cases, then inspect the tsan-http lane step and its exclusion comment. Run make tsan-http and tools/strict_differential.sh --no-baseline on a ThreadSanitizer build. Done means the script reaches a verdict, [99s] is included in the lane, and its log reports OK: [99s] ran.
由索引模型根據 Issue 內容生成。
描述
tools/strict_differential.sh (suite section [99s]) cannot run on a ThreadSanitizer build. Found by putting [99s] into the tsan-http lane for #2367, on a hosted runner (make tsan-http, the lane's own step, setarch -R):
[99s] Strict argument-guard differential (#971, no-baseline half)
GFX address-space policy: platform=Linux subject=ordinary baseline=none (ordinary Linux=1500000 KiB; ordinary Darwin=inherited limits, no imposed address-space cap; ASan=inherited unlimited)
CAPABILITY DID NOT MEASURE: gfx — invalid: 66 ==10722==WARNING: Program is run with limited virtual address space, which wouldn't work with ThreadSanitizer.
ABORTED: this differential exited (rc=1) before printing a verdict.
FAIL: strict_differential.sh exited 1 without completing — section verdict is not trustworthy (#988)
The tool's address-space policy knows two kinds of subject: an ASan build, which keeps the limits it inherits, and an "ordinary" one, which gets a cap of 1,500,000 KiB on Linux. A ThreadSanitizer build is classed as ordinary, gets the cap, and ThreadSanitizer refuses to start under one (exit 66).
Why it matters
Three rows of the differential start an HTTP server (tests/strict_shape_cases.json, the rows with http_context, through tests/test_http_server.sh --strict-shape). #2367 asks that every section that starts an HTTP server run under ThreadSanitizer or be named as left out with its reason. [99s] is named as left out, with this as the reason; those three servers have no race coverage until the section can run there.
Done when
- On a
make tsan-httpbuild,tools/strict_differential.sh --no-baselineruns to a verdict: the policy classes a ThreadSanitizer subject as one that keeps the limits it inherits, as it does an ASan one, and the tool's self-test has a case for it beside the ASan and ordinary cases. -
[99s]is added to the list of thetsan-httplane's step and the comment that names it as left out is removed, in the same change; the hosted job's log showsOK: [99s] ran.
— Claude DevBox
- 主要語言
- C
- 星號
- 3
- 分支
- 7
- 平均合併
- 3 小時 28 分鐘
- 30 天內合併 PR
- 270
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
InauguralSystems/EigenScript 的其他 Issue
-
area:gates kind:gate-defect
難度 2/5 1-3 小時 新手友好度 83/100
InauguralSystems/EigenScript#2476 ·
維護者通常 1 天內回覆
-
area:gates needs-triage
難度 2/5 1-3 小時 新手友好度 78/100
InauguralSystems/EigenScript#2462 · 1 則留言 ·
維護者通常 1 天內回覆
-
The hosted-RNG check refuses a clean tree that has a tracked file with a double quote in its name未關閉area:gates kind:gate-defect needs-triage
難度 2/5 1-3 小時 新手友好度 78/100
InauguralSystems/EigenScript#2461 · 1 則留言 ·
維護者通常 1 天內回覆
-
area:gates kind:gate-defect needs-triage
難度 2/5 1-3 小時 新手友好度 86/100
InauguralSystems/EigenScript#2458 · 1 則留言 ·
維護者通常 1 天內回覆
-
`http_post`: `headers` text with something after its JSON value now means no headers, without a word未關閉area:http kind:silent-wrong
難度 2/5 1-3 小時 新手友好度 72/100
InauguralSystems/EigenScript#2394 · 1 則留言 ·
維護者通常 1 天內回覆
查看 InauguralSystems/EigenScript 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 92/100
flipperdevices/flipperzero-firmware#4520 ·
維護者通常 1 天內回覆
-
area/build-framework kind/enhancement priority/low
難度 2/5 1-3 小時 新手友好度 77/100
yugabyte/yugabyte-db#38826 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
meshcore-dev/MeshCore#3891 · 1 則留言 ·
維護者通常 1 天內回覆
-
bug grammar sev-3
難度 2/5 1-3 小時 新手友好度 76/100
-
status: needs-triage type: bug
難度 2/5 1-3 小時 新手友好度 75/100