git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG?] Fail to pull from kernel.org: pack has bad object
@ 2008-10-20  8:10 Johan Herland
  2008-10-20  8:26 ` Thomas Rast
  0 siblings, 1 reply; 10+ messages in thread
From: Johan Herland @ 2008-10-20  8:10 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

Hi,

Currently I get the following error when trying to pull from git.git at 
kernel.org:

$ git pull
remote: Counting objects: 279, done.
remote: Compressing objects: 100% (78/78), done.
remote: Total 177 (delta 136), reused 135 (delta 99)
Receiving objects: 100% (177/177), 66.59 KiB | 59 KiB/s, done.
fatal: pack has bad object at offset 53487: failed to apply delta
fatal: index-pack failed


For reference, here's the relevant part of .git/config:

[remote "origin"]
        url = git://git.kernel.org/pub/scm/git/git.git
        fetch = +refs/heads/*:refs/remotes/origin/*


I using a recent "next" version: 1.6.0.2.767.g8f0e


...Johan

-- 
Johan Herland, <johan@herland.net>
www.herland.net

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

* Re: [BUG?] Fail to pull from kernel.org: pack has bad object
  2008-10-20  8:10 [BUG?] Fail to pull from kernel.org: pack has bad object Johan Herland
@ 2008-10-20  8:26 ` Thomas Rast
  2008-10-20 12:15   ` Jeff King
  0 siblings, 1 reply; 10+ messages in thread
From: Thomas Rast @ 2008-10-20  8:26 UTC (permalink / raw)
  To: Johan Herland; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

Jonathan Herland wrote:
>
> Currently I get the following error when trying to pull from git.git at 
> kernel.org:
> 
> $ git pull
> remote: Counting objects: 279, done.
> remote: Compressing objects: 100% (78/78), done.
> remote: Total 177 (delta 136), reused 135 (delta 99)
> Receiving objects: 100% (177/177), 66.59 KiB | 59 KiB/s, done.
> fatal: pack has bad object at offset 53487: failed to apply delta
> fatal: index-pack failed

I just had the same, panicked, then compiled 'maint' and the fetch
worked.  Unfortunately I wasn't awake enough to make a copy of the
repo.  Maybe you can make one, then use it to bisect the problem
between maint and next...

- Thomas

-- 
Thomas Rast
trast@{inf,student}.ethz.ch




[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [BUG?] Fail to pull from kernel.org: pack has bad object
  2008-10-20  8:26 ` Thomas Rast
@ 2008-10-20 12:15   ` Jeff King
  2008-10-20 13:59     ` Nicolas Pitre
  0 siblings, 1 reply; 10+ messages in thread
From: Jeff King @ 2008-10-20 12:15 UTC (permalink / raw)
  To: Thomas Rast; +Cc: Nicolas Pitre, Johan Herland, git

On Mon, Oct 20, 2008 at 10:26:55AM +0200, Thomas Rast wrote:

> > Currently I get the following error when trying to pull from git.git at 
> > kernel.org:
> > 
> > $ git pull
> > remote: Counting objects: 279, done.
> > remote: Compressing objects: 100% (78/78), done.
> > remote: Total 177 (delta 136), reused 135 (delta 99)
> > Receiving objects: 100% (177/177), 66.59 KiB | 59 KiB/s, done.
> > fatal: pack has bad object at offset 53487: failed to apply delta
> > fatal: index-pack failed
> 
> I just had the same, panicked, then compiled 'maint' and the fetch
> worked.  Unfortunately I wasn't awake enough to make a copy of the
> repo.  Maybe you can make one, then use it to bisect the problem
> between maint and next...

I am getting it, too, but I remembered to save my repo. :) The 'next'
branch is broken, but master works fine. The bisect points to

  commit 9441b61dc5c3f1f984114ec8bd470dc20c55dfe0
  Author: Nicolas Pitre <nico@cam.org>
  Date:   Fri Oct 17 15:57:57 2008 -0400

      index-pack: rationalize delta resolution code

but I don't have time to look further right now (there is a small child
who apparently thinks coloring with crayons is more interesting than
bisecting bugs).

I can make my broken repo available if need be (though given the number
of us seeing the problem, I doubt it is hard to reproduce).

-Peff

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

* Re: [BUG?] Fail to pull from kernel.org: pack has bad object
  2008-10-20 12:15   ` Jeff King
@ 2008-10-20 13:59     ` Nicolas Pitre
  2008-10-20 14:10       ` Thomas Rast
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Pitre @ 2008-10-20 13:59 UTC (permalink / raw)
  To: Jeff King; +Cc: Thomas Rast, Johan Herland, git

On Mon, 20 Oct 2008, Jeff King wrote:

> I am getting it, too, but I remembered to save my repo. :) The 'next'
> branch is broken, but master works fine. The bisect points to
> 
>   commit 9441b61dc5c3f1f984114ec8bd470dc20c55dfe0
>   Author: Nicolas Pitre <nico@cam.org>
>   Date:   Fri Oct 17 15:57:57 2008 -0400
> 
>       index-pack: rationalize delta resolution code

Dammit... I'm growing a habit of breaking things lately.

> but I don't have time to look further right now (there is a small child
> who apparently thinks coloring with crayons is more interesting than
> bisecting bugs).
> 
> I can make my broken repo available if need be (though given the number
> of us seeing the problem, I doubt it is hard to reproduce).

It certainly is... to me at least.

When index-pack dies like that, a temporary (and incomplete) pack file 
is left in .git/objects/pack/ with tmp in the file name.  I'd need only 
that to reproduce the issue.


Nicolas

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

* Re: [BUG?] Fail to pull from kernel.org: pack has bad object
  2008-10-20 13:59     ` Nicolas Pitre
@ 2008-10-20 14:10       ` Thomas Rast
  2008-10-20 17:49         ` Nicolas Pitre
  0 siblings, 1 reply; 10+ messages in thread
From: Thomas Rast @ 2008-10-20 14:10 UTC (permalink / raw)
  To: Nicolas Pitre; +Cc: Johan Herland, Jeff King, git

