[Libreoffice-bugs] [Bug 98500] Multiple animated GIFs cause 100% CPU utilization in Impress

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 16 16:06:30 UTC 2018


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

--- Comment #25 from Maris Nartiss <maris.nartiss at gmail.com> ---
(In reply to Buovjaga from comment #23)
> Was going to try to bibisect this, but now the problem seems to be solved.
> 
> Scrolling thumbs makes CPU peak at only 27%.
> Clicking on image either in Notes or normal view does not cause any slowdown
> or huge CPU use.
> 
> Maris: could you try with version 6.1?
> https://wiki.documentfoundation.org/Installing_in_parallel/Linux
> 
> Arch Linux 64-bit
> Version: 6.1.0.0.alpha0+
> Build ID: c8c74a0b4ca6f3a3619f423b6548c80c52392ae0
> CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
> Locale: fi-FI (fi_FI.UTF-8); Calc: group
> Built on April 15th 2018

Yes, for certain definitions of word "fixed".

The good:
* scrolling a presentation with animated GIFs is smooth
* moving animated GIF within slide with keyboard works fine

The bad:
* hovering over animated GIF in editing pane still causes LO UI to lock-up for
some time (UI repaint takes seconds and happens line by line). As long as GIF
image is not hovered over by the mouse cursor, LO runs fine.
* moving around animated GIF with mouse within the slide still is a game of
patience (due to hovering) and now causes X11 to cause serious CPU load instead
of LO. Still it is much better than it was.

And the ugly:
* closing LO Impress after an animated GIF has been hovered by the mouse cursor
almost always ends with a LO crash. One of crashes managed to output a hint on
"double free or corruption (fasttop)" in terminal.
* it is not always crashing while running under valgrind.


Version: 6.1.0.0.alpha0+
Build ID: dc823f5fa4a5d2eca56297b9045e5962536c00f9
CPU threads: 2; OS: Linux 4.16; UI render: default; VCL: kde4; 
TinderBox: Linux-rpm_deb-x86_64 at 70-TDF, Branch:master, Time:
2018-04-10_23:32:35
Locale: lv-LV (lv_LV.utf8); Calc: group


==19701== Conditional jump or move depends on uninitialised value(s)
==19701==    at 0x14C9FA45: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x14CD2E8B: X11SalGraphics::freeResources() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x14CD3150: X11SalGraphics::~X11SalGraphics() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x14CD3208: X11SalGraphics::~X11SalGraphics() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x14CD3F89: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x14CD4008: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x7B10A50: VirtualDevice::dispose() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60FB34A: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60E719D: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60EA8B6:
drawinglayer::primitive2d::Primitive2DContainer::~Primitive2DContainer() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60FEF4D:
drawinglayer::primitive2d::GraphicPrimitive2D::~GraphicPrimitive2D() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60E719D: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701== 
==19701== Conditional jump or move depends on uninitialised value(s)
==19701==    at 0x4A09571: operator delete(void*) (vg_replace_malloc.c:576)
==19701==    by 0x14CD2E8B: X11SalGraphics::freeResources() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x14CD3150: X11SalGraphics::~X11SalGraphics() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x14CD3208: X11SalGraphics::~X11SalGraphics() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x14CD3F89: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x14CD4008: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x7B10A50: VirtualDevice::dispose() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60FB34A: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60E719D: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60EA8B6:
drawinglayer::primitive2d::Primitive2DContainer::~Primitive2DContainer() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60FEF4D:
drawinglayer::primitive2d::GraphicPrimitive2D::~GraphicPrimitive2D() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60E719D: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701== 
==19701== Invalid free() / delete / delete[] / realloc()
==19701==    at 0x4A095BB: operator delete(void*) (vg_replace_malloc.c:576)
==19701==    by 0x14CD2E8B: X11SalGraphics::freeResources() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x14CD3150: X11SalGraphics::~X11SalGraphics() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x14CD3208: X11SalGraphics::~X11SalGraphics() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x14CD3F89: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x14CD4008: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_genlo.so)
==19701==    by 0x7B10A50: VirtualDevice::dispose() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60FB34A: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60E719D: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60EA8B6:
drawinglayer::primitive2d::Primitive2DContainer::~Primitive2DContainer() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60FEF4D:
drawinglayer::primitive2d::GraphicPrimitive2D::~GraphicPrimitive2D() (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==    by 0x60E719D: ??? (in
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so)
==19701==  Address 0x2a2c7d90 is 0 bytes inside an unallocated block of size
128 in arena "client"


Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
0x0000000000000041 in ?? ()
#0  0x0000000000000041 in ?? ()
#1  0x00007ffff67ddda2 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#2  0x00007ffff6770912 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#3  0x00007ffff68add61 in Bitmap::~Bitmap() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#4  0x00007ffff4e6a2b6 in
drawinglayer::primitive2d::BitmapPrimitive2D::~BitmapPrimitive2D() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program
/libmergedlo.so
#5  0x00007ffff4e792df in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#6  0x00007ffff4e6519e in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#7  0x00007ffff4e688b7 in
drawinglayer::primitive2d::Primitive2DContainer::~Primitive2DContainer() ()
from /home/maris/tmp/LO/install/opt/libreofficedev6.1/p
rogram/libmergedlo.so
#8  0x00007ffff4e7cf4e in
drawinglayer::primitive2d::GraphicPrimitive2D::~GraphicPrimitive2D() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/progr
am/libmergedlo.so
#9  0x00007ffff4e6519e in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#10 0x00007ffff4e688b7 in
drawinglayer::primitive2d::Primitive2DContainer::~Primitive2DContainer() ()
from /home/maris/tmp/LO/install/opt/libreofficedev6.1/p
rogram/libmergedlo.so
#11 0x00007ffff5e80144 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#12 0x00007ffff4e6519e in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#13 0x00007ffff4e688b7 in
drawinglayer::primitive2d::Primitive2DContainer::~Primitive2DContainer() ()
from /home/maris/tmp/LO/install/opt/libreofficedev6.1/p
rogram/libmergedlo.so
#14 0x00007ffff5e563b5 in sdr::contact::ViewContact::~ViewContact() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#15 0x00007ffff5e4c2e3 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#16 0x00007ffff5f2438f in SdrObject::~SdrObject() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#17 0x00007ffff5f39e6a in SdrGrafObj::~SdrGrafObj() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#18 0x00007ffff5f39f69 in SdrGrafObj::~SdrGrafObj() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#19 0x00007ffff5f2187b in SdrObject::Free(SdrObject*&) () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#20 0x00007ffff5f885ca in SdrObjList::Clear() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#21 0x00007fffd26c7be1 in SdPage::~SdPage() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/../program/libsdlo.so
#22 0x00007fffd26c7ea9 in SdPage::~SdPage() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/../program/libsdlo.so
#23 0x00007fffd26ac393 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/../program/libsdlo.so
#24 0x00007ffff5ef84ee in SdrModel::ClearModel(bool) () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#25 0x00007fffd26a4115 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/../program/libsdlo.so
#26 0x00007fffd26a4829 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/../program/libsdlo.so
#27 0x00007fffd27ce095 in sd::DrawDocShell::~DrawDocShell() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/../program/libsdlo.so
#28 0x00007fffd27ce3b9 in sd::DrawDocShell::~DrawDocShell() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/../program/libsdlo.so
#29 0x00007ffff58817f3 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#30 0x00007ffff5881c71 in SfxViewFrame::~SfxViewFrame() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#31 0x00007ffff58820a9 in SfxViewFrame::~SfxViewFrame() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#32 0x00007ffff587b6e1 in SfxViewFrame::Close() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#33 0x00007ffff585622d in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#34 0x00007ffff587055b in SfxBaseController::dispose() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#35 0x00007fffd2914b68 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/../program/libsdlo.so
#36 0x00007ffff51c46d0 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#37 0x00007ffff5110346 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#38 0x00007ffff511237f in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#39 0x00007ffff5112e61 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#40 0x00007ffff50d5b96 in
framework::DispatchHelper::executeDispatch(com::sun::star::uno::Reference<com::sun::star::frame::XDispatch>
const&, com::sun::star::util::URL const&, bool,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) ()
from /home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#41 0x00007ffff50d71f5 in
framework::DispatchHelper::executeDispatch(com::sun::star::uno::Reference<com::sun::star::frame::XDispatchProvider>
const&, rtl::OUString const&, rtl::OUString const&, int,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) ()
from /home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#42 0x00007ffff5152a2c in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#43 0x00007ffff66d5b6a in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#44 0x00007ffff68e49ba in SalUserEventList::DispatchUserEvents(bool) () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#45 0x00007fffeab84828 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_kde4lo.so
#46 0x00007fffeab86680 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libvclplug_kde4lo.so
#47 0x00007ffff6900bae in Application::Yield() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#48 0x00007ffff69024a5 in Application::Execute() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#49 0x00007ffff58aeae9 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#50 0x00007ffff69077a6 in ?? () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#51 0x00007ffff6907892 in SVMain() () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#52 0x00007ffff58cf1ed in soffice_main () from
/home/maris/tmp/LO/install/opt/libreofficedev6.1/program/libmergedlo.so
#53 0x000000000040075b in ?? ()
#54 0x0000003b39420f0a in __libc_start_main () from /lib64/libc.so.6

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180416/7629633f/attachment-0001.html>


More information about the Libreoffice-bugs mailing list