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

Open
opened 2026-01-31 04:35:14 +00:00 by claunia · 4 comments
Owner

Originally created by @Masamune3210 on GitHub (Sep 23, 2021).

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

Originally created by @Masamune3210 on GitHub (Sep 23, 2021). ### 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
Author
Owner

@Masamune3210 commented on GitHub (Oct 20, 2021):

Still does this with latest Terminal Preview and RTM Windows 11

@Masamune3210 commented on GitHub (Oct 20, 2021): Still does this with latest Terminal Preview and RTM Windows 11
Author
Owner

@Bramgus12 commented on GitHub (Oct 21, 2021):

I have the same issue with the latest Nvidia driver.

@Bramgus12 commented on GitHub (Oct 21, 2021): I have the same issue with the latest Nvidia driver.
Author
Owner

@etbusch commented on GitHub (Mar 7, 2022):

I am affected by this as Terminal crashes whenever I connect or disconnect my AMD eGPU.

@etbusch commented on GitHub (Mar 7, 2022): I am affected by this as Terminal crashes whenever I connect or disconnect my AMD eGPU.
Author
Owner

@zadjii-msft commented on GitHub (Mar 7, 2022):

Jeez how did I never see this one on the triage queue before?! Sorry about that!

We do have another thread over here: #12598. That one tracked it down to an internal bug (MSFT:38159926) in Windows 11, somewhere in DWM. That bug was fixed recently (last week), so it'll probably be a few weeks before that fix flows out to insiders, et.al. I'll follow up in a few weeks to see if that's been resolved.

@zadjii-msft commented on GitHub (Mar 7, 2022): Jeez how did I never see this one on the triage queue before?! Sorry about that! We do have another thread over here: #12598. That one tracked it down to an internal bug (MSFT:38159926) in Windows 11, somewhere in DWM. That bug was fixed recently (last week), so it'll probably be a few weeks before that fix flows out to insiders, et.al. I'll follow up in a few weeks to see if that's been resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15327