Summary: | kdesvn crashed when getting logs. | ||
---|---|---|---|
Product: | [Applications] kdesvn | Reporter: | smalcom <smal.root> |
Component: | General | Assignee: | KDESvn default assignee <kdesvn-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | Ch.Ehrlicher, mmarinchenko, ral, reavertm |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Do not add a second '/' between _base and _name to make svn happy |
Description
smalcom
2013-09-18 21:36:13 UTC
looks like a problem within svn libraries. I think so, it looks like a problem with some libraries. I can not confirm this (debian testing & fedora 19, original binaries and self built) Are you using the @ sign in any of your path- or filenames? After a short search I found a similar bug reported for a subversion app in fedora. The reasons seems to be that svn_uri_is_canonical() (which is called from svn_uri__is_ancestor()) checks if the uri is canonical enough which isn't the case for the paths provided by kdesvn because they do *not* end with '/'. See also https://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_subr/dirent_uri.c : /* URI is canonical if it has: * - lowercase URL scheme * - lowercase URL hostname * - no '.' segments * - no closing '/' * - no '//' * - uppercase hex-encoded pair digits ("%AB", not "%ab") */ Ok, I found the reason why it crashes for me. my url looks like this: svn://myserver/project/branches//branch1 The problem is the double '/' between branches and branch1. And this only occurs when I use 'get logs' inside the svn log window. I think this may be the reason for the crash above too. Created attachment 84832 [details]
Do not add a second '/' between _base and _name to make svn happy
This patch fixes the problem that the uri contains '//' instead of one which is no longer allowed with subversion 1.8 (and 1.7?)
Any news here? What can I do more than providing a proper patch for this bug?? I confirm attached patch fixes the problem. ++ Fixed with commit c1adde451dfac202ef63aded5b2a7adfa9e26f9b Author: Christian Ehrlicher <Ch.Ehrlicher@gmx.de> Date: Wed Dec 24 14:44:59 2014 +0100 REVIEW: 121670 Patch for Bug 325074 and 330624 - kdesvn crashed when getting logs |