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().