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

Re: same ol' repository bug

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-10-26 12:22:14 CET

Philip Martin <philip@codematters.co.uk> writes:

> Unlike ra_local, an ra_dav checkout fails with mod_dav_svn recording
> a non-existent node error, trying other revisions causes the ra_dav
> checkout to fail on a different file.

The reason ra_dav failed was that I left the old activity database in
place. So if I do

   $ cp -a empty-space empty-space2
   $ rm empty-space2/db/[_cnrstu]* empty-space2/dav/activities
   $ db4.1_recover -c -h empty-space2/db/

I can checkout over ra_dav and ra_local. I still can't dump the
repository, but look at this

$ valgrind -q svnadmin dump empty-space2/ > /dev/null
* Dumped revision 0.
==1662== Invalid write of size 4
==1662== at 0x402577D2: uncache_node_revision (../svn/subversion/libsvn_fs/dag.c:133)
==1662== by 0x4026130F: do_retry (../svn/subversion/libsvn_fs/trail.c:192)
==1662== by 0x40261456: svn_fs__retry_txn (../svn/subversion/libsvn_fs/trail.c:245)
==1662== by 0x40262A73: svn_fs_node_id (../svn/subversion/libsvn_fs/tree.c:1125)
==1662== Address 0x42103C78 is 16 bytes inside a block of size 24 free'd
==1662== at 0x40027C2A: free (vg_replace_malloc.c:220)
==1662== by 0x403A98C2: pool_clear_debug (apr_pools.c:1425)
==1662== by 0x403A994E: apr_pool_clear_debug (apr_pools.c:1460)
==1662== by 0x40261870: dag_node_cache_set (../svn/subversion/libsvn_fs/tree.c:317)
==1662==
==1662== Invalid write of size 4
==1662== at 0x402577D2: uncache_node_revision (../svn/subversion/libsvn_fs/dag.c:133)
==1662== by 0x4026130F: do_retry (../svn/subversion/libsvn_fs/trail.c:192)
==1662== by 0x40261456: svn_fs__retry_txn (../svn/subversion/libsvn_fs/trail.c:245)
==1662== by 0x402630E1: svn_fs_node_proplist (../svn/subversion/libsvn_fs/tree.c:1375)
==1662== Address 0x42102060 is 16 bytes inside a block of size 24 free'd
==1662== at 0x40027C2A: free (vg_replace_malloc.c:220)
==1662== by 0x403A98C2: pool_clear_debug (apr_pools.c:1425)
==1662== by 0x403A994E: apr_pool_clear_debug (apr_pools.c:1460)
==1662== by 0x40261870: dag_node_cache_set (../svn/subversion/libsvn_fs/tree.c:317)

Yikes! Is that a bug in the libsvn_fs node cache?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 26 12:22:55 2003

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.