[jira] [Commented] (SVN-4840) Merge assertion failure in svn_sort__array_insert

"Julian Foad (Jira)" <[email protected]>
Newsgroups gmane.comp.version-control.subversion.issues
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/SVN-4840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17033634#comment-17033634 ] 

Julian Foad commented on SVN-4840:
----------------------------------

Confirmed to affect versions 1.10.0 through 1.10.6, and 1.13.0 (the latest release).

A backport of all the 18 revisions mentioned above applies without conflict to these versions and demonstrates the same test results in each case: the new tests added by this patch (tests/libsvn_subr/mergeinfo-test \{21,22,23,24,25,26}) all fail without the code part of the patch, and all pass with it.

Nominated for backport to 1.10.x and 1.13.x.

> Merge assertion failure in svn_sort__array_insert
> -------------------------------------------------
>
>                 Key: SVN-4840
>                 URL: https://issues.apache.org/jira/browse/SVN-4840
>             Project: Subversion
>          Issue Type: Bug
>    Affects Versions: 1.10.0, 1.13.0, 1.10.6
>            Reporter: Julian Foad
>            Priority: Major
>
> I am investigating an assertion failure. I received a stack trace without parameter values, from which I quote the relevant part:
>  
> {code:java}
> #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
> {code}
> This was reported in Subversion 1.10.4. I have reproduced with 1.10.6 and trunk@1871000.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.