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

Re: Can't read length line in file (again).

From: John Szakmeister <john_at_szakmeister.net>
Date: 2006-06-02 10:21:41 CEST

----- Andrew MacKenzie <amackenz@edespot.com> wrote:
> > I suppose the network issue might help present the issue, but it's
> > certainly not the cause of it. Malcome Rowe managed to determine
> the
> > algorithm behind the corruption, but unfortunately, neither of us
> have
> > come up with a successful reproduction recipe:
> > http://svn.haxx.se/dev/archive-2006-02/0473.shtml
> Sounds like a fun bug...

Yeah... I lose a little more hair every day. :-)

> I've been playing around with my 'random binary data commit' script while
> simulating networking issues a bit, and I've not *quite* been able to
> generate the "Can't read length line in file" error, but I *have* managed
> to generate another issue:
> "svnadmin: Malformed representation header"
> I can't commit or update anything involving my file. I had a number of
> transactions in 'test\db', and had trouble removing two of them with
> 'svnadmin rmtxns test' (svnadmin: Can't open file '8184-4\format': The
> system cannot find the path specified).
> Is this issue similar to the Can't read length line one? Perhaps just
> corruption in another part of the data?

It could very well be. This error indicates that it wasn't able to parse the front of the text representation. At the front of the data there is an indicator stating whether it's a full text (no deltification), self compressed (deltified against itself), or a deltified against a previous revision. This error pops up when it can't determine that.

Would it be possible to see both the rev file and the script you used to produce it? If the rev file isn't all that big, you can send it to me privately. If it's bigger, if you could post it somewhere, that would be great. I can then look at it and tell for certain whether or not it's the same bug or something different.

As for the reason you can't remove the transactions, I'd really have to see the whole repository to comment on that.

I'm glad you were able to produce something!


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 2 10:24:24 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.