Created attachment 154509 [details]
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.
Версия: 188.8.131.52.alpha0+ (x86)
ID сборки: b1dd4244b60948a6dd84872799e508effa164cba
Потоков ЦП: 4; ОС:Windows 6.1; Отрисовка ИП: по умолчанию; VCL: win;
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2019-09-25_07:01:29
Локаль: ru-RU (ru_RU); Язык интерфейса: ru-RU
It took over 1,5Gb of memory, then Windows killed soffice.bin