On Monday 24 October 2011 01:14:53 Stefan Sperling wrote: > 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-bu > > gs 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().
Thanks, I'll ask the bug reporters for feedback to see whether my updated example code is still exhibiting the incorrect behavior: https://bugs.kde.org/show_bug.cgi?id=284061#c10 If you happen to use svn1.7, did the app work with the two changes you mentioned above? I.e. is the updated version working now? Much appreciated, take care -- Milian Wolff m...@milianw.de http://milianw.de
signature.asc
Description: This is a digitally signed message part.