-
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
[CP] Ensure spawnUri'ed isolates keep their own origin_id. #47696
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
cherry-pick-approved
Label for approved cherrypick request
Comments
mkustermann
added
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
cherry-pick-review
Issue that need cherry pick triage to approve
labels
Nov 15, 2021
@mkustermann given that this was found on the stable release, are you requesting this to be picked into 2.14 stable or 2.15 beta (so that it goes out with 2.15)? |
@athomas Given the new stable will happen soon, I think it's enough for it to be included in 2.15 beta. |
approved |
devoncarew
added
cherry-pick-approved
Label for approved cherrypick request
and removed
cherry-pick-review
Issue that need cherry pick triage to approve
labels
Nov 16, 2021
Merged to beta in 52519ea (2.15.0-268.18.beta). |
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.
cherry-pick-approved
Label for approved cherrypick request
commit(s) to merge: c4a07a8
merge instructions: clean (auto)merge
What is the issue: An isolate spawned via
Isolate.spawnUri()
that spawns another isolate viaIsolate.spawnUri()
and tries to communicate with the former using user-defined data structures can lead to a crash. Instead it should result in an error. (When usingdart test
/dart run
- which internally usesspawnUri()
, onespawnUri
in user code is enough to trigger it).What is the fix: Make setting of the
origin_id
of an isolate conditional on it not beingILLEGAL _PORT
.Why cherrypick: Users have hit this.
Risk: low
Link to original issue(s):
#47674
/cc @kevmoo @mit-mit @whesse @athomas @vsmenon @devoncarew
/cc @aam
The text was updated successfully, but these errors were encountered: