You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Tool] FormatException in UTF-8 Process Output Decoding #188448
This issue is one of the top crashers identified in the Flutter 3.44.3 stable release.
The Flutter tool crashes with a FormatException: Missing extension byte when helper processes output non-UTF-8 bytes (e.g., on Windows/WSL under certain non-UTF-8 system locales).
Root Cause
In process.dart, ProcessUtils.stream uses the strict utf8LineDecoder (which has allowMalformed = false) to decode stdout/stderr. Any invalid byte sequence causes a fatal exception.
Proposed Solution
Update the process streaming mechanism to use the fault-tolerant utf8AllowMalformedLineDecoder instead, replacing invalid bytes with the Unicode replacement character (U+FFFD) to prevent crashes while preserving output.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
[-]FormatException in UTF-8 Process Output Decoding[/-][+][Tool] FormatException in UTF-8 Process Output Decoding[/+][Tool] Tolerate malformed UTF-8 in process streaming decoders (flutte…
github-actions commentedon Jul 14, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.