-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using wmic from zsh (cygwin) causes conhost to crash #5175
Comments
Triage notes: |
This reproduces in the windows console host if the buffer size and screen size are set to the same thing. Even in Windows 20H1. |
Marking this for 21H1, taking triage off. |
Arguably, whatever they were doing should still not crash, even if |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Environment
Steps to reproduce
wmic
<- First roundwmic
again <- Second roundThen
OpenConsole.exe
crashes with exit code 1.Expected behavior
Other shells work just fine (w/ and wo/ Windows Terminal), only zsh causes
OpenConsole.exe
to crash.Bash
Bash (from cygwin, running with Windows Terminal)
Git Bash (MINGW64)
Windows PowerShell, running with Windows Terminal
Windows Command Prompt, running with Windows Terminal
zsh, first round
zsh, second round before pressing Ctrl-C
zsh, second round after pressing Ctrl-C
(I didn't scroll the console window, it looks like the console just scrolled itself)
Actual behavior
When you do the first time, nothing abnormal happens
If you do it again,
OpenConsole.exe
crashes and Windows Error Reporting prompts up.leaving output:
[process exited with code 1]
Although I used oh-my-zsh for customization, zsh itself without any modification will crash OpenConsole.exe to crash, too.
My guess is that zsh printed something corrupt that
OpenConsole.exe
cannot handle. And zsh is the only shell that outputs a little%
after Ctrl-C is pressed.The text was updated successfully, but these errors were encountered: