git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Problem with pack

From
Linus Torvalds <torvalds@osdl.org>
Date
Aug 26, 2006, 18:20 UTC
Message-ID
<Pine.LNX.4.64.0608261115570.11811@g5.osdl.org>
In-Reply-To
<44EEED9C.1010000@arces.unibo.it>
On Fri, 25 Aug 2006, Sergio Callegari wrote:
Show 9 quoted lines
>
> If I try to verify the pack I get:
> 
> git verify-pack -v pack-ebcdfbbda07e5a3e4136aa1f499990b35685bab4.idx
> fatal: failed to read delta-pack base object 2849bd2bd8a76bbca37df2a4c8e8b990811d01a7
> 
> the package length seems reasonable, however... (no evident sign of
> truncation, but I haven't looked inside the index to check the exact positions
> of objects)...

Can you make the corrupt pack-file and index available publically (or perhaps at least to a few git people?)

The fact that verify-pack is happy with the SHA1 checksum is interesting, because it means that the pack-file at least didn't get corrupted on-disk (or through the sync operation). Iow, it must have gotten corrupted at write-out itself somehow, and it would be interesting to see what the pack-file looks like.

> and git unpack-object dies with error code -3 in inflate...
That's Z_DATA_ERROR, which is what you get if the input to inflate is bad.
		Linus
Previous: Sergio Callegari
Message 2 of 2 in “Re: Problem with pack”
  1. Sergio CallegariAug 25, 2006
  2. Linus TorvaldsAug 26, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.