Skip to content

[flutter_tools] Handle WDAC block error code 4551 for impellerc #190232

Description

@bkonyi

On Windows, when impellerc is blocked by Windows Defender Application Control (WDAC) or Smart App Control (SAC), it throws a ProcessException with error code 4551. Currently, ShaderCompiler._isBlockedBySecurityPolicy only checks for error code 1260. We should update the tool to also check for 4551 and exit gracefully.

Note: This issue was identified as a top-10 crasher in the Flutter stable release version 3.44.8.

Activity

  1. added
    P2Important issues not at the top of the work list
    team-toolOwned by Flutter Tool team
    triaged-toolTriaged by Flutter Tool team
    on Jul 29, 2026
  2. self-assigned this
    on Jul 29, 2026
  3. added a commit that references this issue on Aug 4, 2026
  4. added a commit that references this issue on Aug 5, 2026
    f31202e
  5. github-actions commented on Aug 19, 2026

    @github-actions

    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.

  6. locked as resolved and limited conversation to collaborators on Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listteam-toolOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions