{"thread":{"id":"15977","subject":"Re: [BUG?] Fail to pull from kernel.org: pack has bad object","startedAt":"2008-10-20T08:10:29Z","lastAt":"2008-10-20T20:51:22Z","messageCount":10,"participants":["Jeff King","Thomas Rast","Johan Herland","Nicolas Pitre"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"93505","messageId":"200810201010.29173.johan@herland.net","threadId":"15977","inReplyTo":null,"subject":"[BUG?] Fail to pull from kernel.org: pack has bad object","fromName":"Johan Herland","fromEmail":"johan@herland.net","sentAt":"2008-10-20T08:10:29Z","receivedAt":"2008-10-20T08:10:29Z","isPatch":false,"sender":{"key":"johan@herland.net","avatar":"https://avatars.githubusercontent.com/u/547031?v=4"},"body":"Hi,\n\nCurrently I get the following error when trying to pull from git.git at \nkernel.org:\n\n$ git pull\nremote: Counting objects: 279, done.\nremote: Compressing objects: 100% (78/78), done.\nremote: Total 177 (delta 136), reused 135 (delta 99)\nReceiving objects: 100% (177/177), 66.59 KiB | 59 KiB/s, done.\nfatal: pack has bad object at offset 53487: failed to apply delta\nfatal: index-pack failed\n\n\nFor reference, here's the relevant part of .git/config:\n\n[remote \"origin\"]\n        url = git://git.kernel.org/pub/scm/git/git.git\n        fetch = +refs/heads/*:refs/remotes/origin/*\n\n\nI using a recent \"next\" version: 1.6.0.2.767.g8f0e\n\n\n...Johan\n\n-- \nJohan Herland, <johan@herland.net>\nwww.herland.net\n"},{"id":"93501","messageId":"200810201026.57306.trast@student.ethz.ch","threadId":"15977","inReplyTo":"200810201010.29173.johan@herland.net","subject":"Re: [BUG?] Fail to pull from kernel.org: pack has bad object","fromName":"Thomas Rast","fromEmail":"trast@student.ethz.ch","sentAt":"2008-10-20T08:26:55Z","receivedAt":"2008-10-20T08:26:55Z","isPatch":false,"sender":{"key":"tr@thomasrast.ch","avatar":"https://avatars.githubusercontent.com/u/153510?v=4"},"body":"Jonathan Herland wrote:\n>\n> Currently I get the following error when trying to pull from git.git at \n> kernel.org:\n> \n> $ git pull\n> remote: Counting objects: 279, done.\n> remote: Compressing objects: 100% (78/78), done.\n> remote: Total 177 (delta 136), reused 135 (delta 99)\n> Receiving objects: 100% (177/177), 66.59 KiB | 59 KiB/s, done.\n> fatal: pack has bad object at offset 53487: failed to apply delta\n> fatal: index-pack failed\n\nI just had the same, panicked, then compiled 'maint' and the fetch\nworked.  Unfortunately I wasn't awake enough to make a copy of the\nrepo.  Maybe you can make one, then use it to bisect the problem\nbetween maint and next...\n\n- Thomas\n\n-- \nThomas Rast\ntrast@{inf,student}.ethz.ch\n\n\n\n"},{"id":"93500","messageId":"20081020121533.GA2177@coredump.intra.peff.net","threadId":"15977","inReplyTo":"200810201026.57306.trast@student.ethz.ch","subject":"Re: [BUG?] Fail to pull from kernel.org: pack has bad object","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2008-10-20T12:15:33Z","receivedAt":"2008-10-20T12:15:33Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Mon, Oct 20, 2008 at 10:26:55AM +0200, Thomas Rast wrote:\n\n> > Currently I get the following error when trying to pull from git.git at \n> > kernel.org:\n> > \n> > $ git pull\n> > remote: Counting objects: 279, done.\n> > remote: Compressing objects: 100% (78/78), done.\n> > remote: Total 177 (delta 136), reused 135 (delta 99)\n> > Receiving objects: 100% (177/177), 66.59 KiB | 59 KiB/s, done.\n> > fatal: pack has bad object at offset 53487: failed to apply delta\n> > fatal: index-pack failed\n> \n> I just had the same, panicked, then compiled 'maint' and the fetch\n> worked.  Unfortunately I wasn't awake enough to make a copy of the\n> repo.  Maybe you can make one, then use it to bisect the problem\n> between maint and next...\n\nI am getting it, too, but I remembered to save my repo. :) The 'next'\nbranch is broken, but master works fine. The bisect points to\n\n  commit 9441b61dc5c3f1f984114ec8bd470dc20c55dfe0\n  Author: Nicolas Pitre <nico@cam.org>\n  Date:   Fri Oct 17 15:57:57 2008 -0400\n\n      index-pack: rationalize delta resolution code\n\nbut I don't have time to look further right now (there is a small child\nwho apparently thinks coloring with crayons is more interesting than\nbisecting bugs).\n\nI can make my broken repo available if need be (though given the number\nof us seeing the problem, I doubt it is hard to reproduce).\n\n-Peff\n"},{"id":"93512","messageId":"alpine.LFD.2.00.0810200955250.26244@xanadu.home","threadId":"15977","inReplyTo":"20081020121533.GA2177@coredump.intra.peff.net","subject":"Re: [BUG?] Fail to pull from kernel.org: pack has bad object","fromName":"Nicolas Pitre","fromEmail":"nico@cam.org","sentAt":"2008-10-20T13:59:48Z","receivedAt":"2008-10-20T13:59:48Z","isPatch":false,"sender":{"key":"nico@fluxnic.net","avatar":"https://avatars.githubusercontent.com/u/702790?v=4"},"body":"On Mon, 20 Oct 2008, Jeff King wrote:\n\n> I am getting it, too, but I remembered to save my repo. :) The 'next'\n> branch is broken, but master works fine. The bisect points to\n> \n>   commit 9441b61dc5c3f1f984114ec8bd470dc20c55dfe0\n>   Author: Nicolas Pitre <nico@cam.org>\n>   Date:   Fri Oct 17 15:57:57 2008 -0400\n> \n>       index-pack: rationalize delta resolution code\n\nDammit... I'm growing a habit of breaking things lately.\n\n> but I don't have time to look further right now (there is a small child\n> who apparently thinks coloring with crayons is more interesting than\n> bisecting bugs).\n> \n> I can make my broken repo available if need be (though given the number\n> of us seeing the problem, I doubt it is hard to reproduce).\n\nIt certainly is... to me at least.\n\nWhen index-pack dies like that, a temporary (and incomplete) pack file \nis left in .git/objects/pack/ with tmp in the file name.  I'd need only \nthat to reproduce the issue.\n\n\nNicolas\n"},{"id":"93515","messageId":"200810201610.54427.trast@student.ethz.ch","threadId":"15977","inReplyTo":"alpine.LFD.2.00.0810200955250.26244@xanadu.home","subject":"Re: [BUG?] Fail to pull from kernel.org: pack has bad object","fromName":"Thomas Rast","fromEmail":"trast@student.ethz.ch","sentAt":"2008-10-20T14:10:51Z","receivedAt":"2008-10-20T14:10:51Z","isPatch":false,"sender":{"key":"tr@thomasrast.ch","avatar":"https://avatars.githubusercontent.com/u/153510?v=4"},"body":"Nicholas Pitre wrote:\n> When index-pack dies like that, a temporary (and incomplete) pack file \n> is left in .git/objects/pack/ with tmp in the file name.  I'd need only \n> that to reproduce the issue.\n\nLike this?\n\n  http://n.ethz.ch/~trast/download/tmp_pack_NMj69p\n  \n-- \nThomas Rast\ntrast@{inf,student}.ethz.ch\n\n"},{"id":"93536","messageId":"alpine.LFD.2.00.0810201112360.26244@xanadu.home","threadId":"15977","inReplyTo":"200810201610.54427.trast@student.ethz.ch","subject":"Re: [BUG?] Fail to pull from kernel.org: pack has bad object","fromName":"Nicolas Pitre","fromEmail":"nico@cam.org","sentAt":"2008-10-20T17:49:33Z","receivedAt":"2008-10-20T17:49:33Z","isPatch":false,"sender":{"key":"nico@fluxnic.net","avatar":"https://avatars.githubusercontent.com/u/702790?v=4"},"body":"On Mon, 20 Oct 2008, Thomas Rast wrote:\n\n> Nicholas Pitre wrote:\n> > When index-pack dies like that, a temporary (and incomplete) pack file \n> > is left in .git/objects/pack/ with tmp in the file name.  I'd need only \n> > that to reproduce the issue.\n> \n> Like this?\n> \n>   http://n.ethz.ch/~trast/download/tmp_pack_NMj69p\n\nYes, except I can't resolve any of the deltas in there...  Is it from \nthe Linux kernel repository?\n\n\nNicolas\n"},{"id":"93546","messageId":"20081020175648.GB18539@coredump.intra.peff.net","threadId":"15977","inReplyTo":"alpine.LFD.2.00.0810201112360.26244@xanadu.home","subject":"Re: [BUG?] Fail to pull from kernel.org: pack has bad object","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2008-10-20T17:56:48Z","receivedAt":"2008-10-20T17:56:48Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Mon, Oct 20, 2008 at 01:49:33PM -0400, Nicolas Pitre wrote:\n\n> >   http://n.ethz.ch/~trast/download/tmp_pack_NMj69p\n> \n> Yes, except I can't resolve any of the deltas in there...  Is it from \n> the Linux kernel repository?\n\nI don't know about Thomas's example, but this one is from git.git:\n\n  http://peff.net/tmp_pack_c7KnC6\n\n-Peff\n"},{"id":"93531","messageId":"200810202247.33372.trast@student.ethz.ch","threadId":"15977","inReplyTo":"alpine.LFD.2.00.0810201112360.26244@xanadu.home","subject":"Re: [BUG?] Fail to pull from kernel.org: pack has bad object","fromName":"Thomas Rast","fromEmail":"trast@student.ethz.ch","sentAt":"2008-10-20T20:47:30Z","receivedAt":"2008-10-20T20:47:30Z","isPatch":false,"sender":{"key":"tr@thomasrast.ch","avatar":"https://avatars.githubusercontent.com/u/153510?v=4"},"body":"Nicolas Pitre wrote:\n> On Mon, 20 Oct 2008, Thomas Rast wrote:\n> >   http://n.ethz.ch/~trast/download/tmp_pack_NMj69p\n> \n> Yes, except I can't resolve any of the deltas in there...  Is it from \n> the Linux kernel repository?\n\nNo, that was in my own git.git.  Here's the entire repo, if that\ncontext helps.  51M with all temporaries and everything, sorry; I'm\ntoo tired to clean it up.  I doubt I have anything to hide in there\nhowever.\n\n  http://n.ethz.ch/~trast/download/git-with-broken-pack.tar.bz2\n\n-- \nThomas Rast\ntrast@{inf,student}.ethz.ch\n\n\n"},{"id":"93540","messageId":"200810202248.57932.trast@student.ethz.ch","threadId":"15977","inReplyTo":"200810202247.33372.trast@student.ethz.ch","subject":"Re: [BUG?] Fail to pull from kernel.org: pack has bad object","fromName":"Thomas Rast","fromEmail":"trast@student.ethz.ch","sentAt":"2008-10-20T20:48:55Z","receivedAt":"2008-10-20T20:48:55Z","isPatch":false,"sender":{"key":"tr@thomasrast.ch","avatar":"https://avatars.githubusercontent.com/u/153510?v=4"},"body":"Thomas Rast wrote:\n> No, that was in my own git.git.  Here's the entire repo, if that\n> context helps.  51M with all temporaries and everything, sorry; I'm\n> too tired to clean it up.  I doubt I have anything to hide in there\n> however.\n\nObviously I should read all mail before replying.  Sorry for the\nnoise.\n\n-- \nThomas Rast\ntrast@{inf,student}.ethz.ch\n\n"},{"id":"93533","messageId":"alpine.LFD.2.00.0810201649210.26244@xanadu.home","threadId":"15977","inReplyTo":"200810202247.33372.trast@student.ethz.ch","subject":"Re: [BUG?] Fail to pull from kernel.org: pack has bad object","fromName":"Nicolas Pitre","fromEmail":"nico@cam.org","sentAt":"2008-10-20T20:51:22Z","receivedAt":"2008-10-20T20:51:22Z","isPatch":false,"sender":{"key":"nico@fluxnic.net","avatar":"https://avatars.githubusercontent.com/u/702790?v=4"},"body":"On Mon, 20 Oct 2008, Thomas Rast wrote:\n\n> Nicolas Pitre wrote:\n> > On Mon, 20 Oct 2008, Thomas Rast wrote:\n> > >   http://n.ethz.ch/~trast/download/tmp_pack_NMj69p\n> > \n> > Yes, except I can't resolve any of the deltas in there...  Is it from \n> > the Linux kernel repository?\n> \n> No, that was in my own git.git.  Here's the entire repo, if that\n> context helps.\n\nThanks but I think I already fixed it now.  See the latest patch I just \nposted to the list.\n\n\nNicolas\n"}]}