[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=17004260#comment-17004260 ] 

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

[r1872031|http://svn.apache.org/r1872031]: Add a test for a case of non-canonical output from svn_rangelist_merge2().

This test case is one example of a problem I found by random-input testing.

> 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: trunk, 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.