Subversion Exception svn_relpath_is_canonical in ra_loader.c

20 views
Skip to first unread message

Topher Eliot

unread,
May 2, 2019, 9:43:03 AM5/2/19
to TortoiseSVN
I got an error when using TortoiseSVN 1.10, trying to compare two folders.  I posted the message on the SVN user mailing list, and got the reply I'm quoting here.
TortoiseSVN1.12 gets an error with no useful error message if I try to replicate the issue there.

Our local IT guy says that our SVN log shows that SVN was giving back a lot of 401 responses, and he thinks that TortoiseSVN is mismanaging credentials.

> Running TortoiseSVN1.10 (r28148).

> 

> Accessing SVN repository as https://ndev-svn01/svn/...

> 

> TortoiseSVN had been running for a long time, I had done lots of things in it.

> I right-clicked on a tag and selected "Mark for comparison"

> I clicked on the trunk.

> Can't recall if I clicked "compare URLs" or not.

> 

> Ooh.  This is repeatable.  I shut down TortoiseSVN complete and restarted it.

> Performed the same sequence of events; I get this same exception when

> I click on "compare URLs".  I reproduced it a couple of times.

> 

> I then selected the trunk and marked it for comparison, selected the

> tag, and was able to to compare them just fine.

> 

> I then went back and repeated the original sequence of events and

> again got the exception.

 

Thanks for taking the time to report this.

 

However, I'm afraid this community (the "core" subversion project) can't help you directly. I think it's likely that this problem is situated somewhere in the TortoiseSVN code (which is a separate project, for the Windows GUI on top of the Subversion libraries). It seems it is internally calling the Subversion libraries with a "non-canonical path". Maybe there is something strange with the urls that are constructed here?

 

If you report this to the TortoiseSVN community (https://tortoisesvn.net/community.html), they might be able to provide more help or to ask more specific questions to find out what's going on.

 

> I'll look into updating TortoisSVN.

> 

> When I update to 1.12, it’s unusable.  When I click on the directory for my project, I get a popup that just says “TortoisesSVN client has stopped working.  A problem caused the program to stop working correctly.  Please close the program.”  It seems to be a problem with just this project; I can click down into other projects in the same repository.  I’ll report that separately.

 

Here again I think you should probably contact the TSVN community. It might be related to the first problem (some non-canonical url being passed to the libraries, specific to that one project). Or it might be something else.

 

> ---------------------------

> Subversion Exception!

> ---------------------------

> Subversion encountered a serious problem.

> Please take the time to report this on the Subversion mailing list

> with as much information as possible about what you were trying to do.

> But please first search the mailing list archives for the error

> message to avoid reporting the same problem repeatedly.

> You can find the mailing list archives at

> https://subversion.apache.org/mailing-lists.html

> 

> Subversion reported the following

> (you can copy the content of this dialog to the clipboard using

> Ctrl-C):

> 

> In file

> 'D:\Development\SVN\Releases\TortoiseSVN-1.10.0\ext\subversion\subversion\libsvn_ra\ra_loader.c'

> line 629: assertion failed (svn_relpath_is_canonical(path))

> ---------------------------

Stefan

unread,
May 2, 2019, 1:42:46 PM5/2/19
to TortoiseSVN
What are the urls you try to compare?
Reply all
Reply to author
Forward
0 new messages