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

Re: crash in 'svn st -u'

From: Stefan Fuhrmann <eqfox_at_web.de>
Date: Mon, 11 Jun 2012 14:42:28 +0200

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.
Received on 2012-06-11 14:43:04 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.