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

Re: [bug report][tortoisesvn 1.8.8] svnsync crashes when target repo cannot be found

From: Bert Huijben <bert_at_qqmail.nl>
Date: Sun, 19 Oct 2014 18:08:09 +0000

I'm guessing you see a combination of a few bugs. The internal canonical format of URLs requires that you use the file://D:/none/existing form and no backslashes. The argument parser should probably convert this for you or produce a proper error.


After that all the internal code requires the internal format and you found various error paths, but all of them have the same root cause: an invalid URL going through to the lower layers.


Bert






Sent from Windows Mail





From: du.ng.sa.ga
Sent: ‎Friday‎, ‎October‎ ‎17‎, ‎2014 ‎4‎:‎06‎ ‎PM
To: users_at_subversion.apache.org





Hello,





I found a bug of svnsync on Windows. It crashes when the target repo cannot be found and the current folder is a repo. This bug can be reproduced with the following commands:







mkdir my-repo

svnadmin create my-repo

cd my-repo

svnsync sync file:///D:\non\existent\folder

svnsync sync file:///D:\folder\​without\a\repo







Here is the error message before it crashes:




svn: E235000: In file 'D:\Development\SVN\Releases\TortoiseSVN-1.8.8\ext\subvers

ion\subversion\libsvn_ra_local\split_url.c' line 78: assertion failed ((*fs_path

)[0] == '/')







My testing configuration:

Windows 7 SP1, 64 bit

TortoiseSVN 1.8.8, Build 25755 - 64 Bit , 2014/08/10 14:44:06

Subversion 1.8.10, -release

apr 1.5.1

apr-util 1.5.3

serf 1.3.7

OpenSSL 1.0.1i 6 Aug 2014

zlib 1.2.8




Hope this helps,

Dung.
Received on 2014-10-19 20:12:05 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.