Skip to content

[Windows] Fix crash when IO and raster threads do concurrent GPU work #197238

Open

Description

@loic-sharma

Context

Flutter Windows 3.50.0 crashes when the IO thread does GPU work (e.g., image decoding) concurrently with the raster thread (e.g. present to the screen). This was mitigated, but not fixed. The mitigation only addresses race conditions in D3D, but not race conditions in ANGLE (e.g., #197347).

The fix requires changes in ANGLE. This is tracked by: https://issues.angleproject.org/issues/587081198

Remaining Work

This follow-up should not be cherry picked to stable, as rolling ANGLE brings unrelated upstream changes and carries too much risk for a hotfix.

Resources

Activity

  1. added
    engine
    platform-windows
    P1
    team-windows
    on Nov 23, 2026
  2. loic-sharma commented on Nov 23, 2026

    @loic-sharma
    MemberAuthor

    @mattkae I went ahead and assigned this issue to you. This one tracks the follow-up work from the original issue: #196618.

  3. NickDA225 commented on Nov 24, 2026

    @NickDA225

    Possibly related: #197347 is a cross-engine variant on Windows 3.50 (one engine's eglMakeCurrent racing another engine's draw on the shared ANGLE display), with a standalone repro (56/60 crashes on 3.50.1, 0/60 on 3.47.9).

  4. loic-sharma commented on Nov 25, 2026

    @loic-sharma
    MemberAuthor

    @NickDA225 confirmed that the ANGLE crash happens on main event after the D3D11 multithread mitigation: #197347

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1engineplatform-windowsteam-windows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions