PSEUDOCONSOLE_INHERIT_CURSOR sends DSR CPR to terminal, if the process is closed before a response is received, conhost will max out a core #11213
Labels
Area-Server
Down in the muck of API call servicing, interprocess communication, eventing, etc.
In-PR
This issue has a related PR
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Tag-Fix
Doesn't match tag requirements
Priority-1
A description (P1)
Product-Conpty
For console issues specifically related to conpty
Milestone
Windows Terminal version (or Windows build number)
19042.1165
Other Software
VS Code/node-pty based on
main
Steps to reproduce
Expected Behavior
Conpty should handle this more gracefully, perhaps a timeout should be used when the CPR response isn't received and continue on ignoring PSEUDOCONSOLE_INHERIT_CURSOR ?
Actual Behavior
The conhost process maxes out a CPU core
FWIW I worked around the issue by making sure a terminal is available to respond to the sequence on Windows (I'm in the process of building terminal buffer restoration/process revive after restarts).
The text was updated successfully, but these errors were encountered: