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

Unrecoverable database error

From: Nicholas Riley <njriley_at_uiuc.edu>
Date: 2002-07-24 06:27:30 CEST

Hi,

I had a httpd crash today from inside Berkeley DB code, causing all
the other httpd processes to crash as well, and afterwards, my test
repository started behaving very strangely. It was previously at
revision 7, but went back to revision 6, and had forgotten an import I
did. When I tried to reimport, it made the problem worse:

% svn import file:///var/svn/repos/Cocoa DockCam DockCam
[enter commit message]
Adding (bin) DockCam/.DS_Store
Adding (bin) DockCam/Closed hand.png
[...]
Transmitting file data ..........................
svn_error: #21063 : <Invalid filesystem transaction name>
  no transaction named `f' in filesystem `/var/svn/repos/db'

Attempts to recover the database fail:

% db_recover -veh /var/svn/repos/db
db_recover: Finding last valid log LSN: file: 1 offset 1539591
db_recover: DB_LOGC->get: invalid log record header
db_recover: Recovery complete at Tue Jul 23 23:18:28 2002
db_recover: Maximum transaction id 80000000 Recovery checkpoint [1][1539543]
% db_recover -veh /var/svn/repos/db
db_recover: Finding last valid log LSN: file: 1 offset 1542828
db_recover: Checkpoint at: [1][1542780]
db_recover: Checkpoint LSN: [1][1542780]
db_recover: Previous checkpoint: [1][1540735]
db_recover: Checkpoint at: [1][1540735]
db_recover: Checkpoint LSN: [1][1540735]
db_recover: Previous checkpoint: [1][1539543]
zsh: 23859 bus error db_recover -veh /var/svn/repos/db

[running in gdb...]
(gdb) bt
#0 0x000fc488 in __log_register_recover ()
#1 0x000c8a10 in __db_dispatch ()
#2 0x000dddb8 in __env_openfiles ()
#3 0x000dd2ec in __db_apprec ()
#4 0x000db434 in __dbenv_open ()
#5 0x000024b4 in ?? ()
#6 0x000020ac in ?? ()
#7 0x00001edc in ?? ()

Has anyone seen this kind of database corruption? I've been having
crashes from within Berkeley DB both with svn and httpd regularly
since I installed...

My configuration details are as in my previous email, except I've
upgraded to revision 2655.

-- 
=Nicholas Riley <njriley_at_uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 24 06:28:00 2002

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

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