[Webkit-unassigned] [Bug 223144] [ macOS debug arm64 ] ASSERTION FAILED: count >= 1 ./rendering/RenderMultiColumnSet.cpp(450) : unsigned int WebCore::RenderMultiColumnSet::columnCount() const

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 18 16:01:45 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=223144

--- Comment #7 from Chris Dumez <cdumez at apple.com> ---
The issue is that static_cast<float>(logicalHeightInColumns) is negative (-1.67771e+07). With ceil(), we end up with -108941.0 which we try to implicitly cast to an unsigned variable.

Converting a negative double into an unsigned integer type is undefined behavior. I am guessing the real issue though is that logicalHeightInColumns should likely not be negative..

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210318/0aed5429/attachment.htm>


More information about the webkit-unassigned mailing list