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

"{svn | svnadmin}: Decompression of svndiff data failed" and "svn: Malformed representation header", "svn: Corrupt representation" messages

From: Bastian Ugimachi <bastian.ugimachi_at_googlemail.com>
Date: Thu, 21 Apr 2011 12:29:33 +0200


I recently installed a subversion (version 1.6.11) repository on out RHEL 5
system, that I access using ssh+svn protocol. Already after some very few
commits, I ran into the problem of getting the error "svnadmin:
Decompression of svndiff data failed" when performing "svnadmin dump
/path/to/rep > /path/to/backup/repo.dump". I get the same error "svn:
Decompression of svndiff data failed" when trying to check out the entire
repository using the command line with "svn checkout
svn+ssh://localhost/path/to/rep /path/to/co".

I did quite a lot of searches on the internet and tried "svnadmin verify
/path/to/rep", also returning the same error.
* Verified revision 1.
* Verified revision 2.
svnadmin: Decompression of svndiff data failed

It seems to be revision 3 which is corrupted, as a revision specific
verifcation with "svnadmin verify /path/to/rep -r x" succeeds with x=1 and
* Verified revision 0.
* Verified revision 1.
Verifying revision 3 (and any subsequent revision) returns the well-known
error again:
svnadmin: Decompression of svndiff data failed

Strangely, "svnadmin recover /path/to/rep" successfully succeeds:
svnadmin recover /path/to/rep
Repository lock acquired.
Please wait; recovering the repository may take some time...
Recovery completed.
The latest repos revision is 8.

I came accorss some posts, suggesting to use fsfsverify.py and apply it to
the revisions. Applying "./fsfsverify.py -f /opt/maps/svn/maps/db/revs/0/x"
it to revisions x=0 and x=1 successfully terminates but applying it to
revision 2 (and all subsequent ones) terminates with the error:
Traceback (most recent call last):
  File "./fsfsverify.py", line 1120, in ?
    for noderev in strategy:
  File "./fsfsverify.py", line 839, in _nodeWalker
    for x in self._nodeWalker():
  File "./fsfsverify.py", line 839, in _nodeWalker
    for x in self._nodeWalker():
  File "./fsfsverify.py", line 832, in _nodeWalker
    noderev = NodeRev(self.f, self.currentRev)
  File "./fsfsverify.py", line 678, in __init__
    (rev, offset, length, size, digest) = value.split(' ')
ValueError: too many values to unpack

I furthermore integrated svn into my IDE (Eclipse Helios) and also tried a
checkout of the project, of which revision 2 (the corrupt one) consisted.
The process aborts, showing the following error:
Get content for 'svn+ssh://server.fqdn.com/path/to/rep/ProjectName/.project'
svn: Malformed representation header
svn: Corrupt representation '2 325 387 370 d66781ba03f9571d044bf8f257601485
0fd3590a02c19961e78d0ef76efa710d9d6ef194 1-2/_c'

I guess that these errors are related to each, aren't they?

It would be great if someone out there could help me out - there are not
many revisions within the repo currently, but I need to report about the
success of the test.

Thank anyone for reading and helping!
Received on 2011-04-21 12:37:25 CEST

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.