This is the almost same message I cced to lk and nfs, but with
Git-interasting parts added.
Bill Lear, Mon, Nov 12, 2007 16:39:15 +0100:
It is a really old kernel... Maybe you could try with some of the
recent ones?
Yes, this is the file.
I extend the part you quoted. The file is opened here:
open(".git/objects/pack_awOTNW", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
write(3, "PACK\0\0\0\2\0\0\3r", 12) = 12
... lots of data. Counted writes: 488538...
write(3, "v\351\247V\325\362\327/\240\265\211\211\322,\261\210\301"..., 4096) = 4096
write(3, "\202\202g\232Bf\211Bf\261Bb\36X\22\4\364\365\25\22\223"..., 1114) = 1114
write(3, "M", 1) = 1
That's the problem.
"Git-interesting parts"
This is strange. The current git should not produce anything like
this (and does not, here). The code in question is:
do {
ssize_t n = pread(pack_fd, data + rdy, len - rdy, from + rdy);
if (n <= 0)
die("cannot pread pack file: %s", strerror(errno));
rdy += n;
} while (rdy < len);
Either your strace or that kernel seem to have clobbered errno, too.
Interesing. What in git index-pack can read mtab and what for?
Is it vanilla Git or have you instrumented it somehow?
Is it your strace?
Do you have anything unusual in syslog?
BTW, you could try defining NO_PREAD in config.mak, and see if it
works the problem around for you.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html