[BUG] Intermittent SIGBUS (exit 135) in MTP test hosts on Linux with dynamic instrumentation (dotnet-coverage 18.11.2)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- csharp
- 领域
- testing-qa
调研方向
Start by comparing the dynamic-instrumentation repro with the static and no-coverage modes described in the issue, then review related issues #249, #232, and #238 for context. Reproduce the parallel MTP test-host startup on Linux using the listed .NET and dotnet-coverage versions; done means identifying and fixing the cause so dynamic coverage no longer produces SIGBUS or zero-test runs.
由索引模型根据 Issue 内容生成。
描述
- Linux: MTP test hosts intermittently die at startup with SIGBUS (exit 135) under
dotnet-coverage collectwith default dynamic instrumentation;dotnet testreportsZero tests ran, module varies - Static instrumentation (
EnableDynamicManagedInstrumentation=false,EnableStaticManagedInstrumentation=true,--include-files) or no coverage: no crashes - Env: GitHub Actions ubuntu-24.04 (8 vCPU), .NET 10.0.12 (also seen on 10.0.11), dotnet-coverage 18.11.2, TUnit 1.70.1 / MTP 2.4.1,
--report-trx - Repro: 8 MTP test apps started in parallel under one
dotnet-coverage collectsession, 40 iterations (320 host starts) per mode
| Mode | Exit 135 | Exit 7 (zero tests) |
|---|---|---|
| No coverage | 0 | 0 |
| Dynamic (default) | 6 | 10 |
| Static | 0 | 0 |
Linux counterpart of #249 (this is the isolation run suggested there); possibly related to #232 / #238.
- 主要语言
- C#
- 星标
- 125
- 派生
- 17
- 平均合并
- 1 小时 15 分钟
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/codecoverage 的其他 Issue
-
难度 5/5 一周以上 新手友好度 10/100
microsoft/codecoverage#255 ·
-
难度 3/5 1-2 天 新手友好度 22/100
microsoft/codecoverage#254 ·
-
难度 3/5 1-2 天 新手友好度 65/100
microsoft/codecoverage#252 ·
-
难度 4/5 3-5 天 新手友好度 52/100
microsoft/codecoverage#251 ·
-
难度 4/5 3-5 天 新手友好度 35/100
microsoft/codecoverage#249 · 1 条评论 · 1 个 reaction ·
查看 microsoft/codecoverage 的全部 Issue
相似的 Issue
-
needs-area-label
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
Fallout-build/Fallout#708 ·
维护者通常 5 天内回复
-
bug next version
难度 2/5 1-3 小时 新手友好度 68/100
Rem0o/FanControl.Releases#4220 · 1 条评论 ·
-
area:repo audit:approved audit:auto priority:P3
难度 2/5 1-3 小时 新手友好度 66/100
elsa-workflows/elsa-core#8771 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
nkdAgility/azure-devops-migration-tools#3217 ·
维护者通常 1 天内回复