Isolate.spawn is broken in snapshots when run near a foreign .packages file #25428
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
P0
A serious issue requiring immediate resolution
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
vm-regression
Milestone
This breakage appears under the following conditions:
package:
import.Isolate.spawn()
..packages
file that's different from the one used to create the snapshot.To reproduce this, create a package with the following files:
Run:
You should see an error like the following:
This is a regression. Running
git bisect
indicates that this error appeared as of 6d066c7. It's likely related to dart-lang/pub#1379.The text was updated successfully, but these errors were encountered: