This regression was introduced by 88fef7ceda (Refactor huge_*() calls into arena internals.), and went undetected because of the --enable-debug regression.
88fef7ceda