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

Crash when updating

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 05 Jan 2012 20:37:22 +0100

Hi,

 From a crash report dump sent for TSVN for an update the attached stack
trace happened.

libsvn_wc\props.c, svn_wc__merge_props()
       to_val = incoming_change->value
         ? svn_string_dup(incoming_change->value, result_pool) : NULL;
....
       if (! from_val) /* adding a new property */
         SVN_ERR(apply_single_prop_add(state, &conflict_remains,
                                       db, local_abspath,
                                       left_version, right_version,
                                       is_dir, actual_props,
                                       propname, base_val, to_val,
                                       conflict_func, conflict_baton,
                                       dry_run, result_pool, iterpool));
and then in apply_single_prop_add():
...
       if (svn_string_compare(working_val, new_val))
crashes, because new_val is NULL.

the property is "svn:mergeinfo".

Could this happen if someone manually removes the svn:mergeinfo property
and then the next update (from another working copy) gets the to_val as
NULL?

Stefan

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

Received on 2012-01-05 20:38:02 CET

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