Abseil deadlock detection
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- cpp, nodejs
- 领域
- compilers, testing-qa
调研方向
Start with deps/v8/src/base/platform/mutex.h around lines 121-125 and the crash site in deps/v8/src/common/code-memory-access.cc around line 149. Reproduce the intermittent failure on Linux x64 and inspect the linked ARM debug CI console and cctest stack histories; done means determining whether this is a false positive and documenting or implementing the appropriate suppression behavior.
由索引模型根据 Issue 内容生成。
描述
> @targos: I wonder if it may be caused by https://github.com/nodejs/node/commit/96fde580b2227d49a2c935195ecf351f3e8bf099. I only rebased and added that commit.
I can reproduce the issue on a linux x64 machine in 3 out of 10 runs. I don't think it is related to https://github.com/nodejs/node/commit/96fde580b2227d49a2c935195ecf351f3e8bf099. The failure is an abseil deadlock detection based on the order of locked mutexes. This is only enabled on non-darwin platforms: https://github.com/targos/node/blob/1ed6e9890fd5dcf79489b54264f6dcf125b917fe/deps/v8/src/base/platform/mutex.h#L121-L125.
I doubt that if crash sites like https://github.com/targos/node/blob/1ed6e9890fd5dcf79489b54264f6dcf125b917fe/deps/v8/src/common/code-memory-access.cc#L149 are actual deadlocks. This could be a false-positive as the logs in https://ci.nodejs.org/job/node-test-commit-arm-debug/17748/nodes=ubuntu2204_debug-arm64/console suggest that the stack histories are from two distinct cctests.
Can we suppress abseil deadlock detection?
Originally posted by @legendecas in https://github.com/nodejs/node/issues/57114#issuecomment-2743925721
- 主要语言
- Shell
- 星标
- 467
- 派生
- 75
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nodejs/node-v8 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 3/5 1-2 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 15/100
相似的 Issue
-
component:skill
难度 1/5 1 小时以内 新手友好度 94/100
agentic-os-org/ANOLISA#4086 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
adobe-fonts/source-serif#152 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
canonical/rocks-toolbox#52 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
tldr-pages/tldr#24565 ·
维护者通常 1 天内回复
-
agentic documentation
难度 2/5 1-3 小时 新手友好度 82/100
MagnaCapax/PMSS#981 ·
维护者通常 5 天内回复