Skip to content

VM crash: runtime/vm/profiler.cc: 141: error: expected: sample_buffer_ != nullptr #60809

Open
@alexmarkov

Description

@alexmarkov

From dart-fuzz bot:

Isolate (/b/s/w/itvz6b0bsx/dart_fuzzHIKQPK) NO-FP NO-FFI FLAT : JIT-DebugSIMRISCV64 - JIT-DebugSIMARM64C: !DIVERGENCE! 1.101:1264572494 (-6 vs 0)

fail1:
-6
{VF5Knej: JtP, 1PaTG: Tx}

... skipped ...

var97: Expando:
print() throws

../../runtime/vm/profiler.cc: 141: error: expected: sample_buffer_ != nullptr

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



-- BEGIN REPRODUCE  --

DART SDK REVISION: 

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

-- RUN 1 --

out/DebugSIMRISCV64/dart --profiler --profile_period=641 --runtime_allocate_spill_tlab --force_evacuation --old_gen_heap_size=128 /b/s/w/itvz6b0bsx/dart_fuzzHIKQPK/fuzz.dart

-- RUN 2 --

out/DebugSIMARM64C/dart --profiler --profile_vm=false --sample_buffer_duration=45 --no_concurrent_sweep --no_unopt_megamorphic_calls --optimization_counter_threshold=20690 --old_gen_heap_size=128 /b/s/w/itvz6b0bsx/dart_fuzzHIKQPK/fuzz.dart

-- END REPRODUCE  --

https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8713657647748859297/+/u/collect_shards/dartfuzz_-_generated_programs_shard_21/task_stdout_stderr:_dartfuzz_-_generated_programs_shard_21

/cc @bkonyi @rmacnak-google

Metadata

Metadata

Assignees

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.dartfuzzFound with Dart fuzzing (DartFuzz, libFuzzer, etc.)gardeningtriagedIssue has been triaged by sub team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions