git version 2.16.1.windows.4
cpu: x86_64
built from commit: ef6d451bbfef86a529ebf12620289e0f15a93d8e
sizeof-long: 4
Microsoft Windows [Version 10.0.16299.248]
Editor Option: VIM
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
ConEmu build: 180206 [64] {Alpha}
+ Launch ConEmu
+ Git Bash
Git Bash
What actually happened instead?
ConEmuC: Root process was alive less than 10 sec, ExitCode=0.
Press Enter or Esc to close console...
Definitely related to #1473.
If you force terminal to xterm instead of default xterm-256color it works properly.
set "PATH=%ProgramFiles%\Git\usr\bin;%PATH%" & "%ProgramFiles%\Git\git-cmd.exe" --no-cd --command=%ConEmuBaseDirShort%\conemu-msys2-64.exe -t xterm /usr/bin/bash.exe -l -i -new_console:p
I had the same problem. Setting TERM=xterm (default was cygwin) in the command seems to fix the issue, at least for the moment. I got a nice less stackdump which is probably unusable as is (and by the way, using TERM=xterm makes vim works strangely).
Note: gitbash + conemu did not always fail (eg: in some console, I can use less and in some other it crash, while the problem on #1473 is always reproducible.
I also tried to revert to a version (latest 2.14 as far as I remember) but it still failed.
[edit] git log use less (with TERM=cygwin, as seen in Process Explorer); and less fails with TERM=cygwin. However, git log still works. Also, as I use Ctrl + Shift + O to vertically split the windows, the second git bash successfully starts less without dropping a stackdump.
I'll try again with 2.14 whenever I get the time to (Git-2.14.2-64-bit.exe which is old).
Even the plain Git Bash stop working. Have to go into the ~/.minttyrc and remove this line in order for it to work:
Term=xterm-256color
Could you test the newest snapshot from https://wingit.blob.core.windows.net/files/index.html, please? I hope it fixes this issue (which I believe is the same as in #1473).
dac@DAC514-DELL MINGW64 ~
$ git --version --build-options
git version 2.16.2.windows.1.1.g0dc4ae781f
cpu: x86_64
built from commit: 0dc4ae781f3617ce0924eccd1b09707ed115698b
sizeof-long: 4
-t xterm workaround.Works for me.
Thanks for confirming!
Most helpful comment
Definitely related to #1473.
If you force terminal to
xterminstead of defaultxterm-256colorit works properly.