https://bugs.documentfoundation.org/show_bug.cgi?id=174398

--- Comment #5 from [email protected] ---
BogdanB, could you check whether your test builds were compiled with libstdc++
assertions enabled (_GLIBCXX_ASSERTIONS)?

My Fedora 45 build aborts on this assertion in std::clamp:

/usr/include/c++/16/bits/stl_algo.h:3616: constexpr const _Tp& std::clamp(const
_Tp&, const _Tp&, const _Tp&) [with _Tp = int]: Assertion '!(__hi < __lo)'
failed.

This indicates that the upper bound passed to std::clamp is below the lower
bound, consistent with bounds of 0 and -1 when the results list is empty.

Could different assertion settings explain why this crashes consistently on my
build but not on yours?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to