Skip to content

Useful information when .dill file is rejected #28692

@peter-ahe-google

Description

@peter-ahe-google

When I try to run this dill file at a7f7343, I get this error:

../../runtime/vm/object.cc: 15844: error: unreachable code
Dumping native stack trace for thread 307
Stack dump aborted because GetAndValidateIsolateStackBounds.
Abort trap: 6

The VM version is: Dart VM version: 1.23.0-edge.d97472d231e4345d5207370a5fd1d62957c4da2a (Wed Feb 8 22:08:41 2017) on "macos_x64".

It would be nice to get a little more information.

I can see that the corresponding error is:

bool AbstractType::HasResolvedTypeClass() const {
  // AbstractType is an abstract class.
  UNREACHABLE();
  return false;
}

Unfortunately, the only way to debug this is using lldb, but that doesn't seem to work. lldb is so slow that it's virtually useless in the debug build, and just pretty slow in release build. I wonder if there's a build setting that needs tweaking?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.front-end-kernellegacy-area-front-endLegacy: Use area-dart-model instead.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions