sdk icon indicating copy to clipboard operation
sdk copied to clipboard

VM crash: runtime/vm/profiler.cc: 1105: error: expected: fp_ != nullptr

Open alexmarkov opened this issue 6 months ago • 0 comments

From dart-fuzz bot:

Isolate (/b/s/w/itmmn67oze/dart_fuzzHJDDRD) NO-FP NO-FFI FLAT : JIT-DebugSIMARM64 - AOT-ReleaseX64C: !DIVERGENCE! 1.101:856712591 (-6 vs 0)

fail1:
-6

../../runtime/vm/profiler.cc: 1105: error: expected: fp_ != nullptr

===== CRASH =====
si_signo=Segmentation fault(11), si_code=SEGV_MAPERR(1), si_addr=0xababb303
Aborting reentrant request for stack trace.



-- BEGIN REPRODUCE  --

DART SDK REVISION: 

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

-- RUN 1 --

out/DebugSIMARM64/dart --profiler --profile_vm=false --profile_vm=false --mark_when_idle --no_concurrent_sweep --old_gen_heap_size=128 /b/s/w/itmmn67oze/dart_fuzzHJDDRD/fuzz.dart

-- RUN 2 --

DART_CONFIGURATION='ReleaseX64C' DART_VM_FLAGS='--enable-asserts' pkg/vm/tool/precompiler2 --scavenger_tasks=2 --inlining_size_threshold=18 fuzz.dart snapshot
out/ReleaseX64C/dartaotruntime snapshot

-- END REPRODUCE  --
Isolate (/b/s/w/it001yqay7/dart_fuzzOZMPHS) NO-FP NO-FFI FLAT : JIT-DebugSIMARM - AOT-ReleaseX64C: !DIVERGENCE! 1.101:216833432 (-6 vs 0)

fail1:
-6

../../runtime/vm/profiler.cc: 1105: error: expected: fp_ != nullptr

===== CRASH =====
si_signo=Segmentation fault(11), si_code=SEGV_MAPERR(1), si_addr=0xababaf27
Aborting reentrant request for stack trace.



-- BEGIN REPRODUCE  --

DART SDK REVISION: 

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

-- RUN 1 --

out/DebugSIMARM/dart --profiler --profile_vm=false --profile_vm=false --no_load_cse --old_gen_heap_size=128 /b/s/w/it001yqay7/dart_fuzzOZMPHS/fuzz.dart

-- RUN 2 --

DART_CONFIGURATION='ReleaseX64C' DART_VM_FLAGS='--enable-asserts' pkg/vm/tool/precompiler2 --use_compactor --inlining_size_threshold=31 --no_use_osr fuzz.dart snapshot
out/ReleaseX64C/dartaotruntime snapshot

-- END REPRODUCE  --

Could be related to https://github.com/dart-lang/sdk/issues/60850 and/or https://github.com/dart-lang/sdk/issues/60810.

/cc @derekxu16

alexmarkov avatar Jun 09 '25 13:06 alexmarkov