[-- Attachment #1: Type: text/plain, Size: 327 bytes --]

Nicholas Pitre wrote:
> When index-pack dies like that, a temporary (and incomplete) pack file 
> is left in .git/objects/pack/ with tmp in the file name.  I'd need only 
> that to reproduce the issue.

Like this?

  http://n.ethz.ch/~trast/download/tmp_pack_NMj69p
  
-- 
Thomas Rast
trast@{inf,student}.ethz.ch


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [BUG?] Fail to pull from kernel.org: pack has bad object
  2008-10-20 14:10       ` Thomas Rast
@ 2008-10-20 17:49         ` Nicolas Pitre
  2008-10-20 17:56           ` Jeff King
  2008-10-20 20:47           ` Thomas Rast
  0 siblings, 2 replies; 10+ messages in thread
From: Nicolas Pitre @ 2008-10-20 17:49 UTC (permalink / raw)
  To: Thomas Rast; +Cc: Johan Herland, Jeff King, git

On Mon, 20 Oct 2008, Thomas Rast wrote:

> Nicholas Pitre wrote:
> > When index-pack dies like that, a temporary (and incomplete) pack file 
> > is left in .git/objects/pack/ with tmp in the file name.  I'd need only 
> > that to reproduce the issue.
> 
> Like this?
> 
>   http://n.ethz.ch/~trast/download/tmp_pack_NMj69p

Yes, except I can't resolve any of the deltas in there...  Is it from 
the Linux kernel repository?


Nicolas

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

* Re: [BUG?] Fail to pull from kernel.org: pack has bad object
  2008-10-20 17:49         ` Nicolas Pitre
@ 2008-10-20 17:56           ` Jeff King
  2008-10-20 20:47           ` Thomas Rast
  1 sibling, 0 replies; 10+ messages in thread
From: Jeff King @ 2008-10-20 17:56 UTC (permalink / raw)
  To: Nicolas Pitre; +Cc: Thomas Rast, Johan Herland, git

On Mon, Oct 20, 2008 at 01:49:33PM -0400, Nicolas Pitre wrote:

> >   http://n.ethz.ch/~trast/download/tmp_pack_NMj69p
> 
> Yes, except I can't resolve any of the deltas in there...  Is it from 
> the Linux kernel repository?

I don't know about Thomas's example, but this one is from git.git:

  http://peff.net/tmp_pack_c7KnC6

-Peff

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

* Re: [BUG?] Fail to pull from kernel.org: pack has bad object
  2008-10-20 17:49         ` Nicolas Pitre
  2008-10-20 17:56           ` Jeff King
@ 2008-10-20 20:47           ` Thomas Rast
  2008-10-20 20:48             ` Thomas Rast
  2008-10-20 20:51             ` Nicolas Pitre
  1 sibling, 2 replies; 10+ messages in thread
From: Thomas Rast @ 2008-10-20 20:47 UTC (permalink / raw)
  To: Nicolas Pitre; +Cc: Johan Herland, Jeff King, git

[-- Attachment #1: Type: text/plain, Size: 567 bytes --]

Nicolas Pitre wrote:
> On Mon, 20 Oct 2008, Thomas Rast wrote:
> >   http://n.ethz.ch/~trast/download/tmp_pack_NMj69p
> 
> Yes, except I can't resolve any of the deltas in there...  Is it from 
> the Linux kernel repository?

No, that was in my own git.git.  Here's the entire repo, if that
context helps.  51M with all temporaries and everything, sorry; I'm
too tired to clean it up.  I doubt I have anything to hide in there
however.

  http://n.ethz.ch/~trast/download/git-with-broken-pack.tar.bz2

-- 
Thomas Rast
trast@{inf,student}.ethz.ch



[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [BUG?] Fail to pull from kernel.org: pack has bad object
  2008-10-20 20:47           ` Thomas Rast
@ 2008-10-20 20:48             ` Thomas Rast
  2008-10-20 20:51             ` Nicolas Pitre
  1 sibling, 0 replies; 10+ messages in thread
From: Thomas Rast @ 2008-10-20 20:48 UTC (permalink / raw)
  To: Nicolas Pitre; +Cc: Johan Herland, Jeff King, git

[-- Attachment #1: Type: text/plain, Size: 369 bytes --]

Thomas Rast wrote:
> No, that was in my own git.git.  Here's the entire repo, if that
> context helps.  51M with all temporaries and everything, sorry; I'm
> too tired to clean it up.  I doubt I have anything to hide in there
> however.

Obviously I should read all mail before replying.  Sorry for the
noise.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [BUG?] Fail to pull from kernel.org: pack has bad object
  2008-10-20 20:47           ` Thomas Rast
  2008-10-20 20:48             ` Thomas Rast
@ 2008-10-20 20:51             ` Nicolas Pitre
  1 sibling, 0 replies; 10+ messages in thread
From: Nicolas Pitre @ 2008-10-20 20:51 UTC (permalink / raw)
  To: Thomas Rast; +Cc: Johan Herland, Jeff King, git

On Mon, 20 Oct 2008, Thomas Rast wrote:

> Nicolas Pitre wrote:
> > On Mon, 20 Oct 2008, Thomas Rast wrote:
> > >   http://n.ethz.ch/~trast/download/tmp_pack_NMj69p
> > 
> > Yes, except I can't resolve any of the deltas in there...  Is it from 
> > the Linux kernel repository?
> 
> No, that was in my own git.git.  Here's the entire repo, if that
> context helps.

Thanks but I think I already fixed it now.  See the latest patch I just 
posted to the list.


Nicolas

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

end of thread, other threads:[~2008-10-20 20:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-20  8:10 [BUG?] Fail to pull from kernel.org: pack has bad object Johan Herland
2008-10-20  8:26 ` Thomas Rast
2008-10-20 12:15   ` Jeff King
2008-10-20 13:59     ` Nicolas Pitre
2008-10-20 14:10       ` Thomas Rast
2008-10-20 17:49         ` Nicolas Pitre
2008-10-20 17:56           ` Jeff King
2008-10-20 20:47           ` Thomas Rast
2008-10-20 20:48             ` Thomas Rast
2008-10-20 20:51             ` Nicolas Pitre

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 NNTP newsgroup(s).