Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store buffer verification code triggers #55754

Closed
mkustermann opened this issue May 17, 2024 · 0 comments
Closed

Store buffer verification code triggers #55754

mkustermann opened this issue May 17, 2024 · 0 comments
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. gardening

Comments

@mkustermann
Copy link
Member

From this failure:

Start: out/DebugSIMARM64/dart --profiler --sample_buffer_duration=45 --verify_store_buffer --no_concurrent_mark --test_il_serialization pkg/compiler/lib/src/dart2js.dart --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/0.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
Start: out/ReleaseX64/dart pkg/vm/bin/gen_kernel.dart --platform=out/DebugSIMARM64/vm_platform_strong.dill --aot --output=out/dartfuzz/1.dill pkg/compiler/lib/src/dart2js.dart
Start: out/DebugSIMARM64C/dart --profiler --profile_vm=false --profile_period=8877 --no_concurrent_mark --verify_store_buffer --code_comments --inlining_small_leaf_size_threshold=47 pkg/compiler/lib/src/dart2js.dart --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/2.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
Start: out/ReleaseX64/dart pkg/vm/bin/gen_kernel.dart --platform=out/ReleaseX64C/vm_platform_strong.dill --aot --output=out/dartfuzz/3.dill pkg/compiler/lib/src/dart2js.dart
Start: out/DebugX64/dart --profiler --profile_vm=false --sample_buffer_duration=45 --marker_tasks=0 --verify_store_buffer --mark_when_idle --no_unopt_monomorphic_calls --optimization_level=3 pkg/compiler/lib/src/dart2js.dart --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/4.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
Start: out/DebugX64C/dart --profiler --profile_vm=true --profile_vm=true --dontneed_on_sweep --no_inline_alloc --no_intrinsify --inlining_size_threshold=34 pkg/compiler/lib/src/dart2js.dart --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/5.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
Start: out/ReleaseX64/dart pkg/vm/bin/gen_kernel.dart --platform=out/DebugSIMRISCV64/vm_platform_strong.dill --aot --output=out/dartfuzz/6.dill pkg/compiler/lib/src/dart2js.dart
Start: out/ReleaseX64/dart pkg/vm/bin/gen_kernel.dart --platform=out/ReleaseSIMARM64/vm_platform_strong.dill --aot --output=out/dartfuzz/7.dill pkg/compiler/lib/src/dart2js.dart
Success: out/ReleaseX64/dart pkg/vm/bin/gen_kernel.dart --platform=out/ReleaseSIMARM64/vm_platform_strong.dill --aot --output=out/dartfuzz/7.dill pkg/compiler/lib/src/dart2js.dart
Start: out/ReleaseSIMARM64/gen_snapshot --write_protect_code --no_use_osr --no_use_field_guards --snapshot_kind=app-aot-elf --elf=out/dartfuzz/7.elf out/dartfuzz/7.dill
Success: out/ReleaseX64/dart pkg/vm/bin/gen_kernel.dart --platform=out/DebugSIMARM64/vm_platform_strong.dill --aot --output=out/dartfuzz/1.dill pkg/compiler/lib/src/dart2js.dart
Start: out/DebugSIMARM64/gen_snapshot --runtime_allocate_spill_tlab --mark_when_idle --inlining_callee_call_sites_threshold=1 --no_truncating_left_shift --snapshot_kind=app-aot-elf --elf=out/dartfuzz/1.elf out/dartfuzz/1.dill
Success: out/ReleaseX64/dart pkg/vm/bin/gen_kernel.dart --platform=out/ReleaseX64C/vm_platform_strong.dill --aot --output=out/dartfuzz/3.dill pkg/compiler/lib/src/dart2js.dart
Start: out/ReleaseX64C/gen_snapshot --verify_before_gc --no_concurrent_sweep --runtime_allocate_spill_tlab --target_unknown_cpu --no_use_cha_deopt --snapshot_kind=app-aot-elf --elf=out/dartfuzz/3.elf out/dartfuzz/3.dill
Success: out/ReleaseX64/dart pkg/vm/bin/gen_kernel.dart --platform=out/DebugSIMRISCV64/vm_platform_strong.dill --aot --output=out/dartfuzz/6.dill pkg/compiler/lib/src/dart2js.dart
Start: out/DebugSIMRISCV64/gen_snapshot --runtime_allocate_old --force_evacuation --no_concurrent_mark --no_prune_dead_locals --max_equality_polymorphic_checks=206 --snapshot_kind=app-aot-elf --elf=out/dartfuzz/6.elf out/dartfuzz/6.dill

