Re: Error "fatal: cannot pread pack file: Success"
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Feb 28, 2007, 16:47 UTC
- Message-ID
- <Pine.LNX.4.64.0702280843030.12485@woody.linux-foundation.org>
- In-Reply-To
- <17893.44936.525606.74693@lisa.zopyra.com>
On Wed, 28 Feb 2007, Bill Lear wrote:
Show 9 quoted lines
> On Wednesday, February 28, 2007 at 08:34:18 (-0800) Linus Torvalds writes: > >> [...] > >> Resolving 2210 deltas. > >> fatal: cannot pread pack file: Success [obj[0].offset=39393; obj[1].offset=39602; n=305; obj->size=0; rdy=0; len=207] > >> fatal: index-pack died with error code 128 > > > >What's "n"? Is that the return value from pread? Or was that "rdy"? > > Yes, n is the value from pread.
Ok, that's just ODD.
Getting 305 bytes back when you asked for 207 is a bad bad bad thing. It's also really really odd and unexpected.
What filesystem? And could you strace this and actually see the pread() system call?
(use "strace -f -o tracefile" to follow all forks and to put the end result in a trace file)
Linus