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

Re: git 1.5.3.5 error over NFS (pack data corruption)

From
Alex Riesen <raa.lkml@gmail.com>
Date
Nov 14, 2007, 19:54 UTC
Message-ID
<20071114195406.GB3973@steel.home>
In-Reply-To
<18234.15666.711624.443184@lisa.zopyra.com>
Bill Lear, Wed, Nov 14, 2007 01:11:30 +0100:
Show 18 quoted lines
> >oh, you should be looking for usage.c, the function report (it is
> >called by default die handler). The old code used to fputs("fatal:"),
> >the new just vfprintf's everything, so the write should look like:
> >
> >    write(2, "fatal: cannot pread pack file: No such "...
> 
> Are you sure?
> 
> % ls -l git-1.5.3.5.tar.bz2
> -rw-r--r-- 1 blear software 1351433 2007-10-31 15:04 git-1.5.3.5.tar.bz2
> % bunzip2 -c !$ | tar xf -
> % cd git-1.5.3.5
> % grep -A 5 'void report' usage.c
> static void report(const char *prefix, const char *err, va_list params)
> {
>         fputs(prefix, stderr);
>         vfprintf(stderr, err, params);
>         fputs("\n", stderr);

Ach, right. I just checked Junio's master. BTW, maybe you could check that as well? There were 64bit fixes lately, and had an impression you were using git compiled for 64bit (mmap2 return address from your first strace was shown 64bit).

Previous: Bill LearNext: Nicolas Pitre
Message 11 of 14 in “git 1.5.3.5 error over NFS”
  1. Bill LearNov 9, 2007
  2. Alex RiesenNov 9, 2007
  3. Bill LearNov 12, 2007
  4. Alex RiesenNov 12, 2007
  5. Alex RiesenNov 12, 2007
  6. Bill LearNov 13, 2007
  7. Alex RiesenNov 13, 2007
  8. Bill LearNov 13, 2007
  9. Alex RiesenNov 14, 2007
  10. Bill LearNov 14, 2007
  11. Alex RiesenNov 14, 2007
  12. Nicolas PitreNov 14, 2007
  13. Junio C HamanoNov 14, 2007
  14. Nicolas PitreNov 14, 2007

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.