On Tue, Jul 13, 2010 at 6:22 AM, Enrico Weigelt <weigelt@xxxxxxxx> wrote: > * Avery Pennarun <apenwarr@xxxxxxxxx> wrote: >> On Tue, Jul 13, 2010 at 1:03 AM, Enrico Weigelt <weigelt@xxxxxxxx> wrote: >> > * Avery Pennarun <apenwarr@xxxxxxxxx> wrote: >> >> Do you know which packfiles are corrupted? Does 'git index-pack' on >> >> the files reveal anything? >> > >> > git@blackwidow ~/metux/work.git/pack $ git index-pack pack-3b6cbd5dc5f54cf390cfaa479cac6a99d7401375.pack >> > error: inflate: data stream error (incorrect data check) >> > fatal: pack has bad object at offset 37075832: inflate returned -3 >> > >> > (that's essentially the same git-gc says) >> >> What's the size of that .pack file? > > Somewhat over 300MB. > > Lowering the packfile size seemed to help. > (but I still only can do that for git-repack, not remote transfers) If you got corruption at offset 37,075,832 (about 37 megs) and the pack is over 300 megs, then the file itself is corrupted right in the middle (not truncated) and this couldn't have been caused by disk full errors. Either you have memory corruption problems, or disk corruption problems, or filesystem corruption problems. You'd better watch out. Forcing the packfile size to be smaller probably just changes your memory access patterns and moves your errors around. But it doesn't sound like a git bug at this point. Avery -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html