git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Severe Regression in Git 1.21.0 -- not receiving any data
@ 2019-05-31 11:31 David
  2019-05-31 19:18 ` Beat Bolli
  0 siblings, 1 reply; 2+ messages in thread
From: David @ 2019-05-31 11:31 UTC (permalink / raw)
  To: git

# Summary

I was trying to clone the AOSP source tree (Android Open Source Project) 
and I finally was able to formally identify what seems to be a severe 
regression (one that is blocking usage) in the last version of git (2.21.0).

# Steps to reproduce

The AOSP projects recommend to use ubuntu 14.04 as its build platform. 
The git version for this distro is :

```
root@eb57f366840e:/android# git --version
git version 1.9.1
```

In a docker image for this OS, I am able to execute:

```
root@eb57f366840e:~# git clone 
https://android.googlesource.com/platform/manifest
Cloning into 'manifest'...
remote: Sending approximately 39.94 MiB ...
remote: Counting objects: 852, done
remote: Finding sources: 100% (27/27)
remote: Total 16017 (delta 4968), reused 16017 (delta 4968)
Receiving objects: 100% (16017/16017), 39.65 MiB | 9.04 MiB/s, done.
Resolving deltas: 100% (4968/4968), done.
Checking connectivity... done.
```

Now, on my local Archlinux Box, the git version is 2.21.0 (latest).

The same command:

```

git clone https://android.googlesource.com/platform/manifest
```

Is launching a single thread that uses 100% of one CPU core FOREVER, 
until a timeout arises after like 40 minutes (the remote hung up 
unexpectedly). Someone on the #git channel (irc.freenode.net) was able 
to reproduce the exact same behaviour.

I must add that this of course arises only with the repo I mention in 
this email (github repositories are just fine). So probably a mismatch 
in protocol between git server/client ? Anyways, I'm far from having the 
skills to fix that thing.

I hope this report is useful, and in any case, I would like to know 
about the possible outcomes of this report.

I would be actually very surprised if someone did not notice that 
before, given that the latest git version is from february, but I can 
try anyway :)

Cheers,

David


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Severe Regression in Git 1.21.0 -- not receiving any data
  2019-05-31 11:31 Severe Regression in Git 1.21.0 -- not receiving any data David
@ 2019-05-31 19:18 ` Beat Bolli
  0 siblings, 0 replies; 2+ messages in thread
From: Beat Bolli @ 2019-05-31 19:18 UTC (permalink / raw)
  To: David, git

On 31.05.19 13:31, David wrote:
> # Summary
> 
> I was trying to clone the AOSP source tree (Android Open Source Project)
> and I finally was able to formally identify what seems to be a severe
> regression (one that is blocking usage) in the last version of git
> (2.21.0).
> 
> # Steps to reproduce
> 
> The AOSP projects recommend to use ubuntu 14.04 as its build platform.
> The git version for this distro is :
> 
> ```
> root@eb57f366840e:/android# git --version
> git version 1.9.1
> ```
> 
> In a docker image for this OS, I am able to execute:
> 
> ```
> root@eb57f366840e:~# git clone
> https://android.googlesource.com/platform/manifest
> Cloning into 'manifest'...
> remote: Sending approximately 39.94 MiB ...
> remote: Counting objects: 852, done
> remote: Finding sources: 100% (27/27)
> remote: Total 16017 (delta 4968), reused 16017 (delta 4968)
> Receiving objects: 100% (16017/16017), 39.65 MiB | 9.04 MiB/s, done.
> Resolving deltas: 100% (4968/4968), done.
> Checking connectivity... done.
> ```
> 
> Now, on my local Archlinux Box, the git version is 2.21.0 (latest).
> 
> The same command:
> 
> ```
> 
> git clone https://android.googlesource.com/platform/manifest
> ```
> 
> Is launching a single thread that uses 100% of one CPU core FOREVER,
> until a timeout arises after like 40 minutes (the remote hung up
> unexpectedly). Someone on the #git channel (irc.freenode.net) was able
> to reproduce the exact same behaviour.
> 
> I must add that this of course arises only with the repo I mention in
> this email (github repositories are just fine). So probably a mismatch
> in protocol between git server/client ? Anyways, I'm far from having the
> skills to fix that thing.
> 
> I hope this report is useful, and in any case, I would like to know
> about the possible outcomes of this report.
> 
> I would be actually very surprised if someone did not notice that
> before, given that the latest git version is from february, but I can
> try anyway :)
> 
> Cheers,
> 
> David

Can you try

    GIT_TRACE_PACKET=/tmp/packet.txt GIT_TRACE=/tmp/trace.txt git clone
https://android.googlesource.com/platform/manifest

?

The new files in /tmp help you see where the operation stalls.

Warning: the output will be large!


Beat

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-31 19:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-31 11:31 Severe Regression in Git 1.21.0 -- not receiving any data David
2019-05-31 19:18 ` Beat Bolli

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).