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

Re: [Issue 4129] predecessors links on root node-revision skip revisions

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 25 Jul 2012 11:33:49 +0100

Philip Martin <philip.martin_at_wandisco.com> writes:

> $ valgrind -q subversion/svnadmin/.libs/lt-svnadmin verify repo
> * Verified revision 0.
> ==9089== Invalid read of size 1
> ==9089== at 0x4C25FF8: memcpy (mc_replace_strmem.c:497)
> ==9089== by 0x54E73F5: svn_stringbuf_appendbytes (string.c:558)
> ==9089== by 0x54ECEDC: svn_temp_serializer__push (temp_serializer.c:245)
> ==9089== by 0x61132C0: serialize_svn_string (temp_serializer.c:130)
> ==9089== by 0x6113BDA: serialize_txdeltawindow (temp_serializer.c:479)
> ==9089== by 0x6113C70: svn_fs_fs__serialize_txdelta_window (temp_serializer.c:505)
> ==9089== by 0x54B010B: membuffer_cache_set (cache-membuffer.c:1241)
> ==9089== by 0x54B0AC2: svn_membuffer_cache_set (cache-membuffer.c:1766)
> ==9089== by 0x54B2486: svn_cache__set (cache.c:101)
> ==9089== by 0x60FCE0B: set_cached_window (fs_fs.c:4417)
> ==9089== by 0x60FD5F5: read_window (fs_fs.c:4629)
> ==9089== by 0x60FD69C: get_combined_window (fs_fs.c:4655)
> ==9089== Address 0x7e7f575 is 0 bytes after a block of size 5 alloc'd
> ==9089== at 0x4C244E8: malloc (vg_replace_malloc.c:236)
> ==9089== by 0x59516D0: pool_alloc (apr_pools.c:1463)
> ==9089== by 0x5289811: svn_txdelta_read_svndiff_window (svndiff.c:977)
> ==9089== by 0x60FD50E: read_window (fs_fs.c:4618)
> ==9089== by 0x60FD69C: get_combined_window (fs_fs.c:4655)
> ==9089== by 0x60FDC57: get_contents (fs_fs.c:4802)
> ==9089== by 0x60FDD22: rep_read_contents (fs_fs.c:4827)
> ==9089== by 0x54E306E: svn_stream_read (stream.c:143)
> ==9089== by 0x54E3CED: svn_stream_copy3 (stream.c:497)
> ==9089== by 0x4E3C9D2: dump_node (dump.c:627)
> ==9089== by 0x4E3CF70: add_file (dump.c:789)
> ==9089== by 0x527B6F9: add_file (cancel.c:167)

This has nothing to do with the corrupt repository. I get the same
error for:

svnadmin create repo
svn import -mm repo/format file://`pwd`/repo/f
svnadmin verify repo

I get a different error for:

svnadmin create repo
svn mkdir -mm file://`pwd`/repo/A
svnadmin verify repo

../src/subversion/libsvn_repos/dump.c:1401: (apr_err=160006)
../src/subversion/libsvn_fs/fs-loader.c:489: (apr_err=160006)
../src/subversion/libsvn_fs_fs/fs_fs.c:9706: (apr_err=160006)
../src/subversion/libsvn_fs_fs/rep-cache.c:161: (apr_err=160006)
../src/subversion/libsvn_fs_fs/fs_fs.c:1804: (apr_err=160006)
../src/subversion/libsvn_fs_fs/fs_fs.c:1779: (apr_err=160006)
svnadmin: E160006: Invalid revision number '-1'
../src/subversion/libsvn_subr/sqlite.c:754: (apr_err=235000)
svn: E235000: In file '../src/subversion/libsvn_subr/sqlite.c' line 754: internal malfunction
Aborted

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-07-25 12:34:28 CEST

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.