Skip to content
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

Segmentation fault when using in integrated VS Code/Atom terminal #2242

Closed
1 task done
reinierkors opened this issue Jun 22, 2019 · 1 comment
Closed
1 task done

Comments

@reinierkors
Copy link

  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
    64-bit 2.20.2
$ git --version --build-options

git version 2.22.0.windows.1
cpu: x86_64
built from commit: d003d728ffa6c0006da875ec6318d3f6b28a4ddb
sizeof-long: 4
sizeof-size_t: 8
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
    Windows 10, 64-bit.
$ cmd.exe /c ver

Microsoft Windows [Version 10.0.17763.557]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
    The defaults.
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt

Editor Option: VisualStudioCode
Custom Editor Path: 
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Disabled
Enable Symlinks: Disabled
Enable Builtin Interactive Add: Enabled

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

From Visual Studio Code & Atom.

1. Open VS Code
2. Open new terminal (set to git bash) by adding: "terminal.integrated.shell.windows": "C:\Program Files\Git\bin\bash.exe"
3. Type ls or git status a couple of times
4. Get error: 'Segmentation Fault'
  • What did you expect to occur after running these commands?

I expect the commands to run as normal.

  • What actually happened instead?

A message is being returned: 'Segmentation Fault', and a bash.exe.stackdump file is being created in the directory. When running a seperate console by clicking 'Git Bash here' the commands work fine and I don't get any segmentation errors, however when using an integrated terminal for example Visual Studio Code without any extensions I will get the segmentation fault error.

@reinierkors
Copy link
Author

Update: it actually seems to be AV related like stated in #1291
After I've restarted Malwarebytes Premium I was able to resolve the errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant