Standalone test runs abort with heap corruption at teardown on Linux CI (worker:test, since 2026-12-03)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
- #253 de @beaucollins — cerrado sin fusionar
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C++
- Estrellas
- 16.4k
- Forks
- 539
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Snapchat/Valdi
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
Rust codegen: RustMethodResolver fails to unwrap .nullable on optional interface/module methodsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
Todos los issues de Snapchat/Valdi
Issues similares
-
RTL-SDR: re-enumerating while streaming removes the in-use entry from the device selection dialogPosiblemente ocupada @dpc00 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 3 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
throneproj/Throne#2227 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
deepseek-ai/DeepGEMM-Ascend#49 ·
Los mantenedores suelen responder en 1 día