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

--- Comment #4 from Julien Nabet <[email protected]> ---
Created attachment 208215
  --> https://bugs.documentfoundation.org/attachment.cgi?id=208215&action=edit
svg from pptx

I extracted the svg from pptx.
It triggers some pb on LO, here's a part of bt:
#20 0x00007f91281705e7 in basegfx::utils::solveCrossovers (rCandidate=closed
basegfx::B2DPolyPolygon with 300 sub-polygon(s) = {...}, pPointLimit=0x0)
    at
/home/julien/lo/libreoffice/basegfx/source/polygon/b2dpolypolygoncutter.cxx:670
#21 0x00007f9128171a48 in basegfx::utils::createNonzeroConform
(rCandidate=closed basegfx::B2DPolyPolygon with 300 sub-polygon(s) = {...})
    at
/home/julien/lo/libreoffice/basegfx/source/polygon/b2dpolypolygoncutter.cxx:717
#22 0x00007f90a9bc0d96 in svgio::svgreader::SvgStyleAttributes::add_path
(this=0x563994552f08, rPath=
   closed basegfx::B2DPolyPolygon with 300 sub-polygon(s) = {...}, rTarget=...,
pHelpPointIndices=0x563994553230)
    at
/home/julien/lo/libreoffice/svgio/source/svgreader/svgstyleattributes.cxx:1201
#23 0x00007f90a9bb18d8 in svgio::svgreader::SvgPathNode::decomposeSvgNode
(this=0x563994552e00, rTarget=...) at
/home/julien/lo/libreoffice/svgio/source/svgreader/svgpathnode.cxx:107
#24 0x00007f90a9baae8a in svgio::svgreader::SvgNode::decomposeSvgNode
(this=0x5639945529b0, rTarget=..., bReferenced=false) at
/home/julien/lo/libreoffice/svgio/source/svgreader/svgnode.cxx:623
#25 0x00007f90a9bd0df5 in svgio::svgreader::SvgSvgNode::decomposeSvgNode
(this=0x5639945529b0, rTarget=..., bReferenced=false) at
/home/julien/lo/libreoffice/svgio/source/svgreader/svgsvgnode.cxx:299
#26 0x00007f90a9bed398 in svgio::svgreader::(anonymous
namespace)::XSvgParser::getDecomposition
    (this=0x56399454d590, xSVGStream=uno::Reference to ((anonymous
namespace)::ReferencedXInputStream *) 0x563994546e28, aAbsolutePath="") at
/home/julien/lo/libreoffice/svgio/source/svguno/xsvgparser.cxx:138

LO enters this part:
if(getFill() || getSvgGradientNodeFill() || getSvgPatternNodeFill())
{
    // nonzero is wanted, solve geometrically (see description on basegfx)
    // basegfx::utils::createNonzeroConform() is expensive for huge paths
    // and is only needed if path will be filled later on
    aPath = basegfx::utils::createNonzeroConform(aPath);
}

and aPath (which is a B2DPolyPolygon) contains 300 elements.

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

Reply via email to