[Libreoffice-bugs] [Bug 127260] New: Saving files containing a gradient is extremely slow
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Sep 1 10:07:52 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=127260
Bug ID: 127260
Summary: Saving files containing a gradient is extremely slow
Product: LibreOffice
Version: 6.3.0.4 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Draw
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: dw at botanicus.net
Created attachment 153792
--> https://bugs.documentfoundation.org/attachment.cgi?id=153792&action=edit
File that takes forever to save after adding gradients
The attached file began to require 30 seconds+ runtime to save after beginning
to colour its boxes with gradients. The program otherwise works perfectly -- it
looks like some kind of slow algorithm is causing it.
OS is Ubuntu 19.04, HiDPI (XPS 9550)
The responsible stack appears to always be the main thread, and the trace
always resembles below. This trace was taken on 6.2.5.2, but I have confirmed
the bug still manifests in latest release
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fe1154e4729 in __GI___poll (fds=0x7fff3c0a4b68, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
29 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) bt
#0 0x00007fe1154e4729 in __GI___poll (fds=0x7fff3c0a4b68, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007fe1107de917 in () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2 0x00007fe1107e025f in () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3 0x00007fe1107e03d1 in xcb_wait_for_reply64 () at
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#4 0x00007fe114663e38 in _XReply () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#5 0x00007fe11465f8bd in XSync () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#6 0x00007fe11372d43e in () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#7 0x00007fe11372e220 in () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#8 0x00007fe11372b25a in () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#9 0x00007fe113700e54 in () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#10 0x00007fe1136c1ebf in () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#11 0x00007fe1136c234e in () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#12 0x00007fe1136f4cdc in () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#13 0x00007fe1136f545e in () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#14 0x00007fe1136f54dc in () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#15 0x00007fe1136b0861 in () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#16 0x00007fe113701068 in () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#17 0x00007fe1136b8606 in () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#18 0x00007fe11370de35 in cairo_paint () at
/usr/lib/x86_64-linux-gnu/libcairo.so.2
#19 0x00007fe1184ed442 in SvpSalGraphics::releaseCairoContext(_cairo*, bool,
basegfx::B2DRange const&) const () at
/usr/lib/libreoffice/program/libmergedlo.so
#20 0x00007fe1184f0864 in SvpSalGraphics::drawPolyPolygon(basegfx::B2DHomMatrix
const&, basegfx::B2DPolyPolygon const&, double) ()
at /usr/lib/libreoffice/program/libmergedlo.so
#21 0x00007fe1184eb564 in SvpSalGraphics::drawPolygon(unsigned int, SalPoint
const*) () at /usr/lib/libreoffice/program/libmergedlo.so
#22 0x00007fe11827c955 in () at /usr/lib/libreoffice/program/libmergedlo.so
#23 0x00007fe11829bf68 in () at /usr/lib/libreoffice/program/libmergedlo.so
#24 0x00007fe11829f13c in OutputDevice::DrawGradient(tools::PolyPolygon const&,
Gradient const&) () at /usr/lib/libreoffice/program/libmergedlo.so
#25 0x00007fe11829f1ab in OutputDevice::DrawGradient(tools::Rectangle const&,
Gradient const&) () at /usr/lib/libreoffice/program/libmergedlo.so
#26 0x00007fe11830d849 in GDIMetaFile::Play(OutputDevice*, unsigned long) () at
/usr/lib/libreoffice/program/libmergedlo.so
#27 0x00007fe11830dac0 in GDIMetaFile::Play(OutputDevice*, Point const&, Size
const&) () at /usr/lib/libreoffice/program/libmergedlo.so
#28 0x00007fe11830de81 in GDIMetaFile::CreateThumbnail(BitmapEx&,
BmpConversion, BmpScaleFlag) const () at
/usr/lib/libreoffice/program/libmergedlo.so
#29 0x00007fe11726b7dd in () at /usr/lib/libreoffice/program/libmergedlo.so
#30 0x00007fe11726be38 in () at /usr/lib/libreoffice/program/libmergedlo.so
#31 0x00007fe1175bb785 in SfxBroadcaster::Broadcast(SfxHint const&) () at
/usr/lib/libreoffice/program/libmergedlo.so
#32 0x00007fe11720e796 in () at /usr/lib/libreoffice/program/libmergedlo.so
#33 0x00007fe118439400 in Scheduler::ProcessTaskScheduling() () at
/usr/lib/libreoffice/program/libmergedlo.so
#34 0x00007fe10e2ac66a in () at
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so
#35 0x00007fe114b8d898 in g_main_context_dispatch () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fe114b8dc88 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fe114b8dd1c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fe10e2adb53 in () at
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so
#39 0x00007fe118447812 in () at /usr/lib/libreoffice/program/libmergedlo.so
#40 0x00007fe118449595 in Application::Execute() () at
/usr/lib/libreoffice/program/libmergedlo.so
--Type <RET> for more, q to quit, c to continue without paging--c
#41 0x00007fe1174ff243 in () at /usr/lib/libreoffice/program/libmergedlo.so
#42 0x00007fe11844fd22 in ImplSVMain() () at
/usr/lib/libreoffice/program/libmergedlo.so
#43 0x00007fe11751d321 in soffice_main () at
/usr/lib/libreoffice/program/libmergedlo.so
#44 0x000055ab5627c07b in ()
#45 0x00007fe1153f9b6b in __libc_start_main (main=0x55ab5627c070, argc=4,
argv=0x7fff3c0a7618, init=<optimised out>, fini=<optimised out>,
rtld_fini=<optimised out>, stack_end=0x7fff3c0a7608) at ../csu/libc-start.c:308
#46 0x000055ab5627c0ba in ()
(gdb)
--
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/20190901/da230269/attachment.html>
More information about the Libreoffice-bugs
mailing list