On Mon, Oct 08, 2012 at 07:53:15AM -0700, Andrew Robinson wrote:
> I know this is an old thread, but I see this error quite often with SVN
> 1.7. I am using Cornerstone 2.7.7 which uses SVN 1.7.5 internally. I get
> corrupted working copies about once a month which of course ruins the
> working copy and is very difficult to recover from in terms of wasted time.
That's unfortunate.
Can you reproduce this problem using a stock Subversion client?
Is your working copy on local disk?
> I never had issues like this with SVN 1.6 and earlier. Not sure if it is
> Cornerstone that is the issue, but it is bad that there are no safeguards
> like transactional support to ensure that the database is never corrupted.
That's not true. There are transactional safeguards in sqlite.
The details are documented at http://sqlite.org/atomiccommit.html
> sqlite3 .svn/wc.db "pragma integrity_check"
> *** in database main ***
> Page 24268: btreeInitPage() returns error code 11
> On tree page 6985 cell 3: Child page depth differs
> On tree page 6985 cell 4: Child page depth differs
> Error: database disk image is malformed
I don't remember ever seeing this error message.
I would assume it's a problem with Cornerstone. Maybe it's some patch
they're applying to Subversion. I would try talking to them before talking
to this community. We're entirely unable to support Cornerstone software
since the software is closed source.
Since you're on Mac, does this database contain paths with non-ASCII
characters? There are known problems with this where MacOS X and Linux
or Windows SVN clients are used together with such paths. This might
not be related to the problem but it is still an interesting data point.
See http://subversion.tigris.org/issues/show_bug.cgi?id=2464
Received on 2012-10-08 17:25:43 CEST