pthread-tls-probe under Rosetta hangs in about 2 of 100 runs
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 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時間
- マージ済み PR(30日)
- 19
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 1週間以上 初心者へのやさしさ 48/100
メンテナーはふだん 2 日以内に返信
sysprog21/elfuse の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
OpenPrinting/cups#1751 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Policy query leaks host primary block (BSL_PrimaryBlock_deinit skipped) on two early-exit pathsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NASA-AMMOS/BSL#355 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
arancormonk/dsd-neo#660 ·
メンテナーはふだん 1 日以内に返信