[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 284061] kdevelop crashes with svn 1.7
From:       Milian Wolff <mail () milianw ! de>
Date:       2011-10-24 13:28:48
Message-ID: E1RIKa8-0006Oj-Lr () bugs ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=284061





--- Comment #12 from Milian Wolff <mail milianw de>  2011-10-24 13:28:48 ---
ok, this is the fix then, as pointed out by Stephan Sperling on the SVN-dev ML,
many thanks to him. See also below. The question now is how to proceed,
rapidsvn seems to be dead, hence we'll have to fix this code ourselves... Any
takers?

On Sun, Oct 23, 2011 at 07:47:49PM +0200, Milian Wolff wrote:
> Hey there,
> 
> please take a look at: https://bugs.kde.org/show_bug.cgi?id=284061
> 
> It shows an apparent bug in libsvn from subversion 1.7 which triggers crashes 
> in KDevelop and probably other applications. I've managed to write a minimal 
> testcase that also triggers this behavior (see 
> https://bugs.kde.org/show_bug.cgi?id=284061#c8 and the test code at 
> https://bugs.kde.org/attachment.cgi?id=64741 ).
> 
> How to proceed?
> 
> http://subversion.apache.org/docs/community-guide/issues.html#reporting-bugs 
> says I should first ask here, then go to the issue tracker, correct?

Your example code is not using the Subversion API properly.

You must initialize the client context, see svn_client_create_context().
The context your example code passes to svn_client_info() is not
initialized and therefore contains random garbage values.

You have to canonicalize paths before passing them into the Subversion
libraries. See svn_dirent_canonicalize(), use it instead of 
svn_path_internal_style().

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic