If one tries to draw a line or arrow (e.g. by clicking the symbol), LO master immediately crashes as soon as one presses the left mouse key. (Happens in Writer, Draw, Impress, ...) LO 6.0 works, but in LO 6.1/Master it crashes since at least a few weeks. Tested with: Version: 6.1.0.0.alpha0+ Build ID: ea360461746f37be021b63da7a64a60d0f3c4af4 CPU threads: 4; OS: Windows 6.1; UI render: default; TinderBox: Win-x86@42, Branch:master, Time: 2018-02-21_02:14:22 Locale: en-US (en_US); Calc: CL
*** Bug 115922 has been marked as a duplicate of this bug. ***
Confirmed by duplicate See https://bugs.documentfoundation.org/attachment.cgi?id=140044 for bt.
On pc Debian x86-64 with master sources updated today, I could reproduce this. Here's a part of bt with symbols. #4 0x00007fffef8e227c in XPolygon::operator[](unsigned short) (this=0x55555878f320, nPos=0) at /home/julien/lo/libreoffice/svx/source/xoutdev/_xpoly.cxx:257 #5 0x00007fffef5e98a3 in ImpPathForDragAndCreate::BegCreate(SdrDragStat&) (this=0x55555c2075f0, rStat=...) at /home/julien/lo/libreoffice/svx/source/svdraw/svdopath.cxx:1245 #6 0x00007fffef5ee07b in SdrPathObj::BegCreate(SdrDragStat&) (this=0x55555c20a7c0, rStat=...) at /home/julien/lo/libreoffice/svx/source/svdraw/svdopath.cxx:2195 #7 0x00007fffef4854c1 in SdrCreateView::ImpBegCreateObj(SdrInventor, unsigned short, Point const&, OutputDevice*, short, tools::Rectangle const&, SdrObject*) (this= 0x555557a114c0, nInvent=SdrInventor::Default, nIdent=2, rPnt=Point = {...}, pOut=0x0, nMinMov=90, rLogRect=..., pPreparedFactoryObject=0x0) at /home/julien/lo/libreoffice/svx/source/svdraw/svdcrtv.cxx:492 #8 0x00007fffef4856a7 in SdrCreateView::BegCreateObj(Point const&, OutputDevice*, short) (this=0x555557a114c0, rPnt=Point = {...}, pOut=0x0, nMinMov=90) at /home/julien/lo/libreoffice/svx/source/svdraw/svdcrtv.cxx:511 #9 0x00007fffc9a48304 in sd::FuConstructRectangle::MouseButtonDown(MouseEvent const&) (this=0x5555587c5830, rMEvt=...) at /home/julien/lo/libreoffice/sd/source/ui/func/fuconrec.cxx:198
I think it's fixed with https://cgit.freedesktop.org/libreoffice/core/commit/?id=e07d741b61ddc8b13046ce6ea0c0921ce046a0cf, I'm giving it a try locally.
Regression introduced by: author Noel Grandin <noel.grandin@collabora.co.uk> 2018-02-05 15:56:12 +0200 committer Noel Grandin <noel.grandin@collabora.co.uk> 2018-02-06 12:47:32 +0100 commit f9c2bcc8b761f5e21354c0fb7bca6aa432d11ec2 (patch) tree a40dbc3e6d1b7476ad93cee29f19590103c4e756 parent e1f479af4ddde90f9e80b5079ac759cb9f7743a1 (diff) simplify ImpXPolygon and reverted in https://cgit.freedesktop.org/libreoffice/core/commit/?id=e07d741b61ddc8b13046ce6ea0c0921ce046a0cf. @Noel, please, take this bug into account if a second patch is submitted to master