Conemu: Git hangs when Inject ConEmuHk.dll option is enabled

Created on 12 Apr 2018  路  8Comments  路  Source: Maximus5/ConEmu

Versions

ConEmu build: 180411 x64
OS version: Windows 10 Pro x64
Used shell version: Powershell 5.1.16299.251
Git version: 2.16.2.windows.1

Problem description

Some Git commands hang when Inject ConEmuHk.dll into all processes started in ConEmu tabs is checked in general settings. These are for example: git status --short and git branch. They sometimes can be killed with Ctrl+C but sometimes not - it seems kinda random.

What's interesting is that git status (without --short) works inside repository, but when run outside of any Git repository it also hangs.

Steps to reproduce

  1. Enable Inject ConEmuHk.dll into all processes started in ConEmu tabs setting.
  2. Run git status --short

Actual results

The command hangs.

Expected results

The command should not hang.

hooks

Most helpful comment

The new version now works for me.

All 8 comments

One additional info: I just checked and it works in previous build 180409.

I am seeing the same problem with git on build 180411 x64. I've confirmed it also happens for git 2.14.3 and git 2.17.0-rc1 (Chocolatey "git 2.17.0").

When in a valid repository, git push and git checkout -b foobar hang for me.

Update: Downgrading to [180409] also fixed it for me. Link (portable) for those who want to downgrade.

The same issue on 180411 x64 (git version 2.10.1)

Eh... Same on 180411 x64 (git version 2.17.0.windows.1)

Same on 180411 x64 (git version 2.16.2.windows.1)

Also on 180411 here. It's not 100% consistent, but it does happen quite often. I tried on several versions of git -- 2.14, and 2.16. This did not happen on earlier builds. Commands like git pull, git push, git checkout can all hang. This does not happen in a regular cmd.exe window.

Disabling conemuhk.dll injection seems to work around this.

Same problem here. Previous version was working fine.

The new version now works for me.

Was this page helpful?
0 / 5 - 0 ratings