Repository navigation
Closed as duplicate
Closed as duplicate
Copy link
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Description
Running tests against the vm-msan runtime using dartaotruntime_msan on Linux x64 (3.14.0-112.0.dev) crashes with a MemorySanitizer uninitialized-value read during process execution, causing test runner timeouts and exit failures (SIGKILL / exit code -9).
References & Context
- Repository & PR: Export TestFailure from package:test_api/scaffolding.dart test#2723
- Observed Commit: dart-lang/test@5768367
- Failed CI Workflow Run: https://github.com/dart-lang/test/actions/runs/31736696097
- Failed CI Job: https://github.com/dart-lang/test/actions/runs/31736696097/job/94571233926
Environment
- Dart SDK:
3.14.0-112.0.dev(dev) - OS: Linux x64 (
ubuntu-24.04) - Binary:
/opt/hostedtoolcache/dart/3.14.0-112.0.dev/x64/bin/dartaotruntime_msan(BuildId:577631e0234e91bd245eb81794c719d4f0cf25f8)
Reproduction Steps
- In
dart-lang/test(underpkgs/test), run tests targeting thevm-msanruntime:dart test test/runner/sanitizer_test.dart # or dart test test/runner/compiler_runtime_matrix_test.dart -p vm-msan -c exe
- Observe
dartaotruntime_msanencounteringMemorySanitizer: use-of-uninitialized-valueupon loading the test.
Stack Trace / Error Output
00:00 +0: loading test.dart
[e] ==4096==WARNING: MemorySanitizer: use-of-uninitialized-value
[e] #0 0x55658603f9bc (/opt/hostedtoolcache/dart/3.14.0-112.0.dev/x64/bin/dartaotruntime_msan+0xaab9bc) (BuildId: 577631e0234e91bd245eb81794c719d4f0cf25f8)
[e] #1 0x55658602f96a (/opt/hostedtoolcache/dart/3.14.0-112.0.dev/x64/bin/dartaotruntime_msan+0xa9b96a) (BuildId: 577631e0234e91bd245eb81794c719d4f0cf25f8)
[e] #2 0x556585995be3 (/opt/hostedtoolcache/dart/3.14.0-112.0.dev/x64/bin/dartaotruntime_msan+0x401be3) (BuildId: 577631e0234e91bd245eb81794c719d4f0cf25f8)
[e] #3 0x556585994a7c (/opt/hostedtoolcache/dart/3.14.0-112.0.dev/x64/bin/dartaotruntime_msan+0x400a7c) (BuildId: 577631e0234e91bd245eb81794c719d4f0cf25f8)
[e] #4 0x7f49bda2a1c9 (/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9) (BuildId: 328820b908de8ea1ef79afa8995e302e819163d7)
[e] #5 0x7f49bda2a28a (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 328820b908de8ea1ef79afa8995e302e819163d7)
[e] #6 0x556585907984 (/opt/hostedtoolcache/dart/3.14.0-112.0.dev/x64/bin/dartaotruntime_msan+0x373984) (BuildId: 577631e0234e91bd245eb81794c719d4f0cf25f8)
[e]
[e] SUMMARY: MemorySanitizer: use-of-uninitialized-value (/opt/hostedtoolcache/dart/3.14.0-112.0.dev/x64/bin/dartaotruntime_msan+0xaab9bc) (BuildId: 577631e0234e91bd245eb81794c719d4f0cf25f8)
[e] Exiting
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Activity
kevmoo commentedon Aug 13, 2026
Confirmed locally with the downloaded
3.14.0-112.0.devprebuilt Linux x64 SDK.The crash occurs immediately during binary initialization without running any test framework code — even invoking
--versionon the MSAN binaries reproduces it directly:$ /tmp/dart-sdk-dev/dart-sdk/bin/dartaotruntime_msan --version ==2186372==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x55f254fe99bc (/tmp/dart-sdk-dev/dart-sdk/bin/dartaotruntime_msan+0xaab9bc) (BuildId: 577631e0234e91bd245eb81794c719d4f0cf25f8) #1 0x55f254fd996a (/tmp/dart-sdk-dev/dart-sdk/bin/dartaotruntime_msan+0xa9b96a) (BuildId: 577631e0234e91bd245eb81794c719d4f0cf25f8) #2 0x55f25493fbe3 (/tmp/dart-sdk-dev/dart-sdk/bin/dartaotruntime_msan+0x401be3) (BuildId: 577631e0234e91bd245eb81794c719d4f0cf25f8) #3 0x55f25493ea7c (/tmp/dart-sdk-dev/dart-sdk/bin/dartaotruntime_msan+0x400a7c) (BuildId: 577631e0234e91bd245eb81794c719d4f0cf25f8) #4 0x7f1efc40ff76 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x29f76) (BuildId: 6da52175e8398119d2aaec121f7ff07e20c8b322) #5 0x7f1efc410026 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x2a026) (BuildId: 6da52175e8398119d2aaec121f7ff07e20c8b322) #6 0x55f2548b1984 (/tmp/dart-sdk-dev/dart-sdk/bin/dartaotruntime_msan+0x373984) (BuildId: 577631e0234e91bd245eb81794c719d4f0cf25f8) SUMMARY: MemorySanitizer: use-of-uninitialized-value (/tmp/dart-sdk-dev/dart-sdk/bin/dartaotruntime_msan+0xaab9bc) (BuildId: 577631e0234e91bd245eb81794c719d4f0cf25f8) ExitingBoth
dartaotruntime_msananddartcliruntime_msanare affected.simolus3 commentedon Aug 15, 2026
dartaotruntime_msanreports use-of-uninitialized-value in 3.14.0-112.0.dev #64040