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

crash in svn_client_status5

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 13 Oct 2011 18:59:39 +0200

Hi,

Another crash dump shows a problem in libsvn_wc\wc_db.c, function
read_info (line 6480 on the 1.7.0 tag, line 6739 on trunk).

The 'err' is NULL, so referencing err->apr_err segfaults here:
   if (err2 != NULL)
     err = svn_error_compose_create(
              err,
              svn_error_createf(
                    err->apr_err, err2,
                   _("The node '%s' has a corrupt checksum value."),
                   path_for_error_message(wcroot, local_relpath,
                                          scratch_pool)));

I can't see where 'err' would be even set before reaching that part of
the code?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
Received on 2011-10-13 19:00:17 CEST

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