Summary: | app-office/libreoffice-6.2.1.2[kde] crash on start: ASSERT: "object == obj" in file accessible/qaccessiblecache.cpp, line 112 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marian Kyral <mkyral> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | frares, gena.kazachek, jaak, moltonel, Tanktalus |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Backtrace
gdbtrace.log from localc --backtrace soffice-20190620-101224.kcrash.txt |
Description
Marian Kyral
2019-03-13 06:58:51 UTC
I've rebuilded qtgui, but does not help. I will go back to 6.1, but it will took a while. Given that this hasn't been solved, it's odd that 6.2.4.2 was marked stable. (In reply to Tanktalus from comment #2) > Given that this hasn't been solved, it's odd that 6.2.4.2 was marked stable. flyby-comment or do you have the same problem? @Marian, please re-open if it happens with 6.2.4.2. (In reply to Andreas Sturmlechner from comment #3) > (In reply to Tanktalus from comment #2) > > Given that this hasn't been solved, it's odd that 6.2.4.2 was marked stable. > > flyby-comment or do you have the same problem? I have the same problem. I had to drop back to 6.1 to get office to work again. I didn't post the stack trace because it looked identical to me, at least on the thread that had the crash, I didn't look at the other threads. Created attachment 580208 [details]
gdbtrace.log from localc --backtrace
Same here with 6.2.4.2 on default/linux/amd64/17.1/no-multilib/hardened.
[ebuild R ] app-office/libreoffice-6.2.4.2::gentoo USE="cups dbus gstreamer gtk kde pdfimport vlc -accessibility -bluetooth -branding (-coinmp) -debug -eds (-firebird) -googledrive -gtk2 -java -ldap -mariadb -odk -postgres -test" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_5 (-python3_7)" PYTHON_TARGETS="python2_7 python3_6 -python3_5 (-python3_7)"
Same backtrace etc. Using latest stable dev-qt/qt* (5.12.3). Have not tried to downgrade.
Please reopen this bug report.
Hi, I've tried libreoffice-bin package and unfortunately version 6.2.4.2 is still crashing. Trace is attached. But I'm able to start LO when installed without kde USE flag USE="-java -kde -gnome" emerge -av1 =app-office/libreoffice-bin-6.2.4.2 =app-office/libreoffice-bin-debug-6.2.4.2 Created attachment 580212 [details]
soffice-20190620-101224.kcrash.txt
Please check integrity of your Qt installations: $ equery l "dev-qt/*" What USE flags do you have on qtgui? $ equery l "dev-qt/*" * Searching for * in dev-qt ... [IP-] [ ] dev-qt/designer-5.12.3:5/5.12 [IP-] [ ] dev-qt/linguist-tools-5.12.3:5/5.12 [IP-] [ ] dev-qt/qdbus-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtbluetooth-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtchooser-66:0 [IP-] [ ] dev-qt/qtconcurrent-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtcore-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtdbus-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtdeclarative-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtgraphicaleffects-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtgui-5.12.3-r1:5/5.12 [IP-] [ ] dev-qt/qtimageformats-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtnetwork-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtnetworkauth-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtopengl-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtpaths-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtpositioning-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtprintsupport-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtquickcontrols-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtquickcontrols2-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtscript-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtscxml-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtsensors-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtspeech-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtsql-5.12.3:5/5.12.3 [IP-] [ ] dev-qt/qtsvg-5.12.3:5/5.12 [IP-] [ ] dev-qt/qttest-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtvirtualkeyboard-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtwayland-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtwebchannel-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtwebengine-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtwebkit-5.212.0_pre20180120:5/5.212 [IP-] [ ] dev-qt/qtwidgets-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtx11extras-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtxml-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtxmlpatterns-5.12.3:5/5.12 $ eix qtgui [I] dev-qt/qtgui Available versions: (5) 5.12.3-r1(5/5.12)^t {accessibility dbus debug egl eglfs evdev +gif gles2 ibus jpeg +libinput +png test tslib tuio +udev vnc +xcb} Installed versions: 5.12.3-r1(5/5.12)^t(09:53:15 AM 05/22/2019)(dbus debug egl gif jpeg libinput png udev xcb -accessibility -eglfs -evdev -gles2 -ibus -test -tslib -tuio -vnc) $ equery l "dev-qt/*" * Searching for * in dev-qt ... [IP-] [ ] dev-qt/designer-5.12.3:5/5.12 [IP-] [ ] dev-qt/linguist-5.12.3:5/5.12 [IP-] [ ] dev-qt/linguist-tools-5.12.3:5/5.12 [IP-] [ ] dev-qt/qdbus-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtbluetooth-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtchooser-66:0 [IP-] [ ] dev-qt/qtconcurrent-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtcore-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtdbus-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtdeclarative-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtgraphicaleffects-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtgui-5.12.3-r1:5/5.12 [IP-] [ ] dev-qt/qtimageformats-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtmultimedia-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtnetwork-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtopengl-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtpaths-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtprintsupport-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtquickcontrols-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtquickcontrols2-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtscript-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtsensors-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtspeech-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtsql-5.12.3:5/5.12.3 [IP-] [ ] dev-qt/qtsvg-5.12.3:5/5.12 [IP-] [ ] dev-qt/qttest-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtvirtualkeyboard-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtwayland-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtwebchannel-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtwebengine-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtwebkit-5.212.0_pre20180120:5/5.212 [IP-] [ ] dev-qt/qtwidgets-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtx11extras-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtxml-5.12.3:5/5.12 [IP-] [ ] dev-qt/qtxmlpatterns-5.12.3:5/5.12 $ eix qtgui [I] dev-qt/qtgui Available versions: (4) 4.8.7[1] (5) 5.12.3-r1(5/5.12)^t {(+)accessibility aqua cups dbus debug egl eglfs evdev +exceptions +gif gles2 +glib gtkstyle ibus jpeg +libinput mng nas nis pch +png qt3support test tiff trace tslib tuio +udev vnc +xcb xinerama +xv ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 5.12.3-r1(5/5.12)^t(19:43:50 24.5.2019)(dbus debug egl gif jpeg libinput png udev xcb -accessibility -eglfs -evdev -gles2 -ibus -test -tslib -tuio -vnc) Homepage: https://www.qt.io/ Description: The GUI module and platform plugins for the Qt5 framework I've rebuilded qtgui with accessibility flag enabled, but did not helped. Please don't use eix, it is mixing up qtgui:4 and qtgui:5 USE flags and makes this output completely useless. Same thing here, little difference on the line the assert is issued: ASSERT: "object == obj" in file accessible/qaccessiblecache.cpp, line 122 But when running as "su", it works! Any hints? By the way, I'm using brazilian portuguese version, that might explain the difference on the line on which the assert takes place. Please start `lowriter --safe-mode` and disable OpenCL in the config dialog. I'm not really sure what the "right" way to get the use flags is, then. Is the output from emerge -vp qtgui appropriate? [ebuild R ] dev-qt/qtgui-5.12.3-r1:5/5.12::gentoo USE="dbus debug egl gif jpeg libinput png udev xcb -accessibility -eglfs -evdev (-gles2) -ibus -test -tslib -tuio -vnc" 0 KiB (In reply to Andreas Sturmlechner from comment #16) > Please start `lowriter --safe-mode` and disable OpenCL in the config dialog. OpenCL is not enabled. (In reply to Francisco Ares from comment #14) > But when running as "su", it works! > > Any hints? Based on this, I'd say it is a similar problem as with OpenCL; missing user rights to your GPU driver. *** Bug 688740 has been marked as a duplicate of this bug. *** Please test with 6.2.5.2. (In reply to Andreas Sturmlechner from comment #21) > Please test with 6.2.5.2. I still got the crash with 6.2.5.2 on July 5th and had to downgrade to 6.1.5.2. I confirm. 6.2.5.2 still crashing with the same message. (In reply to Szef from comment #23) > I confirm. 6.2.5.2 still crashing with the same message. libreoffice or libreoffice-bin? Please share your USE flags as well. Please try building libreoffice with USE="-gtk", if you haven't already. I tried to rebuild with -gtk: result is the same. My current use flags are: bluetooth branding cups dbus kde ldap mariadb -accessibility -coinmp -debug -eds -firebird -googledrive -gstreamer -gtk -gtk2 -java -odk -pdfimport -postgres -test -vlc ELIBC="-FreeBSD" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_6 -python3_7" PYTHON_TARGETS="python2_7 python3_5 -python3_6 -python3_7" (In reply to Szef from comment #26) > I tried to rebuild with -gtk: result is the same. It works for you as well when started as 'su'? How do you start your desktop session? Yes, it works under su. I start like anybody else, entering credentials in login screen. Mine DM is SDDM. Shot in the dark: please mv ~/.config/libreoffice ~/.config/libreoffice-old and try again. It was one of my first attempts beforehand. It doesn't work. I've rechecked. I actually found, that it do NOT work under su now. I tried it before and I believe it was working (possibly I was wrong). But now it is not working. It _IS_ working under _root_, but not under _su_ Can we get the old libreoffice package back into portage, the one that worked, 6.1.5.2? Because I'm afraid to test newer packages if I can't downgrade again, which is, in turn, more or less freezing my entire system. Impossible, but since you know that USE=kde is the problem here you can always build without that. (In reply to Andreas Sturmlechner from comment #34) > Impossible, but since you know that USE=kde is the problem here you can > always build without that. One possible alternative to this is to keep USE=kde, but just run LibreOffice with the SAL_USE_VCLPLUGIN=gen set in the environment. As opposed to SAL_USE_VCLPLUGIN=kde (which might be your default) it uses generic X11 rendering. See https://wiki.openoffice.org/wiki/Environment_Variables#Environment_variables_for_users for details This uses not so beautiful visuals (which are broken for use with dark desktop themes), but at least it is possible to upgrade to some app-office/libreoffice version in portage and actually use the software. Just ran into this bug. export SAL_USE_VCLPLUGIN=kde export OOO_FORCE_DESKTOP=none lowriter results in the following output on the command line... (soffice:17632): dbind-WARNING **: 17:41:09.343: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. ...and an acceptably styled application. :-) Has there been any further progress? Note that this bug is still in the "UNCONFIRMED" state. I can still reproduce this with Libreoffice 6.4.3.2, Qt 5.15, KDE Frameworks 5.73.0, KDE Plasma 5.19.4. I took the liberty of reporting this upstream: https://bugs.documentfoundation.org/show_bug.cgi?id=136323 Now with great results: > Michael Weghorn committed a patch related to this issue. > It has been pushed to "master": > > https://git.libreoffice.org/core/commit/4461d49c6cfce22c2c96185b0a1d07bfe9709268 > > tdf#136323 qt5: Remember accessible object > > It will be available in 7.1.0. > > The patch should be included in the daily builds available at > https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More > information about daily builds can be found at: > https://wiki.documentfoundation.org/Testing_Daily_Builds > > Affected users are encouraged to test the fix and report feedback. The fix has now also been ported to upstream versions 7.0.2 and 6.4.7. Applying upstream commit 4461d49c6cfce22c2c96185b0a1d07bfe9709268 to app-office/libreoffice-6.4.3.2 seems to have fixed the issue for me on Gentoo as well. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b08267d1e6c2fda88482f2e325b885c9f85f6103 commit b08267d1e6c2fda88482f2e325b885c9f85f6103 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-09-08 17:45:52 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-09-08 18:07:43 +0000 app-office/libreoffice: Backport "qt5: Remember accessible object" Thanks-to: Jaak Ristioja <jaak@ristioja.ee> Reported-by: Marian Kyral <mkyral@email.cz> Bug: https://bugs.gentoo.org/680186 Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ...breoffice-6.4.6.2-qaccessiblecache-assert.patch | 102 ++++ .../libreoffice/libreoffice-6.4.6.2-r1.ebuild | 593 +++++++++++++++++++++ 2 files changed, 695 insertions(+) (In reply to Jaak Ristioja from comment #39) > The fix has now also been ported to upstream versions 7.0.2 and 6.4.7. > > Applying upstream commit 4461d49c6cfce22c2c96185b0a1d07bfe9709268 to > app-office/libreoffice-6.4.3.2 seems to have fixed the issue for me on > Gentoo as well. 6.4.7 is now stable (and the binpkg will follow in a few days). |