[Libreoffice-bugs] [Bug 127770] New: Freeze/crash on a cell formatted with rotation 180° and dashed borders

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 26 06:35:01 UTC 2019


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

            Bug ID: 127770
           Summary: Freeze/crash on a cell formatted with rotation 180°
                    and dashed borders
           Product: LibreOffice
           Version: 6.0.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mikekaganski at hotmail.com
                CC: Armin.Le.Grand at me.com

Created attachment 154509
  --> https://bugs.documentfoundation.org/attachment.cgi?id=154509&action=edit
Cell formatted 180° text rotation and dashed borders

Formatting a spreadsheet cell to have dashed borders and text orientation set
to 180° makes Calc freeze and/or crash (it crashes fast with 32-bit builds, and
freezes in 64-bit builds, but eventually would also crash).

This is a regression from
https://git.libreoffice.org/core/+/e32c12a444e5bd0c6735db8e8008340c29a7e25e
(CCing Armin Le Grand).

The freeze happens in basegfx::utils::applyLineDashing, where fEdgeLength (in
"simple edge" branch) gets a really huge value because of insanely slanted
polygon (in my 64-bit build, it is greater than 30000000000000000).

The attachment has A1 formatted like that (the file was created with a pre-6.0
version). Opening it with 6.0+ shows the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190926/ee657533/attachment-0001.html>


More information about the Libreoffice-bugs mailing list