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

--- Comment #6 from Michael Meeks <michael.me...@collabora.com> ---
The hang on load I got is here:

#5  0x00007fdaa8db73dd in
GraphicManager::ImplCheckSizeOfSwappedInGraphics(GraphicObject const*)
(this=0x2017da0, pGraphicToIgnore=0xb121d80) at
/data/opt/libreoffice/master/svtools/source/graphic/grfmgr2.cxx:217
#6  0x00007fdaa8daeef3 in GraphicObject::ImplAfterDataChange() (this=0xb121d80)
at /data/opt/libreoffice/master/svtools/source/graphic/grfmgr.cxx:71
#7  0x00007fdaa8daf94a in GraphicObject::ImplAssignGraphicData()
(this=0xb121d80) at
/data/opt/libreoffice/master/svtools/source/graphic/grfmgr.cxx:167
#8  0x00007fdaa8db1dc9 in GraphicObject::SetGraphic(Graphic const&,
GraphicObject const*) (this=0xb121d80, rGraphic=..., pCopyObj=0x0) at
/data/opt/libreoffice/master/svtools/source/graphic/grfmgr.cxx:698
#9  0x00007fdaa99b11e5 in SdrGrafObj::NbcSetGraphic(Graphic const&)
(this=0xb121930, rGrf=...) at
/data/opt/libreoffice/master/svx/source/svdraw/svdograf.cxx:456
#10 0x00007fdaa99b1281 in SdrGrafObj::SetGraphic(Graphic const&)
(this=0xb121930, rGrf=...) at
/data/opt/libreoffice/master/svx/source/svdraw/svdograf.cxx:466
#11 0x00007fdaa9b82c25 in SvxGraphicObject::setPropertyValueImpl(rtl::OUString
const&, SfxItemPropertySimpleEntry const*, com::sun::star::uno::Any const&)
(this=0x7fda53e2e708, rName="Graphic", pProperty=0x2aa7190,
rValue=uno::Any("com.sun.star.graphic.XGraphic":
{<com::sun::star::uno::XInterface> = {_vptr.XInterface = 0x7fda5250f170}, <No
data fields>})) at
/data/opt/libreoffice/master/svx/source/unodraw/unoshap2.cxx:1535

So far we have this many images:

(gdb) p maObjList
$1 = std::__debug::vector of length 4511, 

so some 16 million in the N^2 - should be ~instant - modulo the horribly slow
debugging iterators (but Denis shouldn't see those in a release build).

(gdb) p pObj->GetSizeBytes()
$2 = 32400
(gdb) p mnUsedSize
$3 = 92467620
(gdb) p nMaxCacheSize
$4 = 67110000

Which is interesting ... on that basis increasing the graphics cache size to
something much larger might significantly help as a workaround - but is no real
fix, obviously.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to