catvec can return non-regular nodes with incorrect range array values

Description

I do not know if it is possible to cause this problem with the production version of the core.rrb-vector implementation code, but with a parameterized version that uses a tree branching factor of 4 instead of the normal 32, it is easy to reproduce. I suspect that a longer similar test sequence might also be able to demonstrate the problem with the production version of the code.

Environment

None

Status

Assignee

Andy Fingerhut

Reporter

Andy Fingerhut

Labels

None

Approval

None

Patch

None

Priority

Major
Configure