Skip to content

Test harness crashes/hangs on test crash #2577

@rmacnak-google

Description

@rmacnak-google
import "package:test/test.dart";
import "dart:ffi";

main() {
  test("fault", () {
    Pointer.fromAddress(0).cast<Long>()[0] = 0;
  });
}

With dart test example.dart, the test harness itself crashes.

With dart test -c exe example.dart, the test harness hangs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions