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

Re: Segmentation Fault (Post Commit Hooks)

From: <cmpilato_at_collab.net>
Date: 2002-06-23 03:38:42 CEST

David Summers <david@summersoft.fay.ar.us> writes:

> Here is a recipe for producing a Segmentation Fault with Subversion rev
> 2301 on both ra_local and ra_dav involving a (pretty much) default setup
> of the post-commit hook.
> I can work around the problem by changing the ./commit-email.pl to
> /home/svnroot/test/hooks/commit-email.pl in the post-commit file.
> I discovered this while trying to set up my first post-commit hook. :-(

...and the fact you got the SEGFAULT is the reason why your repository
was seemingly corrupt. It is likely that all you needed to do was run
`/usr/local/BerkeleyDB.4.0/bin/db_recover -veh path_to_repos/db', but
whatever. The point is the BDB practically promises to require the
use of db_recover any time a program dies without cleanly shutting
down the BDB environment. A SEGFAULT qualifies as such a time. :-)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 23 03:40:49 2002

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