Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4840

Merge assertion failure in svn_sort__array_insert

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.10.0, 1.13.0, 1.10.6
    • None
    • None
    • None

    Description

      I am investigating an assertion failure. I received a stack trace without parameter values, from which I quote the relevant part:

       

      #4 svn_sort__array_insert (array=?, new_element=?, insert_index=?)
       at subversion/libsvn_subr/sorts.c:310
       assert(0 <= insert_index && insert_index <= array->nelts);
      
      #5 svn_rangelist_merge2 (rangelist=?, chg=?,)
       at subversion/libsvn_subr/mergeinfo.c:1231
       svn_sort__array_insert(rangelist, &range_copy, i++);
      
      #6 svn_mergeinfo_merge2 (mergeinfo=?, changes=?,)
       at subversion/libsvn_subr/mergeinfo.c:1838
      
      #7 combine_forked_mergeinfo_props (...)
       at subversion/libsvn_wc/props.c:138
      
      #8 apply_single_mergeinfo_prop_change (...)
       at subversion/libsvn_wc/props.c:1087
      

      This was reported in Subversion 1.10.4. I have reproduced with 1.10.6 and trunk@1871000.

       

      Attachments

        1. issue4840-fix-1.patch
          78 kB
          Julian Foad

        Activity

          People

            Unassigned Unassigned
            julianfoad Julian Foad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: