subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan K√ľng <tortoise...@gmail.com>
Subject Crash when updating
Date Thu, 05 Jan 2012 19:37:22 GMT
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

Mime
View raw message