[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS rtag corrupting files
From: |
Larry Jones |
Subject: |
Re: CVS rtag corrupting files |
Date: |
Wed, 21 May 2003 20:24:06 -0400 (EDT) |
Ross Patterson writes:
>
> During a "cvs rtag" of a large repository (~131K files, ~1.7GB) that touches
> almost all of the files, a small number of files are having four bytes of
> binary zeroes inserted at the start of the file.
You mean there are four NULs at the beginning of the RCS file, just
before "head"? If so, given the way CVS creates and writes RCS files,
it is not possible for CVS code to be causing this problem; it has to be
a bug in your C library or OS (on the server -- the client has nothing
to do with writing RCS files). If you're really using CVS 1.11.1p1,
that predates the use of mmap(), so it can't even be some kind of bug in
mmap(), it has to be a bug in stdio or the underlying I/O routines. If
you can reproduce the problem while running CVS under strace (in local
mode, since the client is irrelevant), that would provide important
clues as to which it is, although it will probably generate a *lot* of
trace information. You also might want to check for known problems with
the version of Linux you're running on the server.
-Larry Jones
TIME?! I just finished the first problem! -- Calvin