Re: [#4840] Merge assertion failure in svn_sort__array_insert
From: Julian Foad <julianfoad_at_apache.org>
Date: Mon, 30 Dec 2019 17:28:10 +0000
Now I have made some progress. The relevant commits are noted in the
> Ill-defined canonical form for a rangelist.
Not yet tackled. It doesn't seem to be an immediate blocker.
> Rangelist "merge" is a set-union operation.
Not re-written yet. This is one of the next steps; see below.
> The function range_to_string(), bogus output of empty range
Fixed.
> Poor and inconsistent error handling in svn_sort__array_insert and
Fixed. I changed all the "abort" code paths I could find in the area
> Our testing is clearly inadequate.
I have added thorough random-input testing for svn_rangelist_merge2().
It shows the bug of non-canonical output from canonical inputs (see below).
I investigated the next level up the call stack: svn_mergeinfo_merge2(),
* Other mergeinfo arithmetic functions still need random-input testing.
=== Next steps ===
* Investigate further up the call stack in a similar way:
* Re-write svn_rangelist_merge2() as a neat little understandable
(Does anybody else fancy taking on that last one? Sounds like a
- Julian
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.