subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bert Huijben" <b...@qqmail.nl>
Subject RE: Crash in make_copy_txn()
Date Thu, 10 Sep 2015 13:39:06 GMT


> -----Original Message-----
> From: Ivan Zhakov [mailto:ivan@visualsvn.com]
> Sent: donderdag 10 september 2015 14:58
> To: dev@subversion.apache.org
> Subject: Crash in make_copy_txn()
> 
> TortoiseSVN crash reporter service has several crashes in
> libsvn_wc/wc_db.c:make_copy_txn():
> [[[
>   SVN_ERR(svn_wc__db_base_get_info_internal(NULL, &kind, &revision,
>                                             &repos_relpath, &repos_id, NULL,
>                                             NULL, NULL, NULL, NULL, NULL, NULL,
>                                             NULL, NULL, NULL,
>                                             wcroot, local_relpath,
>                                             scratch_pool, scratch_pool));
> 
>   if (last_repos_relpath
>       && repos_id == last_repos_id
>       && revision == last_revision)
>     {
>       const char *name = svn_relpath_skip_ancestor(last_repos_relpath,
>                                                    repos_relpath);
> 
>       if (strcmp(name, svn_relpath_basename(local_relpath, NULL)) == 0)
>        ^^^^^^^^^^ crash here.
>         op_depth = last_op_depth;
>     }
> ]]]

Reproduced and fixed with r1702247.

	Bert


Mime
View raw message