threads / bug / 62327

Bug Report

Subject: Bug Report

## tl;dr

5 messages between Oct 13, 2024 and Oct 15, 2024.

replies: 4people: 4as markdown or json

吴元守· Oct 13, 2024, 15:44 UTC · lore

What did you do before the bug happened? (Steps to reproduce your issue) Update the git version from 2.46.2 to 2.47.0 . Clone any repository from Github using ssh(HTTP is not affected).

What did you expect to happen? (Expected behavior) Clone succeed.

What happened instead? (Actual behavior) Git clone hang for a long time during clone(Maybe hang forever). > git clone git@github.com:ibbles/LearningUnreal.git LearningUnreal2 Cloning into 'LearningUnreal2'... remote: Enumerating objects: 3416, done. remote: Counting objects: 100% (360/360), done. remote: Compressing objects: 100% (261/261), done. Receiving objects: 2% (69/3416)

Anything else you want to add: I can reproduce it in two of my machine , and it seems to be easily reproducable. The git process which is hanging forever have a stack as followed.

     ntdll.dll!NtReadFile()
     KernelBase.dll!00007ffca591bd3b
     msvcrt.dll!_read_nolock()
     msvcrt.dll!_read()
     git.exe!xread() Line 231
>    git.exe!fill() Line 311
     git.exe!parse_pack_objects() Line 484
     git.exe!cmd_index_pack() Line 1929
     git.exe!handle_builtin() Line 484
     git.exe!run_argv() Line 821
     git.exe!cmd_main() Line 957
     git.exe!main() Line 67
     git.exe!wmain() Line 4143
     git.exe!__tmainCRTStartup() Line 260
     git.exe!mainCRTStartup() Line 182
     kernel32.dll!00007ffca7bf257d()
     ntdll.dll!RtlUserThreadStart()
[System Info]
git version:
git version 2.47.0.windows.1
cpu: x86_64
built from commit: d53e4648cb65eb75dd8d8a093d17400a18a9a15d
sizeof-long: 4
sizeof-size_t: 8
shell-path: D:/git-sdk-64-build-installers/usr/bin/sh
feature: fsmonitor--daemon
libcurl: 8.10.1
OpenSSL: OpenSSL 3.2.3 3 Sep 2024
zlib: 1.3.1
uname: Windows 10.0 22631
compiler info: gnuc: 14.2
libc info: no libc information available
$SHELL (typically, interactive shell): <unset>

[Enabled Hooks] not run from a git repository - no hooks to show</unset>�*.�

Koji Nakamaru· Oct 14, 2024, 05:04 UTC · re: 吴元守 · lore

Re: Bug Report

On Mon, Oct 14, 2024 at 12:46 AM 吴元守 <wu.yuanshou@foxmail.com> wrote:
Show 16 quoted lines
>
> What did you do before the bug happened? (Steps to reproduce your issue)
> Update the git version from 2.46.2 to 2.47.0 .
> Clone any repository from Github using ssh(HTTP is not affected).
>
> What did you expect to happen? (Expected behavior)
> Clone succeed.
>
> What happened instead? (Actual behavior)
> Git clone hang for a long time during clone(Maybe hang forever).
> &gt; git clone git@github.com:ibbles/LearningUnreal.git LearningUnreal2
> Cloning into 'LearningUnreal2'...
> remote: Enumerating objects: 3416, done.
> remote: Counting objects: 100% (360/360), done.
> remote: Compressing objects: 100% (261/261), done.
> Receiving objects:   2% (69/3416)

I was able to reproduce the issue. It seems to be related to runtime changes. If we replace "C:/Program Files/Git/usr/bin/msys-2.0.dll" with the file comes with https://github.com/git-for-windows/git/releases/tag/v2.46.2.windows.1, "git clone" succeeds.

Koji Nakamaru
Johannes Schindelin· Oct 14, 2024, 06:02 UTC · re: Koji Nakamaru · lore

Re: Bug Report

Hi Koji and Yuanshou,
On Mon, 14 Oct 2024, Koji Nakamaru wrote:
Show 23 quoted lines
> On Mon, Oct 14, 2024 at 12:46 AM 吴元守 <wu.yuanshou@foxmail.com> wrote:
> >
> > What did you do before the bug happened? (Steps to reproduce your issue)
> > Update the git version from 2.46.2 to 2.47.0 .
> > Clone any repository from Github using ssh(HTTP is not affected).
> >
> > What did you expect to happen? (Expected behavior)
> > Clone succeed.
> >
> > What happened instead? (Actual behavior)
> > Git clone hang for a long time during clone(Maybe hang forever).
> > &gt; git clone git@github.com:ibbles/LearningUnreal.git LearningUnreal2
> > Cloning into 'LearningUnreal2'...
> > remote: Enumerating objects: 3416, done.
> > remote: Counting objects: 100% (360/360), done.
> > remote: Compressing objects: 100% (261/261), done.
> > Receiving objects:   2% (69/3416)
>
> I was able to reproduce the issue. It seems to be related to runtime
> changes. If we replace "C:/Program Files/Git/usr/bin/msys-2.0.dll" with
> the file comes with
> https://github.com/git-for-windows/git/releases/tag/v2.46.2.windows.1,
> "git clone" succeeds.

This bug has been reported at https://github.com/git-for-windows/git/issues/5199 and has been addressed in the latest snapshot at https://wingit.blob.core.windows.net/files/index.html

Ciao, Johannes

Koji Nakamaru· Oct 14, 2024, 06:22 UTC · re: Johannes Schindelin · lore

Re: Bug Report

On Mon, Oct 14, 2024 at 3:02 PM Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

> This bug has been reported at
> https://github.com/git-for-windows/git/issues/5199 and has been addressed
> in the latest snapshot at
> https://wingit.blob.core.windows.net/files/index.html
Thank you. I tried the latest snapshot and it worked perfectly.
Koji Nakamaru
Taylor Blau· Oct 15, 2024, 00:40 UTC · re: Koji Nakamaru · lore

Re: Bug Report

On Mon, Oct 14, 2024 at 03:22:13PM +0900, Koji Nakamaru wrote:
Show 8 quoted lines
> On Mon, Oct 14, 2024 at 3:02 PM Johannes Schindelin
> <Johannes.Schindelin@gmx.de> wrote:
> > This bug has been reported at
> > https://github.com/git-for-windows/git/issues/5199 and has been addressed
> > in the latest snapshot at
> > https://wingit.blob.core.windows.net/files/index.html
>
> Thank you. I tried the latest snapshot and it worked perfectly.
Thanks, both.

Thanks, Taylor

← back to recent threads