[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn: Can't read length line in file xyz

From: John Szakmeister <john_at_szakmeister.net>
Date: 2005-11-05 17:36:43 CET

On Thursday 03 November 2005 14:34, Tobias Sager wrote:
> > Date: Sat, 3 Sep 2005 02:42:30 -0700 (PDT)
> > From: Ranjit Kenaudekar <ranjit_iic@yahoo.com>
> > Subject: svn: Can't read length line in file xyz
> >
> > I get the below error while checking out, or while I
> > am doing update operations.
> > svnadmin verify and dump also gives the same error.
> >
> > "svn: Can't read length line in file
> > '/data/repo/db/revs/94"
>
> I have the same problem. svnadmin gives me this error during verify.
> svnadmin recover finds no errors.
>
> Error log entries:
> <snip>
> [error] A failure occurred while driving the update report editor [500,
> #200002]
> [error] Can't read length line in file
> '/home/subversion/repos/db/revs/47' [500, #200002]
> </snip>
>
> When I try to delete the resources (namely files in /A/c and /A/lib) of
> the revision with the error, it seems to work okay, but I have this
> entry in the log:
> <snip>
> [error] Could not DELETE
> /source/repos/!svn/wrk/ee9739e9-ecad-1a41-9886-5d65727145a4/A/c. [409, #0]
> [error] Can't DELETE out-of-date resource [409, #170004]
> [error] Item '/A/c' is out of date [409, #170004]
> [error] Could not DELETE
> /source/repos/!svn/wrk/d6b0d01d-eb37-0e46-9009-6f1c9f502f9a/A/lib.
> [409, #0]
> [error] Can't DELETE out-of-date resource [409, #170004]
> [error] Item '/A/lib' is out of date [409, #170004]
> </snip>
>
>
> Using 1.2.1 on Fedora Core 1 over https with Apache.
>
> Anybody any clues about this?

Can you provide me a copy of the original broken repository (before you tried
to delete the resources)? If so, post it to a website and send me the link
privately, or if it isn't too big, you can send it directly to me.

I've seen this problem a few times, but the root cause has yet to be
determined. All of them had an incorrect text representation, but all were
corrupted in different ways. At least one of the cases turned out to be due
to failing hardware.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 5 17:43:57 2005

This is an archived mail posted to the Subversion Dev mailing list.