Corrupt Repository after commiting with SVNKit

Issue #954 new
Arne Humann
created an issue

Version 1.55 of scm-server ran into a problem when trying to checkout a freshly created branch. The behaviour could be reproduced as descripbed below.

A new repository was created using following statement:

$ svnadmin create ./test2

After importing the repository into scm via the webinterface the server was restartet. Then the following commits where done. The actual repository files aswell as a dump of all dumpable commits is attached.

Revision Description/Commit message 3 Created Brach: testBranch 2 initial commit 1 Created test project 0 [no comment]

When trying to check out the new branch this error arised:

Checkout operation for 'http://scm/svn/test2/mergeTest/branches/testBranch' failed.
svn: E175002: REPORT of '/svn/test2/!svn/vcc/default': 500 Server Error (http://scm)

This svnadmin version has been used:

$ svnadmin --version
svnadmin, version 1.9.5 (r1770682)
   compiled Dec  4 2016, 19:07:55 on x86_64-pc-linux-gnu

Copyright (C) 2016 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository back-end (FS) modules are available:

* fs_fs : Module for working with a plain file (FSFS) repository.
* fs_x : Module for working with an experimental (FSX) repository.
* fs_base : Module for working with a Berkeley DB repository.

Verifing and dumpng the repository revealed errors:

$ svnadmin verify --keep-going ./test2
* Verifying metadata at revision 0 ...
* Error verifying repository metadata.
svnadmin: E160056: Last P2L index entry extends beyond the last page in revision 2.
* Verified revision 0.
* Verified revision 1.
* Error verifying revision 2.
svnadmin: E160004: Corrupt representation '2 3 42 30 5a425c4fd2b0432dc19a6fe114522609 71a38bdc68da9d237776db5cd8d80beec8c428d4 1-1/_6'
svnadmin: E160004: Malformed representation header
* Verified revision 3.

-----Summary of corrupt revisions-----
    r2: E160004: Corrupt representation '2 3 42 30 5a425c4fd2b0432dc19a6fe114522609 71a38bdc68da9d237776db5cd8d80beec8c428d4 1-1/_6'
    r2: E160004: Malformed representation header
svnadmin: E205012: Failed to verify repository 'test2'
$ svnadmin dump ./test2 | gzip -9 > ./test19dump.tar.gz
* Dumped revision 0.
* Dumped revision 1.
svnadmin: E160004: Corrupt representation '2 3 42 30 5a425c4fd2b0432dc19a6fe114522609 71a38bdc68da9d237776db5cd8d80beec8c428d4 1-1/_6'
svnadmin: E160004: Malformed representation header

This is the repository info:

$ svnadmin info test2/
Path: test2
UUID: 0d0a0b54-e026-4b61-8c98-c37b3ce48f76
Repository Format: 5
Compatible With Version: 1.9.0
Repository Capability: mergeinfo
Filesystem Type: fsfs
Filesystem Format: 7
FSFS Sharded: yes
FSFS Shard Size: 1000
FSFS Shards Packed: 0/0
FSFS Logical Addressing: yes
Configuration File: test2/db/fsfs.conf

As client subclipse in was used:

org.eclipse.team.svn (4.0.5.I20170425-1700) "Subversive SVN Team Provider"
org.eclipse.team.svn.revision.graph (4.0.0.I20160226-1700) "Subversive SVN Team Provider Revision Graph Plug-in"
org.polarion.eclipse.team.svn.connector (6.0.4.I20161211-1700) "Subversive SVN Connectors"
org.polarion.eclipse.team.svn.connector.svnkit18 (6.0.4.I20161211-1700) "Subversive SVN 1.8 SVN Kit Connector"
org.tmatesoft.svnkit (1.9.0.r10652) "SVNKit pure Java Subversion Library"
org.eclipse.team.svn (4.0.5.I20170425-1700) "Subversive SVN Team Provider" [Resolved]
org.eclipse.team.svn.core (4.0.5.I20170425-1700) "Subversive SVN Team Provider Core Plug-in" [Active]
org.eclipse.team.svn.help (4.0.3.I20161129-1700) "Subversive SVN Team Provider User Guide Plug-in" [Resolved]
org.eclipse.team.svn.revision.graph (4.0.0.I20160226-1700) "Subversive SVN Team Provider Revision Graph Plug-in" [Active]
org.eclipse.team.svn.ui (4.0.5.I20170425-1700) "Subversive SVN Team Provider UI Plug-in" [Active]
org.eclipse.team.svn.ui.startup (4.0.0.I20160226-1700) "Subversive Core Startup" [Active]
org.polarion.eclipse.team.svn.connector (6.0.4.I20161211-1700) "Subversive SVN Connectors" [Resolved]
org.polarion.eclipse.team.svn.connector.svnkit18 (6.0.4.I20161211-1700) "Subversive SVN 1.8 SVN Kit Connector" [Active]
org.tmatesoft.svnkit (1.9.0.r10652) "SVNKit pure Java Subversion Library" [Starting]

Comments (1)

  1. Log in to comment