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

Re: Subversion assertion failure obtained with a sequence of nested moves

From: Branko Čibej <brane_at_wandisco.com>
Date: Thu, 15 Jan 2015 02:27:41 +0100

On 14.01.2015 20:58, Joshua Oreman wrote:
> Hi folks,
>
> I maintain a personal tool that disentangles 'svnlook changed
> --copy-info' output into added/moved/deleted information for
> individual files. While attempting to come up with a torture test for
> this tool, I managed to crash Subversion instead.
>
> To reproduce:
>
> svnadmin create repo
> svn co file://$PWD/repo checkout
> cd checkout
> svn mkdir root
> svn mkdir root/b
> echo foo > root/b/foo
> echo bar > root/b/bar
> svn add root/b/foo root/b/bar
> svn ci -m "create structure"
> svn mkdir root/a
> svn mv root/b/bar root/a/
> svn rm root/b
> svn mv root root2
>
> The final 'svn mv' command gives:
> Assertion failed: (affected == 1), function delete_update_movedto,
> file subversion/libsvn_wc/wc_db.c, line 7573.
> Abort trap (core dumped)
>
> I verified that this fails on FreeBSD with subversion 1.9.0-alpha2
> (that's the one with the line number above) as well as subversion
> 1.8.0, and on Linux with subversion 1.8.9. Given the assertion
> failure, I'm pretty sure this qualifies as a bug, but am reporting it
> here first in accordance with the "buddy system" policy for the issue
> tracker. Please let me know if you'd like any additional information
> before I file the bug.

I can confirm that this happens both with current trunk and current
1.8.x. branch on both Linux and OSX.

-- Brane
Received on 2015-01-15 02:28:13 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.