From: Pascal Obry Date: Tue, 03 Nov 2009 21:31:30 GMT Subject: Re: git hang with corrupted .pack Message-ID: <4AF0A132.1060103@obry.net> In-Reply-To: <81b0412b0910200814v269e91fbkd7841308685e1c54@mail.gmail.com> Le 20/10/2009 17:14, Alex Riesen a écrit : > I seem to have problems with this change (on Cygwin). Sometimes > accessing an object in a pack fails in unpack_compressed_entry. > When it happens, both avail_in and avail_out of the stream are 0, > and the reported status is Z_BUF_ERROR. > Output with the second attached patch: > > error: *** inflate error: 0x862380 size=1256, avail_in=0 (was 697), > avail_out=0 (was 1256) > error: *** unpack_compressed_entry failed > error: failed to read object 3296766eb5531ef051ae392114de5d75556f5613 > at offset 2620741 from > .git/objects/pack/pack-996206790aaefbf4d34c86b3ff546bb924546b7c.pack > fatal: object 3296766eb5531ef051ae392114de5d75556f5613 is corrupted I have this problem on some repository on Cygwin too. For now I have reverted to Git 1.6.4 which seems to be working fine. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net - http://v2p.fr.eu.org --| "The best way to travel is by means of imagination" --| --| gpg --keyserver keys.gnupg.net --recv-key F949BD3B