https://bugs.freedesktop.org/show_bug.cgi?id=76633

--- Comment #11 from Michael Stahl <[email protected]> ---
actually the root cause exists since LO 3.5, the commit in comment #10
just changes it from invisible to the user to visible,
the problem is that an SwXShape is created and then leaked,
which can be checked by "x = thiscomponent.getDrawPage.getByIndex(1)"

(gdb) bt
#0  SwXShape::SwXShape (this=0x45bcbc0, xShape=uno::Reference to
(SvxCustomShape *) 0x42dd618) at /sw/source/core/unocore/unodraw.cxx:902
#1  0x00007f637115d97a in SwXTextDocument::create (this=0x41f0830,
rServiceName="com.sun.star.drawing.CustomShape", arguments=0x0) at
/sw/source/uibase/uno/unotxdoc.cxx:1719
#2  0x00007f637115daa3 in SwXTextDocument::createInstance (this=0x41f0830,
rServiceName="com.sun.star.drawing.CustomShape") at
/sw/source/uibase/uno/unotxdoc.cxx:1727
#3  0x00007f634aaaa81a in writerfilter::rtftok::RTFSdrImport::createShape
(this=0x3c205f0, aStr="com.sun.star.drawing.CustomShape", xShape=empty
uno::Reference, xPropertySet=empty uno::Reference) at
/writerfilter/source/rtftok/rtfsdrimport.cxx:69
#4  0x00007f634aaab852 in writerfilter::rtftok::RTFSdrImport::resolve
(this=0x3c205f0, rShape=..., bClose=true,
shapeOrPict=writerfilter::rtftok::RTFSdrImport::PICT) at
/writerfilter/source/rtftok/rtfsdrimport.cxx:229
#5  0x00007f634aa6c404 in writerfilter::rtftok::RTFDocumentImpl::popState
(this=0x39fc730) at /writerfilter/source/rtftok/rtfdocumentimpl.cxx:4845
#6  0x00007f634aabe063 in writerfilter::rtftok::RTFTokenizer::resolveParse
(this=0x3c205a0) at /writerfilter/source/rtftok/rtftokenizer.cxx:115
#7  0x00007f634aa538e7 in writerfilter::rtftok::RTFDocumentImpl::resolve
(this=0x39fc730, rMapper=...) at
/writerfilter/source/rtftok/rtfdocumentimpl.cxx:674
#8  0x00007f634abeafc2 in RtfFilter::filter (this=0x45ace30,
aDescriptor=uno::Sequence of length 13 = {...}) at
/writerfilter/source/filter/RtfFilter.cxx:122

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to