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

BDB corruption

From: Thomas Sibley <tom+svnusers_at_zulutango.org>
Date: 2005-12-03 15:43:49 CET

Hi,

I ran "svn ls file:///svn/" and got...

svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///svn'
svn: Berkeley DB error for filesystem /svn/db while opening environment:
DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: region error detected; run recovery.

...so I ran "svnadmin recover /svn" and got...

Repository lock acquired.
Please wait; recovering the repository may take some time...
Segmentation fault

...and that's when I knew I was in trouble. Running "svn ls
file:///svn" (or svnadmin dump) after doing the segfaulted recover gives...

free(): invalid pointer 0x8066300!
Segmentation fault

I've tried a number of things, including running "db4.1_recover -c -v -h
/svn/db" to no avail (it doesn't report errors, but it doesn't fix the
problem either). The Subversion FAQ said that 4.1 was prone to
corruption, but I checked and my repository isn't corrupt in the way it
mentioned.

Thankfully I think I have checked out copies of all my projects in the
repository, but is there any hope of getting my history back?

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Dec 3 16:40:50 2005

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.