Terminal disappears (crashes?) and leaves child processes running (detached from any terminal) #12558

Open
opened 2026-01-31 03:18:45 +00:00 by claunia · 0 comments
Owner

Originally created by @NfNitLoop on GitHub (Feb 13, 2021).

Environment

Windows build number: 10.0.19042.0

Windows Terminal version (if applicable): 1.5.10411.0

Any other software?

Steps to reproduce

Unfortunately, I'm not yet able to reproduce this issue, but it's happened twice.

I don't remember the circumstances of the first occurrence, but this time I noticed Terminal had disappeared after waking the machine from sleep. (Update: I just tried putting the computer to sleep and waking it, and it did not trigger this issue.)

I'm happy to try steps to reproduce, but I don't know where to begin here. Are there any logs I should investigate/attach?

Expected behavior

Terminal should not disappear and leave CLI processes running without a terminal.

Actual behavior

I'll have a terminal window open for development, running a couple long-running processes in 2+ tabs. (One is running a web server via cargo run, and the other is running snowpack watch.)

Then, at some point, I'll notice that the Terminal application has stopped and disappeared from my task bar. (It is not on another virtual desktop. It is not listed in the task manager.) I can start a new Terminal without any errors.

However, my old processes are still running ... somewhere? ... without an attached terminal. I can still access the web server that's running locally. If I want to continue development, I need to open task manager and kill the processes so I can run them fresh in a working Terminal.

Originally created by @NfNitLoop on GitHub (Feb 13, 2021). # Environment ```none Windows build number: 10.0.19042.0 Windows Terminal version (if applicable): 1.5.10411.0 Any other software? ``` # Steps to reproduce Unfortunately, I'm not yet able to reproduce this issue, but it's happened [twice]. [twice]: https://twitter.com/NfNitLoop/status/1355276568793235456 I don't remember the circumstances of the [first][twice] occurrence, but this time ~I noticed Terminal had disappeared after waking the machine from sleep. (Update: I just tried putting the computer to sleep and waking it, and it did not trigger this issue.)~ I'm happy to try steps to reproduce, but I don't know where to begin here. Are there any logs I should investigate/attach? # Expected behavior Terminal should not disappear and leave CLI processes running without a terminal. # Actual behavior I'll have a terminal window open for development, running a couple long-running processes in 2+ tabs. (One is running [a web server] via `cargo run`, and the other is running `snowpack watch`.) [a web server]: https://github.com/NfNitLoop/feoblog Then, at some point, I'll notice that the Terminal application has stopped and disappeared from my task bar. (It is not on another virtual desktop. It is not listed in the task manager.) I can start a new Terminal without any errors. However, my old processes are still running ... somewhere? ... without an attached terminal. I can still access the web server that's running locally. If I want to continue development, I need to open task manager and kill the processes so I can run them fresh in a working Terminal.
claunia added the Resolution-Duplicate label 2026-01-31 03:18:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12558