Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.5k stars 570 forks source link

Console hangs on output from git-bash #2479

Open jarni-ua opened 1 year ago

jarni-ua commented 1 year ago

Versions

ConEmu build: 210912 x64, 220807 x64 OS version: Windows 10.0.19043 x64 Used shell version: happens with git-bash (2.36.1 and above, tired to try lower versions), doesn't happen with WSL console.

Problem description

Terminal window stops receiving output from git-bash shell when running different tasks inside shell (git pull/push, mvn, etc), it also doesn't receive input anymore. The task ran from git-bash finishes ok, which is confirmed by connector-***-out.log or running git pull again in new console window. The status bar at bottom left corner of the window shows currently running task and it is visible that the task finishes and the top level task is shown (see screenshot). But no output to console. The last line of the output is sometimes garbled, containing just part of the output (see screenshot). I can still scroll it up, copy from it, but it doesn't receive any input, no reaction to CTRL+C (but CTRL+C in copy mode works as intended). Looks like some broken pipe between ConEmu and git-bash. When trying to close console I get the "Confirm close console?" pop-up window stating "Incomplete operations: 1".

Steps to reproduce

None. Non-deterministic behavior. New console can handle 10 commands before "hanging" or hang right on the first one.

Actual results

Output from running task is incomplete. Console doesn't return to command prompt.

Expected results

Output from running task is complete. Console returns to command prompt.

Additional files

[Settings]Default, fresh install. [screenshots]https://ibb.co/1LDXWFb

jwolffpsl commented 1 year ago

Can confirm. Windows 11, 10.0.22621

andrycreator commented 1 year ago

I also faced mentioned issue with the same build: 210912. It happens regularly but not each time and the behavior is unpredictable because the same operations could be with the issue or not. In my case, it mostly happens for pull and push operations.

jarni-ua commented 1 year ago

I tried rolling back git-for-windows to older versions, because in one of the new ones there was Bash 5.0 presented. But that didn't help, unfortunately.

max-moritz commented 1 year ago

Confirming the issue. Happens quite often. :-( ConEmu 220807 x64 Windows 10, 10.0.19044.x64 git version 2.38.1.windows.1

mzagel commented 1 year ago

Same here. Happened after upgrade to Windows 11: ConEmu 220807 x64 Windows 11 Pro git version 2.38.1.windows.1

gabriel-stackhouse commented 1 year ago

Confirming this issue as well - glad I'm not the only one. Extremely frustrating having to close and reopen tabs multiple times a day.

ConEmu 221218 x64 Windows 11 Pro git version 2.38.1.windows.1

I have debug logs and a video where the error is reproduced, if needed. As with others, it generally happens on git push/pull operations.

iweb-p3mbo commented 1 year ago

Confirming issue here too. Appeared to start after updating Git.

I've also witnessed it happening on other long-running console processes (not just Git commands). As per the other comments - its seemingly random as to when it happens.

Shell: Git Bash Windows 10 19044.2364 git version 2.38.1.windows.1 ConEmu 221218 x64

gabriel-stackhouse commented 1 year ago

Is there any update on this? I love ConEmu, but this bug is unfortunately making it near-unusable currently.

gabriel-stackhouse commented 1 year ago

Had to make the switch to Windows Terminal until this gets fixed, because like I said, the error happens frequently enough to essentially render ConEmu unusable. I really do hope this issue gets solved because ConEmu is way more feature-rich, but it's just not functional in its current state.

lab3 commented 1 year ago

shell: Git Bash Windows 10 Pro, 10.0.19045 Build 19045 git version 2.39.2.windows.1 ConEmu 221218 stable x64

adamdva commented 11 months ago

Still an issue, will have to move back to basic git-bash until this is fixed. Windows 11 Pro, Version 22H2, OS build: 22621.1992 git version: 2.40.0.windows.1 ConEmu: 230724 [64] {Stable}

onexcz commented 8 months ago

Can confirm too. It happens to me quite a lot. Most often for git pull, but for other commands too.

OS: Windows 10 Enterprise, 21H2 (OS build: 19044.3208) ConEmu: 230724 stable

fgiele commented 7 months ago

I had the same issues, though using the latest stable ConEmu and after a Git for Windows update, I haven't had a lockup anymore. Currently using ConEmu 230724.x64 on Windows 10 and Git for Windows 2.41.0.3 @onexcz Can you check you Git version and see if an update there might improve things?