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

crash in 'svn st -u'

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 09 Jun 2012 17:09:04 +0200

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

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2012-06-09 17:09:42 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.