pthread-tls-probe under Rosetta hangs in about 2 of 100 runs
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- c, macos
调研方向
Start with tests/x86_64-glibc-pthread-tls.c and reproduce the intermittent hang using the provided loop under Rosetta. Then run make test-rosetta-glibc to check the suite behavior; the issue does not identify where execution stops, so tracing the hang is an initial step. Done means the probe no longer hangs intermittently and the Rosetta test lane passes.
由索引模型根据 Issue 内容生成。
描述
pthread-tls-probe (tests/x86_64-glibc-pthread-tls.c), the x86_64 glibc probe that starts one worker thread and joins it, sometimes never returns under Rosetta. It prints nothing before it stops: neither the success marker nor one of its failure markers.
R=externals/test-fixtures/x86_64-glibc/rootfs
for i in $(seq 1 300); do
timeout 5 build/elfuse --sysroot $R $R/usr/bin/pthread-tls-probe > /dev/null 2>&1
[ $? -eq 124 ] && echo "run $i timed out"
done
Timeouts in 300 runs:
mainat b57f367: 6- #408 at 9f12c41: 7
- #408 at 0a70404: 7
A run that returns takes well under a second. In the suite it is glibc-pthread-tls: rc=124 in make test-rosetta-glibc, which make test-matrix runs; it failed 1 of 5 make test-rosetta-glibc runs and 1 of 2 make test-matrix runs here. The other six probes in that lane (glibc-hello, glibc-dlopen, glibc-tls, glibc-gdtls among them) passed in every one of those runs.
Where it stops is not known: the hang has not been attached to or traced.
- 主要语言
- C
- 星标
- 271
- 派生
- 28
- 平均合并
- 2 天 18 小时
- 30 天内合并 PR
- 19
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sysprog21/elfuse 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 2 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 52/100
维护者通常 2 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 78/100
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 48/100
维护者通常 2 天内回复
相似的 Issue
-
[P2] Workspace updates silently ignore forbidden assignments while staging the row可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 70/100
维护者通常 4 天内回复
-
category:port-update
难度 2/5 1-3 小时 新手友好度 72/100
microsoft/vcpkg#54338 · 1 条评论 ·
维护者通常 2 天内回复
-
area:http-gateway good first issue priority:low type:docs
难度 2/5 1-3 小时 新手友好度 88/100
crazy-goat/php-fpm-ng#828 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 63/100
SunDevilRocketry/Flight-Computer-Firmware#347 ·
维护者通常 3 天内回复