Skip to content

VM crash - sending the same function twice in a message fails. #22778

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

Closed
lrhn opened this issue Mar 11, 2015 · 3 comments
Closed

VM crash - sending the same function twice in a message fails. #22778

lrhn opened this issue Mar 11, 2015 · 3 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

Comments

@lrhn
Copy link
Member

lrhn commented Mar 11, 2015

Example code:
  import "dart:isolate";
  func(){}
  main() {
    var r = new RawReceivePort();
    r.handler = (v) {
      print(v[0] == v[1]);
      r.close();
    };
    r.sendPort.send([func, func]);
  }

This prints:
runtime/vm/object.h:4781: error: Handle check failed: saw Function 'main': static. expected Instance
Aborted (core dumped)

@iposva-google
Copy link
Contributor

Set owner to @a-siva.
Added Accepted label.

@a-siva
Copy link
Contributor

a-siva commented Mar 12, 2015

uploaded cl https://codereview.chromium.org/1004923002/ for review.

@a-siva
Copy link
Contributor

a-siva commented Mar 16, 2015

Added Fixed label.

@lrhn lrhn added Type-Defect area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. labels Mar 16, 2015
This issue was closed.
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, and the AOT and JIT backends.
Projects
None yet
Development

No branches or pull requests

4 participants