-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Git Bash: Critical Error(VM_COMMAND: end) #4065
Comments
Looks like a segfault in MinTTY after a recent |
I guess it should be reported to the MinTTY project, then? |
I found that the cause of this error is not directly caused by the source code, but caused by Windows updating drivers or disabling system services. After reinstalling windows, I installed git-bash without any settings, and no error was reported when I opened this setting; but when I updated the driver and optimized system services, and then installed git-bash, this error appeared. This factor was not discovered at first, and was discovered later, but I don't know what went wrong. |
An issue with the same symptoms was reported to mintty as mintty/mintty#1185 but they did not manage to debug the issue further. |
During use, it is found that this error has nothing to do with the version, it is the Windows system service [Print Spooler]: (C:\Windows\System32\spoolsv.exe) is not started or is disabled or set to manual mode. When this setting is turned on, when the service is called, it will not wake up automatically, causing bugs. The guess may be that the developer did not do more processing on this service exception or did not consider the service being disabled, and regarded it as a key program, and this bug may only be triggered in rare cases. |
@GatesGe thank you so much for leaving this helpful record in this ticket. I am sure that others encountering the same issue will be very, very grateful. |
Thanks indeed. Stopping the Print Spooler service makes the bug appear and I can now debug it. |
There's a new snapshot now. @GatesGe please verify that it fixes the issue. I plan on releasing a new Git for Windows version soon, and it would be a shame if the bug you reported wasn't fixed in it solely due to lack of testing. |
/add release note bug A bug in MinTTY caused it to throw a Critical Error when the printer spool service was not started, which was fixed by upgrading MinTTY. The workflow run was started |
Setup
defaults?
Any other interesting things about your environment that might be related
to the issue you're seeing?
After the Git Bash is opened in
options -> terminal
, it always reports a Critical Error ( VM_COMMAND: end ) , and no matter whether you click close or OK, it will cause a forced exit. This phenomenon persisted for several versions, and I don't know what caused it.Details
Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
Git Bash
What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
What did you expect to occur after running these commands?
null
What actually happened instead?
null
If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
null
The text was updated successfully, but these errors were encountered: