Skip to content
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][Stable] da133e5 DirectoryWatchHandle::Stop() is invoked after handle is released #44104

Closed
a-siva opened this issue Nov 7, 2020 · 8 comments
Assignees
Labels
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 merge-to-stable

Comments

@a-siva
Copy link
Contributor

a-siva commented Nov 7, 2020

commit(s) to merge: da133e5

merge instructions: merges cleanly into the stable branch and the beta branch

What is the issue: DirectoryWatchHandle::Stop() is invoked after handle is released, crashing vm 43941

What is the fix: Don't attempt to close already closed DirectoryWatchHandle

Why cherrypick: This has been broken for some time and we are getting frequent reports from the field regarding this.

Risk: Low based on the fact that the change has landed, been rolled internally and verified to fix the issue. We have not heard of any new issues appearing from those using the master branch. The fix is also targeted only for the Windows platform.

Link to original issue(s): #43941, flutter/flutter#43620, Dart-Code/Dart-Code#2814

/cc @kevmoo @mit-mit @whesse @athomas @vsmenon @franklinyow @sigmundch @aam

@a-siva a-siva added the cherry-pick-review Issue that need cherry pick triage to approve label Nov 7, 2020
@franklinyow
Copy link
Contributor

CC: @pcsosinski

@franklinyow
Copy link
Contributor

I support cherrypick to stable based on the number of users it hit over time.
I have reservation about a Beta pick because of a new Beta going to be cut next week.

@a-siva
Copy link
Contributor Author

a-siva commented Nov 7, 2020

Beta is going to be cut next week but will it be available to external users immediately ?

@mraleph mraleph added the area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. label Nov 8, 2020
@franklinyow
Copy link
Contributor

Approved for stable

@franklinyow franklinyow changed the title [CP][Stable & Beta] da133e5 DirectoryWatchHandle::Stop() is invoked after handle is released [CP][Stable] da133e5 DirectoryWatchHandle::Stop() is invoked after handle is released Nov 10, 2020
@franklinyow
Copy link
Contributor

Target 11/12, so we should start build
@athomas, will this work?

This is a patch release that fixes a crash in vm runtime (#43941, flutter/flutter#43620, Dart-Code/Dart-Code#2814)

@athomas
Copy link
Member

athomas commented Nov 10, 2020

@franklinyow I will create the build tomorrow morning.

@athomas
Copy link
Member

athomas commented Nov 11, 2020

Cherry-picked to stable in 2.10.4 (7c148d0).

@athomas athomas closed this as completed Nov 11, 2020
@aam
Copy link
Contributor

aam commented Nov 12, 2020

@pcsosinski Perhaps this should stay opened until dart stable hotfix is cherry-picked into flutter stable?

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-review Issue that need cherry pick triage to approve merge-to-stable
Projects
None yet
Development

No branches or pull requests

6 participants