dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.23k stars 1.57k forks source link

flow_graph_compiler.cc: 1248: error: unimplemented code #35214

Open rmacnak-google opened 5 years ago

rmacnak-google commented 5 years ago

Observed while debugging opt-counter/compactor crash:

At commit 0b46639335a8d6203bb810fc6e835936f441a27b

out/ReleaseX64/dart --code-collection-interval-in-us=30 --log-code-drop --always-drop-code --no_causal_async_stacks --optimization-counter-threshold=5 --sync-async  tests/standalone_2/dart_developer_disabled_env_test.dart

../../runtime/vm/compiler/backend/flow_graph_compiler.cc: 1249: error: unimplemented code
Dumping native stack trace for thread eea4
  [0x0000558fc360216f] dart::Profiler::DumpStackTrace(void*)
  [0x0000558fc360216f] dart::Profiler::DumpStackTrace(void*)
  [0x0000558fc3834e82] dart::Assert::Fail(char const*, ...)
  [0x0000558fc36e1431] Unknown symbol
  [0x0000558fc36de748] dart::FlowGraphCompiler::VisitBlocks()
  [0x0000558fc36e698d] dart::FlowGraphCompiler::CompileGraph()
  [0x0000558fc37d21af] dart::CompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)
  [0x0000558fc37d2bfc] Unknown symbol
  [0x0000558fc37d2587] dart::Compiler::CompileFunction(dart::Thread*, dart::Function const&)
  [0x0000558fc37cf445] dart::DRT_CompileFunction(dart::NativeArguments)

@mraleph

mraleph commented 5 years ago

Looks like we have an ICData with not 1 and not 2 arguments checked.

Possibly a memory corruption.