Open kevmoo opened 1 month ago
Summary: The user is encountering a RangeError
in the Uint8List.sublistView
method, indicating an attempt to access an element outside the valid range of the list. This error occurs in the package:analyzer
library, specifically in the SummaryDataReader.readUint8List
function.
It is a bug in https://github.com/dart-lang/build/blob/ec64e8424004c402eb48e584c12bfef4f5cab4a6/build_resolvers/lib/src/sdk_summary.dart#L37.
Note that the way this function is written is not guarding against multiple instances of this function running in parallel and all creating the same summary output. So it might end up reading from file which is being overwritten and as a result it will get partial summary.
CC @jakemac53 @natebosch re ☝️
Happening all over
3.6.0-149.0.dev