RE: Subversion assertion failure obtained with a sequence of nested moves
From: Bert Huijben <bert_at_qqmail.nl>
Date: Thu, 15 Jan 2015 10:25:38 +0100
Hi Joshua,
Thanks for this very clear bugreport.
I added a testcase for this issue in our test suite in r1651963, which made it easy to debug the actual issue.
The issue was fixed in r1651980, and nominated for backport to 1.8.x in r1652010.
Thanks for reporting, and especially in this form :)
Bert
From: Joshua Oreman [mailto:oremanj_at_gmail.com]
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 <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.
Thanks,
Josh
|
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.