Summary: | app-office/libreoffice-bin-6.0.3.2[kde] freezes | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Franz Trischberger <franz.trischberger> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | franz.trischberger, gmt, gmturner007 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | etc_portage_patches_kde-plasma_plasma-workspace-5.12.5_gmenu-dbusmenu-proxy.patch |
Description
Franz Trischberger
2018-06-03 10:16:08 UTC
It's a bug with USE=kde, and that's why the flag is stable-masked. Thank you! I didn't realize it's masked because I previously had to unmask it as I didn't have time to immediately change to 17.0 profile - and forgot to undo all the changes required to keep 13.0 running after migration was completed. Might be my dad didn't tell me the exact steps, at least I couldn't reproduce it with simply "idling". I had to press "save". And then I got a lockup. Also the lo_kde5filpck process stayed alive after killing libreoffice - and there was another one (which probably proves my dad also clicked save). Here are backtraces of the involved processes: === lo_kde5filepick === [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". 0x00007f7643fe4ac9 in g_mutex_lock (mutex=mutex@entry=0x7f7628004ff0) at /var/tmp/portage/dev-libs/glib-2.56.1/work/glib-2.56.1/glib/gthread-posix.c:1343 1343 /var/tmp/portage/dev-libs/glib-2.56.1/work/glib-2.56.1/glib/gthread-posix.c: Datei oder Verzeichnis nicht gefunden. (gdb) bt #0 0x00007f7643fe4ac9 in g_mutex_lock (mutex=mutex@entry=0x7f7628004ff0) at /var/tmp/portage/dev-libs/glib-2.56.1/work/glib-2.56.1/glib/gthread-posix.c:1343 #1 0x00007f7643f9e2f4 in g_main_context_release (context=0x7f7628004ff0) at /var/tmp/portage/dev-libs/glib-2.56.1/work/glib-2.56.1/glib/gmain.c:3277 #2 0x00007f7643f9f296 in g_main_context_iterate (context=context@entry=0x7f7628004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.56.1/work/glib-2.56.1/glib/gmain.c:3905 #3 0x00007f7643f9f3ec in g_main_context_iteration (context=0x7f7628004ff0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.56.1/work/glib-2.56.1/glib/gmain.c:3964 #4 0x00007f764cb27fcf in QEventDispatcherGlib::processEvents (this=0x55ab0b4ce630, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #5 0x00007f762ea53ee1 in QPAEventDispatcherGlib::processEvents (this=0x55ab0b4ce630, flags=...) at qeventdispatcher_glib.cpp:69 #6 0x00007f764cad40ca in QEventLoop::exec (this=this@entry=0x7ffda18eea30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #7 0x00007f764cadcb84 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1338 #8 0x000055ab0a0d7656 in ?? () #9 0x00007f7645832f0a in __libc_start_main (main=0x55ab0a0d74e0, argc=1, argv=0x7ffda18eec58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffda18eec48) at ../csu/libc-start.c:308 #10 0x000055ab0a0d777a in ?? () === soffice.bin === Using host libthread_db library "/lib64/libthread_db.so.1". syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 38 ../sysdeps/unix/sysv/linux/x86_64/syscall.S: Datei oder Verzeichnis nicht gefunden. (gdb) bt #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007f88ea91cbe1 in std::__atomic_futex_unsigned_base::_M_futex_wait_until (this=<optimized out>, __addr=0x559a3eee7de0, __val=2147483648, __has_timeout=<optimized out>, __s=..., __ns=...) at /var/tmp/portage/sys-devel/gcc-7.3.0-r3/work/gcc-7.3.0/libstdc++-v3/src/c++11/futex.cc:76 #2 0x00007f88df491e6b in ?? () from /usr/lib64/libreoffice/program/libvclplug_gtk3_kde5lo.so #3 0x00007f88df4884c9 in ?? () from /usr/lib64/libreoffice/program/libvclplug_gtk3_kde5lo.so #4 0x00007f88f508b734 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #5 0x00007f88f508b876 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #6 0x00007f88f508d70e in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #7 0x00007f88f508e361 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #8 0x00007f88f604295f in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #9 0x00007f88f622afcd in SalUserEventList::DispatchUserEvents(bool) () from /usr/lib64/libreoffice/program/libmergedlo.so #10 0x00007f88df477059 in ?? () from /usr/lib64/libreoffice/program/libvclplug_gtk3_kde5lo.so #11 0x00007f88f0ffbf95 in g_main_dispatch (context=0x559a39a50a80) at /var/tmp/portage/dev-libs/glib-2.56.1/work/glib-2.56.1/glib/gmain.c:3177 #12 g_main_context_dispatch (context=context@entry=0x559a39a50a80) at /var/tmp/portage/dev-libs/glib-2.56.1/work/glib-2.56.1/glib/gmain.c:3830 #13 0x00007f88f0ffc360 in g_main_context_iterate (context=context@entry=0x559a39a50a80, block=block@entry=0, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.56.1/work/glib-2.56.1/glib/gmain.c:3903 #14 0x00007f88f0ffc3ec in g_main_context_iteration (context=0x559a39a50a80, may_block=0) at /var/tmp/portage/dev-libs/glib-2.56.1/work/glib-2.56.1/glib/gmain.c:3964 #15 0x00007f88df4783bb in ?? () from /usr/lib64/libreoffice/program/libvclplug_gtk3_kde5lo.so #16 0x00007f88df491db1 in ?? () from /usr/lib64/libreoffice/program/libvclplug_gtk3_kde5lo.so #17 0x00007f88df492dd8 in ?? () from /usr/lib64/libreoffice/program/libvclplug_gtk3_kde5lo.so #18 0x00007f88f50960f7 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #19 0x00007f88f5096291 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #20 0x00007f88f5097217 in sfx2::FileDialogHelper::Execute(SfxItemSet*&, rtl::OUString&) () from /usr/lib64/libreoffice/program/libmergedlo.so #21 0x00007f88f5154895 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #22 0x00007f88f5158664 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #23 0x00007f88f517374e in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #24 0x00007f88f4ffc64b in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #25 0x00007f88f5000c6e in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #26 0x00007f88f51f5343 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #27 0x00007f88f604295f in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #28 0x00007f88f622afcd in SalUserEventList::DispatchUserEvents(bool) () from /usr/lib64/libreoffice/program/libmergedlo.so #29 0x00007f88df477059 in ?? () from /usr/lib64/libreoffice/program/libvclplug_gtk3_kde5lo.so #30 0x00007f88f0ffbf95 in g_main_dispatch (context=0x559a39a50a80) at /var/tmp/portage/dev-libs/glib-2.56.1/work/glib-2.56.1/glib/gmain.c:3177 #31 g_main_context_dispatch (context=context@entry=0x559a39a50a80) at /var/tmp/portage/dev-libs/glib-2.56.1/work/glib-2.56.1/glib/gmain.c:3830 #32 0x00007f88f0ffc360 in g_main_context_iterate (context=context@entry=0x559a39a50a80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.56.1/work/glib-2.56.1/glib/gmain.c:3903 #33 0x00007f88f0ffc3ec in g_main_context_iteration (context=0x559a39a50a80, may_block=1) at /var/tmp/portage/dev-libs/glib-2.56.1/work/glib-2.56.1/glib/gmain.c:3964 #34 0x00007f88df4783bb in ?? () from /usr/lib64/libreoffice/program/libvclplug_gtk3_kde5lo.so #35 0x00007f88f623b8be in Application::Yield() () from /usr/lib64/libreoffice/program/libmergedlo.so #36 0x00007f88f623d0f5 in Application::Execute() () from /usr/lib64/libreoffice/program/libmergedlo.so #37 0x00007f88f5295325 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #38 0x00007f88f6242526 in ?? () from /usr/lib64/libreoffice/program/libmergedlo.so #39 0x00007f88f6242622 in SVMain() () from /usr/lib64/libreoffice/program/libmergedlo.so #40 0x00007f88f52b65d1 in soffice_main () from /usr/lib64/libreoffice/program/libmergedlo.so #41 0x0000559a376b27cb in ?? () #42 0x00007f88f2fd4f0a in __libc_start_main (main=0x559a376b27c0, argc=3, argv=0x7ffc65706cf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc65706ce8) at ../csu/libc-start.c:308 #43 0x0000559a376b280a in ?? () Created attachment 535558 [details, diff]
etc_portage_patches_kde-plasma_plasma-workspace-5.12.5_gmenu-dbusmenu-proxy.patch
This patch, applied to =kde-plasma/plasma-workspace-5.12.5 via /etc/portage/patches, backports the code from git plasma-workspace to enable menus in recent libreoffice USE=kde ebuilds. Aside from it potentially being very helpful to get the menus back, it seems to make libreoffice less prone to spontaneously wigging out (but still not exactly rock-solid).
I don't think this should go into upstream portage, as who knows what unexpected side effects it could have elsewhere, but folks finding themselves here may wish to give it a go (I'm loving it personally).
(In reply to Greg Turner from comment #4) > Created attachment 535558 [details, diff] [details, diff] > etc_portage_patches_kde-plasma_plasma-workspace-5.12.5_gmenu-dbusmenu-proxy. > patch > > This patch, applied to =kde-plasma/plasma-workspace-5.12.5 via > /etc/portage/patches, backports the code from git plasma-workspace to enable > menus in recent libreoffice USE=kde ebuilds. Forgot to mention, I think it's only relevant when you have enabled the "hamburger" menus in kde. But I'm not sure about that; anyhow I use them in my ~amd64 kde setup and my USE="dbus gtk gtk2 kde java" =app-office/libreoffice-4.0.6.2 seems pretty happy most of the time. Please test with 6.1.1.2. FTR those plasma patches are now upstream and no longer needed with modern releases. Thanks for the follow-up! Since kde flag is currently stable-masked, latest versions of Frameworks/Plasma are provided in ~arch, I'm going to close this. |