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

Subversion assertion failure obtained with a sequence of nested moves

From: Joshua Oreman <oremanj_at_gmail.com>
Date: Wed, 14 Jan 2015 14:58:26 -0500

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.

Received on 2015-01-14 23:47:06 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.