Standalone test runs abort with heap corruption at teardown on Linux CI (worker:test, since 2026-12-03)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
- #253 của @beaucollins — đã đóng, không merge
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C++
- Star
- 16.4k
- Fork
- 539
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Snapchat/Valdi
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Rust codegen: RustMethodResolver fails to unwrap .nullable on optional interface/module methodsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Snapchat/Valdi
Issue tương tự
-
RTL-SDR: re-enumerating while streaming removes the in-use entry from the device selection dialogCó thể đã có người làm @dpc00 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
throneproj/Throne#2227 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
deepseek-ai/DeepGEMM-Ascend#49 ·
Maintainer thường phản hồi trong vòng 1 ngày