Standalone test runs abort with heap corruption at teardown on Linux CI (worker:test, since 2026-12-03)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
- #253 @beaucollins による — マージされずにクローズ
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
Start by reproducing //src/valdi_modules/src/valdi/worker:test on Linux with bzl test //src/valdi_modules/src/valdi/worker:test --config=asan, as described in the issue, to locate the first invalid access. Then bisect the four commits between the last green CI run and the first failure, focusing on the named runtime and protobuf files. Done means identifying the cause of teardown corruption and confirming the standalone test completes without an abort.
索引モデルが issue の本文から書いたものです。
説明
Symptom
On Linux x86_64 CI (fastbuild, --js_engine hermes), standalone test runs abort with heap corruption after all specs pass:
//src/valdi_modules/src/valdi/worker:test(Valdi CI run 47236341893, main @ 4e7592ef):23 specs, 0 failures,Test run COMPLETE!, thencorrupted double-linked listand SIGABRT from__libc_free. It ran on the sharedvaldi/valdi_standalonerunner.- Run 47004000607 (main @ 81a99c0f, one day earlier):
corrupted double-linked listright afterTest run COMPLETE!, in other targets (//apps/helloworld/text_binding_fixture:text_binding_fixture_test,//valdi:test_java). - Last green
Valdi CIrun on main: 46778181893 (2026-12-02, 4925ed59).
So this is not specific to one module or to a per-module runner; the corruption happens during standalone runtime teardown and is first seen on main on 2026-12-03.
Suspects
The four commits that landed between the last green run and the first corruption run:
- 98bf710f touches
JavaScriptRuntime.cpp(about 70 lines),JSPromise.cpp,JSValueRefHolder.cppandJavaScriptANRDetector.cpp. - a946c374 touches
ProtobufArena.cppandProtobufModule.cpp.
Suggested next steps
- Reproduce with
bzl test //src/valdi_modules/src/valdi/worker:test --config=asanon Linux to get the first invalid access. - Bisect over the four commits above.
Correction
An earlier version of this issue attributed the abort to the per-module test runner introduced by https://github.com/Snapchat/Valdi/pull/211. That was wrong: the failure reproduces on main with the shared runner.
- 主要言語
- C++
- スター
- 16.4k
- フォーク
- 539
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Snapchat/Valdi のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
Rust codegen: RustMethodResolver fails to unwrap .nullable on optional interface/module methodsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
RTL-SDR: re-enumerating while streaming removes the in-use entry from the device selection dialog対応中かも @dpc00 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
throneproj/Throne#2227 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
deepseek-ai/DeepGEMM-Ascend#49 ·
メンテナーはふだん 1 日以内に返信