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

Re: Regression tests FAILs with older format repositories

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 29 Nov 2012 11:54:51 +0000

Julian Foad <julianfoad_at_btopenworld.com> writes:

> Philip Martin wrote:
>> The more significant fail
>> is:
>>
>> $ ./fs-test --server-minor-version=4 34
>> lt-fs-test: ../src/subversion/libsvn_subr/dirent_uri.c:1456:
>> svn_relpath_skip_ancestor: Assertion `relpath_is_canonical(parent_relpath)'
>> failed.
>
> OK, I'll investigate that.

gdb shows:

Program received signal SIGABRT, Aborted.
(gdb) up 4
#4 0x00007ffff66e650e in prev_location (prev_path=0x7fffffffe2c8,
    prev_rev=0x7fffffffe2d0, fs=0x7ffff7fef620, root=0x7ffff3f405e0,
    path=0x7ffff3f38728 "/A/D", pool=0x7ffff3f39028)
    at ../src/subversion/libsvn_fs_fs/tree.c:3246
3246 remainder_path = svn_relpath_skip_ancestor(copy_path, path);
(gdb) p copy_path
$3 = 0x7ffff7e1068e "/A/D"
(gdb) p path
$4 = 0x7ffff3f38728 "/A/D"

We are passing fspaths to a relpath function. The test passes in 1.7
because svn_relpath_skip_ancestor doesn't assert that the paths are
relpaths and works if passed fspaths.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-11-29 12:55:30 CET

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.