webdev icon indicating copy to clipboard operation
webdev copied to clipboard

Race conditions on simultaneous hot restarts

Open annagrin opened this issue 3 years ago • 1 comments

Repro:

  • Update dwds dependency in flutter tools to point dwds master
  • run flutter run -d c --web-renderer html --verbose

Then press 'r' a few times (fast). Observe warnings that expression evaluation failed while trying to pre-warm the compiler cache .

This particular failure is benign but indicates that we have a race condition between two createIsolate methods which could put the vm service into a bad state. It could be the cause of https://github.com/flutter/flutter/issues/117676.

annagrin avatar Jan 06 '23 19:01 annagrin

Assigning to @jyameo to verify this is still an issue.

bkonyi avatar Oct 02 '24 17:10 bkonyi

I was not able to reproduce this issue. Closing the issue has it appear to have been fixed.

jyameo avatar Oct 24 '24 17:10 jyameo