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

[dartfuzz] runtime/vm/instructions_riscv.cc: 215: error: unreachable code #55623

Closed
alexmarkov opened this issue May 2, 2024 · 0 comments
Closed
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. dartfuzz Found with Dart fuzzing (DartFuzz, libFuzzer, etc.) gardening P3 A lower priority bug or feature request triaged Issue has been triaged by sub team

Comments

@alexmarkov
Copy link
Contributor

=== FAILURE ===
command: out/ReleaseSIMRISCV64/dart --profiler --max_profile_depth=214 --sample_buffer_duration=46 --verify_after_gc --verify_after_gc --force_clone_compiler_objects --no_polymorphic_with_deopt 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/instructions_riscv.cc: 215: error: unreachable code
version=3.5.0-edge (main) (Unknown timestamp) on "linux_simriscv64"
pid=109750, thread=109811, isolate_group=kernel-service(0x7fa564000e70), isolate=kernel-service(0x7fa564008c70)
os=linux, arch=riscv64, comp=no, sim=yes
isolate_instructions=0, vm_instructions=5626913927e0
fp=7fa553cfdcb0, sp=7fa553cfdb80, pc=56269159ebfc
  pc 0x000056269159ebfc fp 0x00007fa553cfdcb0 dart::Profiler::DumpStackTrace+0x7c
  pc 0x00005626913929d4 fp 0x00007fa553cfdd90 dart::Assert::Fail+0x84
  pc 0x00005626914eca19 fp 0x00007fa553cfddb0 dart::InstructionPattern::DecodeLoadWordFromPool+0x149
  pc 0x00005626914eca67 fp 0x00007fa553cfdde0 dart::ICCallPattern::ICCallPattern+0x47
  pc 0x00005626914d097b fp 0x00007fa553cfde10 dart::CodePatcher::GetInstanceCallAt+0x1b
  pc 0x00005626915e23b8 fp 0x00007fa553cfe4b0 dart::DRT_SwitchableCallMiss+0x188
  pc 0x000056269160547f fp 0x00007fa553cfe600 dart::Simulator::InterpretECALL+0x14f
  pc 0x00005626916005eb fp 0x00007fa553cfe650 dart::Simulator::ExecuteNoTrace+0x48b
  pc 0x0000562691600129 fp 0x00007fa553cfe680 dart::Simulator::Call+0xa9
  pc 0x00005626914d30f8 fp 0x00007fa553cfe6f0 dart::DartEntry::InvokeFunction+0x178
  pc 0x00005626914d4b03 fp 0x00007fa553cfe730 dart::DartLibraryCalls::HandleMessage+0x123
  pc 0x00005626914f1d4f fp 0x00007fa553cfecc0 dart::IsolateMessageHandler::HandleMessage+0x2bf
  pc 0x0000562691514259 fp 0x00007fa553cfed30 dart::MessageHandler::HandleMessages+0x119
  pc 0x0000562691514648 fp 0x00007fa553cfed80 dart::MessageHandler::TaskCallback+0x1e8
  pc 0x000056269161bc17 fp 0x00007fa553cfee00 dart::ThreadPool::WorkerLoop+0x137
  pc 0x000056269161bea2 fp 0x00007fa553cfee30 dart::ThreadPool::Worker::Main+0x72
  pc 0x000056269159bb36 fp 0x00007fa553cfeef0 dart::ThreadStart+0xd6
-- End of DumpStackTrace
  pc 0x0000000000000000 fp 0x00007fa57d5fe038 sp 0x0000000000000000 [Stub] CallToRuntime
  pc 0x00007fa5aff82fee fp 0x00007fa57d5fe078 sp 0x00007fa57d5fe038 [Stub] SwitchableCallMiss
  pc 0x00007fa5536823e6 fp 0x00007fa57d5fe0d0 sp 0x00007fa57d5fe078 [Optimized] __JsonUtf8Parser&_JsonParserWithListener&_ChunkedJsonParser@10003594.parseString
  pc 0x00007fa57c779f1c fp 0x00007fa57d5fe138 sp 0x00007fa57d5fe0d0 [Unoptimized] __JsonUtf8Parser&_JsonParserWithListener&_ChunkedJsonParser@10003594.parse
  pc 0x00007fa57c77969e fp 0x00007fa57d5fe188 sp 0x00007fa57d5fe138 [Unoptimized] _JsonUtf8Parser@10003594.parseChunk
  pc 0x00007fa57c7782e8 fp 0x00007fa57d5fe1e0 sp 0x00007fa57d5fe188 [Unoptimized] _JsonUtf8Decoder@10003594.convert
  pc 0x00007fa57c7769fe fp 0x00007fa57d5fe240 sp 0x00007fa57d5fe1e0 [Unoptimized] parsePackageConfigBytes
  pc 0x00007fa57c7768f8 fp 0x00007fa57d5fe2b0 sp 0x00007fa57d5fe240 [Unoptimized] PackageConfig.parseBytes
  pc 0x00007fa57c76f79e fp 0x00007fa57d5fe378 sp 0x00007fa57d5fe2b0 [Unoptimized] ProcessedOptions._createPackagesFromFile@47081600
  pc 0x00007fa57c759142 fp 0x00007fa57d5fe3c8 sp 0x00007fa57d5fe378 [Unoptimized] _SuspendState@4048458._createAsyncCallbacks@4048458.thenCallback
  pc 0x00007fa57c758e94 fp 0x00007fa57d5fe448 sp 0x00007fa57d5fe3c8 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007fa57c758d08 fp 0x00007fa57d5fe4b0 sp 0x00007fa57d5fe448 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007fa57c758b8e fp 0x00007fa57d5fe548 sp 0x00007fa57d5fe4b0 [Unoptimized] _CustomZone@4048458.runUnary
  pc 0x00007fa57c75881a fp 0x00007fa57d5fe598 sp 0x00007fa57d5fe548 [Unoptimized] _FutureListener@4048458.handleValue
  pc 0x00007fa57c7584e8 fp 0x00007fa57d5fe5f8 sp 0x00007fa57d5fe598 [Unoptimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00007fa57c7577d6 fp 0x00007fa57d5fe678 sp 0x00007fa57d5fe5f8 [Unoptimized] _Future@4048458._propagateToListeners@4048458
  pc 0x00007fa57c756612 fp 0x00007fa57d5fe6c0 sp 0x00007fa57d5fe678 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x00007fa57c7594e0 fp 0x00007fa57d5fe708 sp 0x00007fa57d5fe6c0 [Unoptimized] _SuspendState@4048458._returnAsync@4048458
  pc 0x00007fa5aff87a5a fp 0x00007fa57d5fe738 sp 0x00007fa57d5fe708 [Stub] ReturnAsync
  pc 0x00007fa57c759142 fp 0x00007fa57d5fe788 sp 0x00007fa57d5fe738 [Unoptimized] _SuspendState@4048458._createAsyncCallbacks@4048458.thenCallback
  pc 0x00007fa57c758e94 fp 0x00007fa57d5fe808 sp 0x00007fa57d5fe788 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007fa57c758d08 fp 0x00007fa57d5fe870 sp 0x00007fa57d5fe808 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007fa57c758b8e fp 0x00007fa57d5fe908 sp 0x00007fa57d5fe870 [Unoptimized] _CustomZone@4048458.runUnary
  pc 0x00007fa57c75881a fp 0x00007fa57d5fe958 sp 0x00007fa57d5fe908 [Unoptimized] _FutureListener@4048458.handleValue
  pc 0x00007fa57c7584e8 fp 0x00007fa57d5fe9b8 sp 0x00007fa57d5fe958 [Unoptimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00007fa57c7577d6 fp 0x00007fa57d5fea38 sp 0x00007fa57d5fe9b8 [Unoptimized] _Future@4048458._propagateToListeners@4048458
  pc 0x00007fa57c756612 fp 0x00007fa57d5fea80 sp 0x00007fa57d5fea38 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x00007fa57c75641c fp 0x00007fa57d5feac0 sp 0x00007fa57d5fea80 [Unoptimized] _Future@4048458._asyncCompleteWithValue@4048458.<anonymous closure>
  pc 0x00007fa57c74137c fp 0x00007fa57d5feb38 sp 0x00007fa57d5feac0 [Unoptimized] _rootRun@4048458
  pc 0x00007fa57c7410b2 fp 0x00007fa57d5feb98 sp 0x00007fa57d5feb38 [Unoptimized] _rootRun@4048458
  pc 0x00007fa57c7409a8 fp 0x00007fa57d5fec28 sp 0x00007fa57d5feb98 [Unoptimized] _CustomZone@4048458.run
  pc 0x00007fa57c7481d2 fp 0x00007fa57d5fec78 sp 0x00007fa57d5fec28 [Unoptimized] _CustomZone@4048458.bindCallback.<anonymous closure>
  pc 0x00007fa57c7561b6 fp 0x00007fa57d5fecc0 sp 0x00007fa57d5fec78 [Unoptimized] _microtaskLoop@4048458
  pc 0x00007fa57c755e34 fp 0x00007fa57d5fed00 sp 0x00007fa57d5fecc0 [Unoptimized] _startMicrotaskLoop@4048458
  pc 0x00007fa57c755d6a fp 0x00007fa57d5fed28 sp 0x00007fa57d5fed00 [Unoptimized] _startMicrotaskLoop@4048458
  pc 0x00007fa57c745d64 fp 0x00007fa57d5fed68 sp 0x00007fa57d5fed28 [Unoptimized] _runPendingImmediateCallback@1026248
  pc 0x00007fa57c7477d8 fp 0x00007fa57d5fede8 sp 0x00007fa57d5fed68 [Unoptimized] _Timer@1026248._runTimers@1026248
  pc 0x00007fa57c745f94 fp 0x00007fa57d5fee20 sp 0x00007fa57d5fede8 [Unoptimized] _Timer@1026248._handleMessage@1026248
  pc 0x00007fa57c745e40 fp 0x00007fa57d5fee50 sp 0x00007fa57d5fee20 [Unoptimized] _Timer@1026248._handleMessage@1026248
  pc 0x00007fa57c722f64 fp 0x00007fa57d5feeb8 sp 0x00007fa57d5fee50 [Unoptimized] _Closure@0150898.dyn:call
  pc 0x00007fa57c721dd6 fp 0x00007fa57d5fef10 sp 0x00007fa57d5feeb8 [Unoptimized] _RawReceivePort@1026248._handleMessage@1026248
  pc 0x00007fa5aff82efc fp 0x00007fa57d5ff010 sp 0x00007fa57d5fef10 [Stub] InvokeDartCode

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

/cc @rmacnak-google

@alexmarkov alexmarkov added area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. gardening dartfuzz Found with Dart fuzzing (DartFuzz, libFuzzer, etc.) labels May 2, 2024
copybara-service bot pushed a commit that referenced this issue May 2, 2024
…th_deopt.

TEST=dartfuzz
Bug: #55622
Bug: #55623
Change-Id: Ib327d9cb2621eb6cfd509db83b2e04d17967d857
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/364960
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
@a-siva a-siva added triaged Issue has been triaged by sub team P3 A lower priority bug or feature request labels May 8, 2024
copybara-service bot pushed a commit that referenced this issue May 9, 2024
TEST=dartfuzz
Bug: #55622
Bug: #55623
Change-Id: If841fcfee242b2d2bc3b0c970d42488bfe202fb8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/365868
Reviewed-by: Alexander Markov <alexmarkov@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. dartfuzz Found with Dart fuzzing (DartFuzz, libFuzzer, etc.) gardening P3 A lower priority bug or feature request triaged Issue has been triaged by sub team
Projects
None yet
Development

No branches or pull requests

3 participants