=== FAILURE ===
command: out/DebugX64/dart --profiler --profile_vm=false --sample_buffer_duration=45 --marker_tasks=0 --verify_store_buffer --mark_when_idle --no_unopt_monomorphic_calls --optimization_level=3 pkg/compiler/lib/src/dart2js.dart --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/4.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
exitCode: -6
stdout:

stderr:
../../runtime/vm/heap/pages.cc: 1225: error: Verifying remembered set after marking: expected: in_store_buffer_->Contains(obj)
version=3.5.0-edge (main) (Unknown timestamp) on "linux_x64"
pid=674957, thread=675010, isolate_group=kernel-service(0x7f07f0000ec0), isolate=(nil)((nil))
os=linux, arch=x64, comp=no, sim=no
isolate_instructions=7f07e926c000, vm_instructions=55d530204920
fp=7f07e647bd50, sp=7f07e647bc20, pc=55d5306071cc
  pc 0x000055d5306071cc fp 0x00007f07e647bd50 dart::Profiler::DumpStackTrace+0x7c
  pc 0x000055d530204b14 fp 0x00007f07e647be30 dart::Assert::Fail+0x84
  pc 0x000055d53071d1b5 fp 0x00007f07e647be70 dart::CheckStoreBufferEvacuateVisitor::VisitObject+0x195
  pc 0x000055d530714a06 fp 0x00007f07e647bed0 dart::Page::VisitObjects+0xd6
  pc 0x000055d53071835d fp 0x00007f07e647bf50 dart::PageSpace::VisitObjects+0x5d
  pc 0x000055d53071b474 fp 0x00007f07e647c6a0 dart::PageSpace::VerifyStoreBuffers+0x154
  pc 0x000055d53071ad0b fp 0x00007f07e647c800 dart::PageSpace::CollectGarbageHelper+0x38b
  pc 0x000055d53071a78a fp 0x00007f07e647c8a0 dart::PageSpace::CollectGarbage+0x1da
  pc 0x000055d5307036bc fp 0x00007f07e647c9e0 dart::Heap::CollectOldSpaceGarbage+0x2ec
  pc 0x000055d5307030fc fp 0x00007f07e647ca60 dart::Heap::AllocateOld+0x28c
  pc 0x000055d53050f73b fp 0x00007f07e647cae0 dart::Object::Allocate+0x7b
  pc 0x000055d53058c6f0 fp 0x00007f07e647cb30 dart::TypedData::New+0xa0
  pc 0x000055d530670ecb fp 0x00007f07e647d280 dart::DRT_AllocateTypedData+0x20b
  pc 0x00007f081e983552 fp 0x00007f07e647d2c0 Unknown symbol
  pc 0x00007f081e9811ef fp 0x00007f07e647d2f8 Unknown symbol
  pc 0x00007f07e931b7f1 fp 0x00007f07e647d320 Unknown symbol
  pc 0x00007f07e93329f4 fp 0x00007f07e647d370 Unknown symbol
  pc 0x00007f07e9333137 fp 0x00007f07e647d3d0 Unknown symbol
  pc 0x00007f07e933376e fp 0x00007f07e647d410 Unknown symbol
  pc 0x00007f07e9be4aeb fp 0x00007f07e647d468 Unknown symbol
  pc 0x00007f07e9be4c87 fp 0x00007f07e647d4a8 Unknown symbol
  pc 0x00007f07e9be4da3 fp 0x00007f07e647d4e8 Unknown symbol
  pc 0x00007f07e9cdf0cc fp 0x00007f07e647d5d8 Unknown symbol
  pc 0x00007f07e9cf2ec0 fp 0x00007f07e647d648 Unknown symbol
  pc 0x00007f07e9b9f8b5 fp 0x00007f07e647d6d8 Unknown symbol
  pc 0x00007f07e9cf2753 fp 0x00007f07e647d720 Unknown symbol
  pc 0x00007f07e9d28066 fp 0x00007f07e647d798 Unknown symbol
  pc 0x00007f07e9d2b7fd fp 0x00007f07e647d8f8 Unknown symbol
  pc 0x00007f07e9d2f99c fp 0x00007f07e647d948 Unknown symbol
  pc 0x00007f07e9ae556f fp 0x00007f07e647d9a0 Unknown symbol
  pc 0x00007f07e946de26 fp 0x00007f07e647d9f0 Unknown symbol
  pc 0x00007f07e9ae920b fp 0x00007f07e647da50 Unknown symbol
  pc 0x00007f07bccbf81e fp 0x00007f07e647dab8 Unknown symbol
  pc 0x00007f07e9ae9b57 fp 0x00007f07e647db00 Unknown symbol
  pc 0x00007f07e9d2fda4 fp 0x00007f07e647db48 Unknown symbol
  pc 0x00007f081e989a09 fp 0x00007f07e647db78 Unknown symbol
  pc 0x00007f07e9d2f99c fp 0x00007f07e647dbc8 Unknown symbol
  pc 0x00007f07e9ae556f fp 0x00007f07e647dc20 Unknown symbol
  pc 0x00007f07e946de26 fp 0x00007f07e647dc70 Unknown symbol
  pc 0x00007f07e9ae920b fp 0x00007f07e647dcd0 Unknown symbol
  pc 0x00007f07bccbf81e fp 0x00007f07e647dd38 Unknown symbol
  pc 0x00007f07e9ae9b57 fp 0x00007f07e647dd80 Unknown symbol
  pc 0x00007f07e9d2fda4 fp 0x00007f07e647ddc8 Unknown symbol
  pc 0x00007f081e989a09 fp 0x00007f07e647ddf8 Unknown symbol
  pc 0x00007f07e9d2f99c fp 0x00007f07e647de48 Unknown symbol
  pc 0x00007f07e9ae556f fp 0x00007f07e647dea0 Unknown symbol
  pc 0x00007f07e946de26 fp 0x00007f07e647def0 Unknown symbol
  pc 0x00007f07e9ae920b fp 0x00007f07e647df50 Unknown symbol
  pc 0x00007f07bccbf81e fp 0x00007f07e647dfb8 Unknown symbol
  pc 0x00007f07e9ae9b57 fp 0x00007f07e647e000 Unknown symbol
  pc 0x00007f07e9ae9c5a fp 0x00007f07e647e040 Unknown symbol
  pc 0x00007f07e9ae4e1d fp 0x00007f07e647e088 Unknown symbol
  pc 0x00007f07e9ae51d5 fp 0x00007f07e647e0c8 Unknown symbol
  pc 0x00007f07e9ae53f6 fp 0x00007f07e647e0f0 Unknown symbol
  pc 0x00007f07e9415ff9 fp 0x00007f07e647e130 Unknown symbol
  pc 0x00007f07e941782d fp 0x00007f07e647e1b0 Unknown symbol
  pc 0x00007f07e9414543 fp 0x00007f07e647e1e8 Unknown symbol
  pc 0x00007f07e9414619 fp 0x00007f07e647e218 Unknown symbol
  pc 0x00007f07e94169f3 fp 0x00007f07e647e280 Unknown symbol
  pc 0x00007f07e9d30b59 fp 0x00007f07e647e2d8 Unknown symbol
  pc 0x00007f081e9839d4 fp 0x00007f07e647e350 Unknown symbol
  pc 0x000055d53045ddaf fp 0x00007f07e647e3c0 dart::DartEntry::InvokeFunction+0x12f
  pc 0x000055d530460995 fp 0x00007f07e647e420 dart::DartLibraryCalls::HandleMessage+0xf5
  pc 0x000055d5304980dd fp 0x00007f07e647ebb0 dart::IsolateMessageHandler::HandleMessage+0x37d
  pc 0x000055d5304d6345 fp 0x00007f07e647ec40 dart::MessageHandler::HandleMessages+0x1d5
  pc 0x000055d5304d6fe7 fp 0x00007f07e647ecc0 dart::MessageHandler::TaskCallback+0x307
  pc 0x000055d5306cfdc8 fp 0x00007f07e647ed50 dart::ThreadPool::WorkerLoop+0x188
  pc 0x000055d5306d06eb fp 0x00007f07e647eda0 dart::ThreadPool::Worker::Main+0x12b
  pc 0x000055d530600353 fp 0x00007f07e647eef0 dart::ThreadStart+0x103
-- End of DumpStackTrace
  pc 0x0000000000000000 fp 0x00007f07e647d2c0 sp 0x0000000000000000 [Stub] CallToRuntime
  pc 0x00007f081e9811ef fp 0x00007f07e647d2f8 sp 0x00007f07e647d2d0 [Stub] AllocateUint8Array
  pc 0x00007f07e931b7f1 fp 0x00007f07e647d320 sp 0x00007f07e647d308 [Unoptimized] new Uint8List.
  pc 0x00007f07e93329f4 fp 0x00007f07e647d370 sp 0x00007f07e647d330 [Unoptimized] _CopyingBytesBuilder@9040228._grow@9040228
  pc 0x00007f07e9333137 fp 0x00007f07e647d3d0 sp 0x00007f07e647d380 [Unoptimized] _CopyingBytesBuilder@9040228.add
  pc 0x00007f07e933376e fp 0x00007f07e647d410 sp 0x00007f07e647d3e0 [Unoptimized] BytesSink.add
  pc 0x00007f07e9be4aeb fp 0x00007f07e647d468 sp 0x00007f07e647d420 [Unoptimized] BufferedSink.addBytes
  pc 0x00007f07e9be4c87 fp 0x00007f07e647d4a8 sp 0x00007f07e647d478 [Unoptimized] BinaryPrinter.writeBytes
  pc 0x00007f07e9be4da3 fp 0x00007f07e647d4e8 sp 0x00007f07e647d4b8 [Unoptimized] BinaryPrinter.writeByteList
  pc 0x00007f07e9cdf0cc fp 0x00007f07e647d5d8 sp 0x00007f07e647d4f8 [Optimized] BinaryPrinter.writeUriToSource
  pc 0x00007f07e9cf2ec0 fp 0x00007f07e647d648 sp 0x00007f07e647d5e8 [Unoptimized] BinaryPrinter.writeComponentFile.<anonymous closure>
  pc 0x00007f07e9b9f8b5 fp 0x00007f07e647d6d8 sp 0x00007f07e647d658 [Unoptimized] Timeline.timeSync
  pc 0x00007f07e9cf2753 fp 0x00007f07e647d720 sp 0x00007f07e647d6e8 [Unoptimized] BinaryPrinter.writeComponentFile
  pc 0x00007f07e9d28066 fp 0x00007f07e647d798 sp 0x00007f07e647d730 [Unoptimized] serializeComponent
  pc 0x00007f07e9d2b7fd fp 0x00007f07e647d8f8 sp 0x00007f07e647d7a8 [Unoptimized] _processLoadRequest@18391651
  pc 0x00007f07e9d2f99c fp 0x00007f07e647d948 sp 0x00007f07e647d908 [Unoptimized] _SuspendState@4048458._createAsyncCallbacks@4048458.thenCallback
  pc 0x00007f07e9ae556f fp 0x00007f07e647d9a0 sp 0x00007f07e647d958 [Unoptimized] _RootZone@4048458.runUnary
  pc 0x00007f07e946de26 fp 0x00007f07e647d9f0 sp 0x00007f07e647d9b0 [Unoptimized] _FutureListener@4048458.handleValue
  pc 0x00007f07e9ae920b fp 0x00007f07e647da50 sp 0x00007f07e647da00 [Unoptimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00007f07bccbf81e fp 0x00007f07e647dab8 sp 0x00007f07e647da60 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x00007f07e9ae9b57 fp 0x00007f07e647db00 sp 0x00007f07e647dac8 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x00007f07e9d2fda4 fp 0x00007f07e647db48 sp 0x00007f07e647db10 [Unoptimized] _SuspendState@4048458._returnAsync@4048458
  pc 0x00007f081e989a09 fp 0x00007f07e647db78 sp 0x00007f07e647db58 [Stub] ReturnAsync
  pc 0x00007f07e9d2f99c fp 0x00007f07e647dbc8 sp 0x00007f07e647db88 [Unoptimized] _SuspendState@4048458._createAsyncCallbacks@4048458.thenCallback
  pc 0x00007f07e9ae556f fp 0x00007f07e647dc20 sp 0x00007f07e647dbd8 [Unoptimized] _RootZone@4048458.runUnary
  pc 0x00007f07e946de26 fp 0x00007f07e647dc70 sp 0x00007f07e647dc30 [Unoptimized] _FutureListener@4048458.handleValue
  pc 0x00007f07e9ae920b fp 0x00007f07e647dcd0 sp 0x00007f07e647dc80 [Unoptimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00007f07bccbf81e fp 0x00007f07e647dd38 sp 0x00007f07e647dce0 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x00007f07e9ae9b57 fp 0x00007f07e647dd80 sp 0x00007f07e647dd48 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x00007f07e9d2fda4 fp 0x00007f07e647ddc8 sp 0x00007f07e647dd90 [Unoptimized] _SuspendState@4048458._returnAsync@4048458
  pc 0x00007f081e989a09 fp 0x00007f07e647ddf8 sp 0x00007f07e647ddd8 [Stub] ReturnAsync
  pc 0x00007f07e9d2f99c fp 0x00007f07e647de48 sp 0x00007f07e647de08 [Unoptimized] _SuspendState@4048458._createAsyncCallbacks@4048458.thenCallback
  pc 0x00007f07e9ae556f fp 0x00007f07e647dea0 sp 0x00007f07e647de58 [Unoptimized] _RootZone@4048458.runUnary
  pc 0x00007f07e946de26 fp 0x00007f07e647def0 sp 0x00007f07e647deb0 [Unoptimized] _FutureListener@4048458.handleValue
  pc 0x00007f07e9ae920b fp 0x00007f07e647df50 sp 0x00007f07e647df00 [Unoptimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00007f07bccbf81e fp 0x00007f07e647dfb8 sp 0x00007f07e647df60 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x00007f07e9ae9b57 fp 0x00007f07e647e000 sp 0x00007f07e647dfc8 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x00007f07e9ae9c5a fp 0x00007f07e647e040 sp 0x00007f07e647e010 [Unoptimized] _Future@4048458._asyncCompleteWithValue@4048458.<anonymous closure>
  pc 0x00007f07e9ae4e1d fp 0x00007f07e647e088 sp 0x00007f07e647e050 [Unoptimized] _microtaskLoop@4048458
  pc 0x00007f07e9ae51d5 fp 0x00007f07e647e0c8 sp 0x00007f07e647e098 [Unoptimized] _startMicrotaskLoop@4048458
  pc 0x00007f07e9ae53f6 fp 0x00007f07e647e0f0 sp 0x00007f07e647e0d8 [Unoptimized] _startMicrotaskLoop@4048458
  pc 0x00007f07e9415ff9 fp 0x00007f07e647e130 sp 0x00007f07e647e100 [Unoptimized] _runPendingImmediateCallback@1026248
  pc 0x00007f07e941782d fp 0x00007f07e647e1b0 sp 0x00007f07e647e140 [Unoptimized] _Timer@1026248._runTimers@1026248
  pc 0x00007f07e9414543 fp 0x00007f07e647e1e8 sp 0x00007f07e647e1c0 [Unoptimized] _Timer@1026248._handleMessage@1026248
  pc 0x00007f07e9414619 fp 0x00007f07e647e218 sp 0x00007f07e647e1f8 [Unoptimized] _Timer@1026248._handleMessage@1026248
  pc 0x00007f07e94169f3 fp 0x00007f07e647e280 sp 0x00007f07e647e228 [Unoptimized] _Closure@0150898.dyn:call
  pc 0x00007f07e9d30b59 fp 0x00007f07e647e2d8 sp 0x00007f07e647e290 [Unoptimized] _RawReceivePort@1026248._handleMessage@1026248
  pc 0x00007f081e9839d4 fp 0x00007f07e647e350 sp 0x00007f07e647e2e8 [Stub] InvokeDartCode

Success: out/ReleaseSIMARM64/gen_snapshot --write_protect_code --no_use_osr --no_use_field_guards --snapshot_kind=app-aot-elf --elf=out/dartfuzz/7.elf out/dartfuzz/7.dill
Start: out/ReleaseSIMARM64/dart_precompiled_runtime --profiler --profile_vm=true --max_profile_depth=62 --runtime_allocate_old --runtime_allocate_spill_tlab --verify_before_gc out/dartfuzz/7.elf --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/7.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
Success: out/ReleaseX64C/gen_snapshot --verify_before_gc --no_concurrent_sweep --runtime_allocate_spill_tlab --target_unknown_cpu --no_use_cha_deopt --snapshot_kind=app-aot-elf --elf=out/dartfuzz/3.elf out/dartfuzz/3.dill
Start: out/ReleaseX64C/dart_precompiled_runtime --profiler --profile_period=8877 --verify_before_gc --dontneed_on_sweep --marker_tasks=0 out/dartfuzz/3.elf --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/3.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
Success: out/DebugSIMARM64/gen_snapshot --runtime_allocate_spill_tlab --mark_when_idle --inlining_callee_call_sites_threshold=1 --no_truncating_left_shift --snapshot_kind=app-aot-elf --elf=out/dartfuzz/1.elf out/dartfuzz/1.dill
Start: out/DebugSIMARM64/dart_precompiled_runtime --profiler --profile_vm=false --sample_buffer_duration=45 --no_concurrent_sweep --compactor_tasks=2 out/dartfuzz/1.elf --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/1.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
Success: out/DebugSIMRISCV64/gen_snapshot --runtime_allocate_old --force_evacuation --no_concurrent_mark --no_prune_dead_locals --max_equality_polymorphic_checks=206 --snapshot_kind=app-aot-elf --elf=out/dartfuzz/6.elf out/dartfuzz/6.dill
Start: out/DebugSIMRISCV64/dart_precompiled_runtime --profiler --profile_vm=false --verify_before_gc --no_inline_alloc out/dartfuzz/6.elf --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/6.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
7 tasks still running after 6 minutes
Success: out/DebugX64C/dart --profiler --profile_vm=true --profile_vm=true --dontneed_on_sweep --no_inline_alloc --no_intrinsify --inlining_size_threshold=34 pkg/compiler/lib/src/dart2js.dart --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/5.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
Start: diff out/dartfuzz/expected.js out/dartfuzz/5.js
Success: diff out/dartfuzz/expected.js out/dartfuzz/5.js
6 tasks still running after 11 minutes
Success: out/ReleaseX64C/dart_precompiled_runtime --profiler --profile_period=8877 --verify_before_gc --dontneed_on_sweep --marker_tasks=0 out/dartfuzz/3.elf --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/3.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
Start: diff out/dartfuzz/expected.js out/dartfuzz/3.js
Success: diff out/dartfuzz/expected.js out/dartfuzz/3.js
5 tasks still running after 16 minutes
5 tasks still running after 21 minutes
5 tasks still running after 26 minutes
Timeout: out/DebugSIMARM64C/dart --profiler --profile_vm=false --profile_period=8877 --no_concurrent_mark --verify_store_buffer --code_comments --inlining_small_leaf_size_threshold=47 pkg/compiler/lib/src/dart2js.dart --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/2.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
Timeout: out/DebugSIMARM64/dart --profiler --sample_buffer_duration=45 --verify_store_buffer --no_concurrent_mark --test_il_serialization pkg/compiler/lib/src/dart2js.dart --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/0.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
Timeout: out/ReleaseSIMARM64/dart_precompiled_runtime --profiler --profile_vm=true --max_profile_depth=62 --runtime_allocate_old --runtime_allocate_spill_tlab --verify_before_gc out/dartfuzz/7.elf --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/7.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
Timeout: out/DebugSIMARM64/dart_precompiled_runtime --profiler --profile_vm=false --sample_buffer_duration=45 --no_concurrent_sweep --compactor_tasks=2 out/dartfuzz/1.elf --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/1.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart
Timeout: out/DebugSIMRISCV64/dart_precompiled_runtime --profiler --profile_vm=false --verify_before_gc --no_inline_alloc out/dartfuzz/6.elf --invoker=test --platform-binaries=out/ReleaseX64 --out=out/dartfuzz/6.js --no-source-maps pkg/compiler/lib/src/util/memory_compiler.dart

I also see some flaky crashes on flakiness dashboard hitting breakpoint instrucions (e.g. this one in kernel isolate)

It may very well be because of the recent GC changes that landed.

/cc @rmacnak-google Maybe we should revert those for the time being (@mraleph @a-siva )

@mkustermann mkustermann added area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. gardening labels May 17, 2024
copybara-service bot pushed a commit that referenced this issue May 17, 2024
This reverts commit bc0f02e.

Reason for revert: #55754

Original change's description:
> [vm, gc] Incremental compaction.
>
> At the beginning of a major GC cycle, select some mostly-empty pages to be evacuated. Mark the pages and the objects on these pages. Apply a write barrier for stores creating old -> evacuation candidate pointers, and discover any such pointers that already exist during marking.
>
> At the end of a major GC cycle, evacuate objects from these pages. Forward pointers of objects in the remembered set and new-space. Free the evacuated pages.
>
> This compaction is incremental in the sense that creating the remembered set is interleaved with mutator execution. The evacuation step, however, is stop-the-world.
>
> Write-barrier elimination for x.slot = x is removed. Write-barrier elimination for x.slot = constant is removed in the JIT, kept for AOT but snapshot pages are marked as never-evacuate.
>
> TEST=ci
> Bug: #52513
> Change-Id: Icbc29ef7cb662ef8759b8c1d7a63b7af60766281
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/357760
> Reviewed-by: Alexander Aprelev <aam@google.com>
> Commit-Queue: Ryan Macnak <rmacnak@google.com>

Bug: #52513
Change-Id: I565ad6c0fca283d33f605c10f181bc0a59e7d2b2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366965
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
Auto-Submit: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
copybara-service bot pushed a commit that referenced this issue May 17, 2024
… ARM/ARM64.

Add missing store barrier check for RISCV.

TEST=ci
Bug: #55754
Change-Id: I90156c5fbb9f49b26ef19319dde7899b512670d7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366894
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
copybara-service bot pushed a commit that referenced this issue May 20, 2024
…ialization.

TEST=ci
Bug: #55754
Change-Id: Ie516be52a8edf620019f60b2ea0fd4f3eeeba533
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/367203
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
copybara-service bot pushed a commit that referenced this issue May 21, 2024
- Fix missing store buffer flush when --marker_tasks=0.
- Fix passing untagged pointer to store barrier check on ARM/ARM64 (6bc417d).
- Fix passing uninitialized header to store barrier check on ARM64/RISCV (1447193).

TEST=ci
Bug: #52513
Bug: #55754
Change-Id: Id2aa95b6d776b82d83464cde0d00e6f3b29b7b77
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/367202
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
copybara-service bot pushed a commit that referenced this issue May 23, 2024
This reverts commit 9077bf9.

Reason for revert: CBuild and TGP crashes in random Dart code which
look a lot like arbitrary memory corruption.

Original change's description:
> [vm, gc] Incremental compaction, take 2.
>
> - Fix missing store buffer flush when --marker_tasks=0.
> - Fix passing untagged pointer to store barrier check on ARM/ARM64 (6bc417d).
> - Fix passing uninitialized header to store barrier check on ARM64/RISCV (1447193).
>
> TEST=ci
> Bug: #52513
> Bug: #55754
> Change-Id: Id2aa95b6d776b82d83464cde0d00e6f3b29b7b77
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/367202
> Commit-Queue: Ryan Macnak <rmacnak@google.com>
> Reviewed-by: Alexander Aprelev <aam@google.com>

Bug: #52513
Bug: #55754
Change-Id: I1d70d33c65fe6bf7089b8c1422d59f9146ae7ebf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/367962
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Slava Egorov <vegorov@google.com>
Auto-Submit: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Slava Egorov <vegorov@google.com>
copybara-service bot pushed a commit that referenced this issue May 29, 2024
This reverts commit 9077bf9.

Reason for revert: CBuild and TGP crashes in random Dart code which
look a lot like arbitrary memory corruption.

Original change's description:
> [vm, gc] Incremental compaction, take 2.
>
> - Fix missing store buffer flush when --marker_tasks=0.
> - Fix passing untagged pointer to store barrier check on ARM/ARM64 (6bc417d).
> - Fix passing uninitialized header to store barrier check on ARM64/RISCV (1447193).
>
> TEST=ci
> Bug: #52513
> Bug: #55754
> Change-Id: Id2aa95b6d776b82d83464cde0d00e6f3b29b7b77
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/367202
> Commit-Queue: Ryan Macnak <rmacnak@google.com>
> Reviewed-by: Alexander Aprelev <aam@google.com>

Bug: #52513
Bug: #55754
Change-Id: Iac70de4a56e8ce0916eff7defec1e085733d52ff
Cherry-pick: https://dart-review.googlesource.com/c/sdk/+/367962
Cherry-pick-request: #55867
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368620
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
copybara-service bot pushed a commit that referenced this issue May 30, 2024
 - Use atomics to mark remembered cards in the write barrier stub.

TEST=ci
Bug: #52513
Bug: #55754
Change-Id: I1f78c6b680a6ae9170613ba328a244335a6343e2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368480
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. gardening
Projects
None yet
Development

No branches or pull requests

2 participants