microsoft / microsoft/terminal
[cont] [DefTerm] Some invocations can cause deadlocks in terminal + another GUI application in Attach mode
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
_No response_
### Windows build number
_No response_
### Other Software
_No response_
### Steps to reproduce
Same steps as https://github.com/microsoft/terminal/issues/14131
More here: https://github.com/microsoft/terminal/issues/14131#issuecomment-3731555688
### Expected Behavior
no 5000ms timeout from `SendMessageTimeoutW`: `SMTO_NOTIMEOUTIFNOTHUNG`
### Actual Behavior
5000ms because the window is newly hung (by call to `system()`)
Contributor guide
Research direction
Start by reading issue #14131 and the linked comment, then reproduce the terminal-plus-GUI attach-mode invocation described there. Trace the newly hung window and the related SendMessageTimeoutW behavior; done means the invocation no longer produces the 5000ms timeout caused by the system() call.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100