microsoft / microsoft/terminal

Terminal crashes taking all processes attached with it if it loses gpu context

Open
#11,319 4 comments 1 reaction 0 assignees View on GitHub
Issue-Bug Product-Terminal Resolution-External Resolution-Fix-Committed Severity-Crash Tracking-External
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version (or Windows build number)

Windows 11 10.0.22458.0, Terminal Preview 1.11.2421.0

### Other Software

AMD GPU Drivers, possibly others but dont have any to test

### Steps to reproduce

https://aka.ms/AAdvrbk is the Feedback Link pointing to the issue

Have Terminal doing things in the background involving a process that constantly writes to the terminal, like rclone or something else with verbose output
Trigger a gpu driver crash and let it recover

### Expected Behavior

Terminal to survive gpu context loss at least in a minimal way allowing the user to stop work safely and recover if necessary

### Actual Behavior

Terminal will appear after recovery with a frame and nothing but white as the window contents followed shortly by crashing completely. Any running processes in the terminal windows will die shortly after

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or entry points are identified in the issue. Start by reviewing the linked Feedback report and reproducing the GPU-driver recovery scenario on Windows 11 with Terminal Preview; done means Terminal remains usable after GPU context loss without terminating attached processes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.