On 06/09/2012 05:09 PM, Stefan Küng wrote:
Hi,
here's another one from the crash reports sent for TSVN:
When doing an 'svn st -u' there's a crash happening in
svn_relpath_join(). Stacktrace attached.
in status.c:1579, make_file_baton() there's this:
f->repos_relpath = svn_relpath_join(find_dir_repos_relpath(pb, pool),
f->name, pool);
and in find_dir_repos_relpath:
/* Note that status->repos_relpath could be NULL in the case of a
missing
* directory, which means we need to recurse up another level to get
* a useful relpath. */
if (status && status->repos_relpath)
return status->repos_relpath;
repos_relpath = find_dir_repos_relpath(pb, pool);
return svn_relpath_join(repos_relpath, db->name, pool);
The comment explains that status->repos_relpath can be NULL. In that
case, the parent dir is used, but maybe
db->edit_baton->anchor_status->repos_relpath can be NULL as well?
full dump available here:
https://www.crash-server.com/DumpGroup.aspx?ClientID=tsvn&DumpGroupID=4517
Hi Stefan,
I remember having seen similar issues when
debugging the EasySVN client. The reason
was some pool vs. client context lifetime issue.
I'll be digging that info up later this afternoon.
-- Stefan^2.