-
Notifications
You must be signed in to change notification settings - Fork 2.6k
bash.exe is Segmentation fault #1291
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I assume that one of my questions led to some sort of resolution. |
@dscho Myself and a few coworkers are seeing this same issue all of a sudden, with bash.exe throwing segfaults on any command we try to execute. It's confirmed to happen on Win 10 (Build 16299.611) with Git version 2.18.0 and 2.17.0, 64bit version, from the installer as well as the portable version. The interesting thing is that this started happening without us having updated git recently, the last update in my case for example was done in June. We initially suspected the IntelliJ update we had done yesterday, because we first noticed that the standalone git-bash was fine and only the one we're using from IntelliJ showed this behavior, but running bash.exe on its own, without IntelliJ still does this. We're a bit at a loss here trying to find out what is going wrong. Git version 2.6 seems to be working. |
I'm also having this issue. Every command I try results in segfault. It only happens when running Things I've tried
This is a problem for me because I want to use Git Bash as the default terminal for Visual Studio Code, and you must point to |
@gwest4 @roschlau The V2.19.0 is out, and previously the patched V2.18.2. Do have a go with the latest version https://github.com/git-for-windows/git/releases/ |
Turns out that it was a problem with our company's antivirus solution, trying to get an exclusion rule for the git binaries now, so probably not a problem with git itself. |
@roschlau which antivirus solution does your company use, and which binaries did you exclude to resolve this. |
@jryd It's an antivirus solution by TrendMicro. Our IT support didn't have the time to work out a solution yet, so I'm still waiting on that, I'll see if I can post more info once the issue is resolved. |
@roschlau same antivirus as mine. If you can share a fix that would be great. |
@jryd Okay so after failed attempts to add the /Git/bin/bash.exe to the list of trusted programs we figured out that we actually had to put /Git/usr/bin/bash.exe on that list instead, and that worked, I can use the bash now as I did before. Hope this helps! @PhilipOakley Just for the record, updating to 2.19 did not solve this issue. |
My company also uses TrendMicro. Can confirm that making an exception for /Git/usr/bin/bash.exe works as well. |
@roschlau thanks! For me it was C:\Program Files\Git\usr\bin, but adding it to the list of trusted programs did indeed fix the issue! 🎉 |
Setup
defaults?
to the issue you're seeing?
Details
Minimal, Complete, and Verifiable example
this will help us understand the issue.
URL to that repository to help us with testing?
The text was updated successfully, but these errors were encountered: