-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Exception throw in child isolate crashes Dartium #3734
Comments
This comment was originally written by [email protected] Added this to the M1 milestone. |
This comment was originally written by [email protected] Changed the title to: "Exception throw in child isolate crashes Dartium". |
What is the expected behavior here? In the case of SendPort.call, I'd hope the associated future will party with the associated handleException, etc. Right? I was hoping that wiring up handleException would save me from a crash. Sadly, no. |
This comment was originally written by [email protected] Issue #2035 has been merged into this issue. |
This comment was originally written by [email protected] Set owner to [email protected]. |
This comment was originally written by [email protected] So the analysis. I am not aware of scenarios when it's a problem with DOM isolates as on all the entry points we check returned value and report any unhandled exceptions. It's easily reproducible for pure Dart isolates and in this case we end up in ShutdownIsolate (of lib/isolate.cc) which invokes exit(255) and that awsnaps the tab. Looks like we need something in embedder API to prevent this exit call and ideally some hook to properly report unhandled exception which led to isolate termination. Marking as Area-VM and tentatively assigning to Todd. Please, assign back to me once there is a way to solve the problem in Dartium. cc @iposva-google. |
Issue #2035 has been merged into this issue. |
Removed Priority-Medium label. |
Removed this from the M5 milestone. |
Siva is this still happening? I remember we did add special handling for unhandled exceptions. Set owner to @a-siva. |
We don't get a Dart tab crash now, the following error message is what we get and the child isolate is terminated due to this unhandled exception. in ShutdownIsolate: Unhandled exception: NoSuchMethodError : method not found: 'send' Added Fixed label. |
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Some helpful error message
What version of the product are you using? On what operating system?
8832
The text was updated successfully, but these errors were encountered: