sdk icon indicating copy to clipboard operation
sdk copied to clipboard

VM crash in dart::ProfilerDartStackWalker::walk

Open alexmarkov opened this issue 5 months ago • 0 comments

From dart-fuzz bot:

Isolate (/b/s/w/it5hl4yuw2/dart_fuzzBGUCLY) NO-FP NO-FFI FLAT : JIT-ReleaseX64 - JIT-ReleaseSIMARM: !DIVERGENCE! 1.101:1728370760 (0 vs -6)

fail2:
-6


===== CRASH =====
si_signo=Segmentation fault(11), si_code=SEGV_MAPERR(1), si_addr=0xea8c
version=3.9.0-edge (main) (Unknown timestamp) on "linux_simarm"
pid=41045, thread=41050, isolate_group=kernel-service(0xf1e008e0), isolate=kernel-service(0xf1e06200)
os=linux, arch=arm, comp=no, sim=yes
isolate_instructions=0, vm_instructions=680a9220
fp=f207e498, sp=f207e470, pc=68359ea4
  pc 0x68359ea4 fp 0xf207e498 dart::ProfilerDartStackWalker::walk+0x114
  pc 0x6835a5a1 fp 0xf207e4c8 dart::CollectSample+0xe1
  pc 0x6835a4ac fp 0xf207e598 dart::Profiler::SampleThread+0x57c
  pc 0x683b603f fp 0xf207e638 dart::ThreadInterrupterLinux::ThreadInterruptSignalHandler+0xbf
  pc 0xf46695a0 fp 0xf207ebd8 linux-gate.so.1+0x5a0
  pc 0x6839f09f fp 0xf207ecc8 dart::Simulator::ExecuteNoTrace+0x2af
  pc 0x683a053a fp 0xf207ed68 dart::Simulator::Call+0x16a
  pc 0x682723a1 fp 0xf207ede8 dart::DartEntry::InvokeFunction+0x1c1
  pc 0x6830561a fp 0xf207ee68 dart::Library::Invoke+0x27a
  pc 0x685c0a34 fp 0xf207ef48 Dart_Invoke+0x5f4
  pc 0x68595c96 fp 0xf207ef68 dart::bin::DartUtils::PrepareIsolateLibrary+0x36
  pc 0x68595fee fp 0xf207efb8 dart::bin::DartUtils::PrepareForScriptLoading+0x2ae
  pc 0x680a9061 fp 0xf207eff8 dart::bin::SetupCoreLibraries+0x51
  pc 0x680a8a6f fp 0xf207f088 dart::bin::IsolateSetupHelper+0x8f
  pc 0x680a81e5 fp 0xf207f118 dart::bin::CreateIsolateGroupAndSetup+0x685
  pc 0x682b21cd fp 0xf207f198 dart::RunKernelTask::Run+0x9d
  pc 0x683b69c7 fp 0xf207f228 dart::ThreadPool::WorkerLoop+0x137
  pc 0x683b6c9c fp 0xf207f268 dart::ThreadPool::Worker::Main+0x7c
  pc 0x68355287 fp 0xf207f338 dart::ThreadStart+0xe7
  pc 0xf4393c01 fp 0xf207f3a8 /lib/i386-linux-gnu/libc.so.6+0x86c01
-- End of DumpStackTrace



-- BEGIN REPRODUCE  --

DART SDK REVISION: 

dart runtime/tools/dartfuzz/dartfuzz.dart --no-fp --no-ffi --flat --seed 1728370760 fuzz.dart

-- RUN 1 --

out/ReleaseX64/dart --profiler --sample_buffer_duration=32 --profile_vm=false --runtime_allocate_old --verify_store_buffer --no_use_field_guards --no_reorder_basic_blocks --old_gen_heap_size=128 /b/s/w/it5hl4yuw2/dart_fuzzBGUCLY/fuzz.dart

-- RUN 2 --

out/ReleaseSIMARM/dart --profiler --profile_vm=true --profile_vm=false --no_concurrent_mark --force_clone_compiler_objects --no_unopt_megamorphic_calls --old_gen_heap_size=128 /b/s/w/it5hl4yuw2/dart_fuzzBGUCLY/fuzz.dart

-- END REPRODUCE  --

/cc @bkonyi @rmacnak-google

alexmarkov avatar May 28 '25 13:05 alexmarkov