[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

crash resolving conflict

From: Stefan Kueng <tortoisesvn_at_gmail.com>
Date: Thu, 2 May 2019 19:29:22 +0200


Crashreports for TSVN show a problem in the
svn_client_conflict_tree_get_details() API.

The data passed to the API is correct, already checked that.

Here's the stack trace:
          libsvn_tsvn.dll!uri_escape(const char * path, const char * table,
apr_pool_t * pool) Line 920 C
          libsvn_tsvn.dll!svn_path_url_add_component2(const char * url, const
char * component, apr_pool_t * pool) Line 1096 C
* conflict, svn_client_ctx_t * ctx, apr_pool_t * scratch_pool) Line 2860 C
* conflict, svn_client_ctx_t * ctx, apr_pool_t * scratch_pool) Line 12679 C

The problem appears to be in conflict_tree_get_details_local_missing():
   if (related_repos_relpath != NULL && related_peg_rev !=
               &related_repos_relpath, &related_peg_rev,
               related_repos_relpath, related_peg_rev,
               (old_rev < new_rev ? old_repos_relpath : new_repos_relpath),
               (old_rev < new_rev ? old_rev : new_rev),
               conflict, ctx, scratch_pool, scratch_pool));

   /* Set END_REV to our best guess of the nearest YCA revision. */
   url = svn_path_url_add_component2(repos_root_url, related_repos_relpath,

The 'if (related_repos_relpath != NULL...' part indicates that
related_repos_relpath can be NULL (which according to the crash dump it
is), which makes the call to svn_path_url_add_component2() crash, since
this calls svn_path_join_internal() which again doesn't work with null

Crash data available from here:
(if you forgot the logins send me a PM).
symbol server url is

Received on 2019-05-02 19:29:35 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.