Skip to content

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

Closed
@reinierkors

Description

@reinierkors
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions