Skip to content

Failures on [vm] Fix v8 snapshot profile issue with deferred libaries. #61709

@alexmarkov

Description

@alexmarkov

There are new test failures on [vm] Fix v8 snapshot profile issue with deferred libaries..

The tests

vm/dart/regress_flutter169921_test RuntimeError (expected Pass)

are failing on configurations

vm-aot-linux-debug-arm64
vm-aot-linux-debug-simarm_x64
vm-aot-linux-debug-simriscv32
vm-aot-linux-debug-simriscv64
vm-aot-linux-debug-x64
vm-aot-linux-debug-x64c
vm-aot-mac-debug-arm64
vm-aot-mac-debug-x64
vm-aot-win-debug-arm64
vm-aot-win-debug-x64
vm-aot-win-debug-x64c
../../runtime/vm/app_snapshot.cc: 7689: error: expected: HasRef(elem)
version=3.11.0-edge (main) (Unknown timestamp) on "linux_x64"
pid=75227, thread=75227, isolate_group=isolate(0x58fa6332b550), isolate=isolate(0x58fa633286d0)
os=linux, arch=x64, comp=no, sim=no
isolate_instructions=0, vm_instructions=0
fp=7fff8cdbbfc0, sp=7fff8cdbbf90, pc=58fa3796ceb6
  pc 0x000058fa3796ceb6 fp 0x00007fff8cdbbfc0 dart::Profiler::DumpStackTrace+0x26
  pc 0x000058fa3769d4d2 fp 0x00007fff8cdbc0a0 dart::Assert::Fail+0x82
  pc 0x000058fa3771ffce fp 0x00007fff8cdbc130 dart::Serializer::CreateArtificialNodeIfNeeded+0x88e
  pc 0x000058fa3773ba7f fp 0x00007fff8cdbc1b0 dart::CodeSerializationCluster::WriteFill+0x14f
  pc 0x000058fa3773b341 fp 0x00007fff8cdbc200 dart::CodeSerializationCluster::WriteFill+0x111
  pc 0x000058fa3772725f fp 0x00007fff8cdbc2c0 dart::Serializer::Serialize+0x96f
  pc 0x000058fa3772b165 fp 0x00007fff8cdbc550 dart::FullSnapshotWriter::WriteProgramSnapshot+0x1e5
  pc 0x000058fa3772bab5 fp 0x00007fff8cdbc570 dart::FullSnapshotWriter::WriteFullSnapshot+0x35
  pc 0x000058fa3813c6fc fp 0x00007fff8cdbc950 dart::CreateAppAOTSnapshot+0x44c
  pc 0x000058fa3813cda1 fp 0x00007fff8cdbca50 dart::Split+0x371
  pc 0x000058fa3813d5a6 fp 0x00007fff8cdbcb20 Dart_CreateAppAOTSnapshotAsElfs+0xe6
  pc 0x000058fa3766e97b fp 0x00007fff8cdbcc90 dart::bin::main+0xbbb
-- End of DumpStackTrace

stderr:
Unhandled exception:
Command failed with unexpected exit code (was -6)
#0      run (file:///b/s/w/ir/runtime/tests/vm/dart/use_flag_test_helper.dart:239)
<asynchronous suspension>
#1      main.<anonymous closure> (file:///b/s/w/ir/runtime/tests/vm/dart/regress_flutter169921_test.dart:50)
<asynchronous suspension>
#2      withTempDir (file:///b/s/w/ir/runtime/tests/vm/dart/use_flag_test_helper.dart:308)
<asynchronous suspension>
#3      main (file:///b/s/w/ir/runtime/tests/vm/dart/regress_flutter169921_test.dart:34)
<asynchronous suspension>

--- Re-run this test:
python3 tools/test.py -n vm-aot-linux-debug-x64 vm/dart/regress_flutter169921_test

log

The test was added in 5b69fdd and immediately started failing on all AOT debug bots.

@sstrickl Could you take a look?

Metadata

Metadata

Assignees

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.gardening

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions