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

Re: valgrind overlapping memcpy warning on log addressing branch

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Wed, 16 Oct 2013 01:44:46 +0200

On Tue, Oct 15, 2013 at 4:56 PM, Philip Martin
<philip.martin_at_wandisco.com>wrote:

> I get the following when running fs-fs-pack-test 1:
>
> ==18975== Source and destination overlap in memcpy(0x84c2190, 0x84c2191, 7)
> ==18975== at 0x4C2A690: memcpy (mc_replace_strmem.c:838)
> ==18975== by 0x412F5F0: svn_prefix_string__create (prefix_string.c:222)
> ==18975== by 0x406B138: copy_node_to_temp (pack.c:713)
> ==18975== by 0x406C3E4: pack_range (pack.c:1209)
> ==18975== by 0x406CEC1: pack_log_addressed (pack.c:1413)
> ==18975== by 0x406D6DD: pack_rev_shard (pack.c:1601)
> ==18975== by 0x406D91E: pack_shard (pack.c:1660)
> ==18975== by 0x406DF77: pack_body (pack.c:1801)
> ==18975== by 0x4057218: with_some_lock_file (fs_fs.c:184)
> ==18975== by 0x40572F0: svn_fs_fs__with_write_lock (fs_fs.c:202)
> ==18975== by 0x406E060: svn_fs_fs__pack (pack.c:1829)
> ==18975== by 0x4056B78: fs_pack (fs.c:353)
> ==18975==
> PASS: lt-fs-fs-pack-test 1: pack a FSFS filesystem
>

Oops. Copy'n'pasto. Fixed in /trunk and relevant branches now.

Thanks for taking the code for a spin!

-- Stefan^2.
Received on 2013-10-16 01:45:19 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.