Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680186 - app-office/libreoffice-6.2.1.2[kde] crash on start: ASSERT: "object == obj" in file accessible/qaccessiblecache.cpp, line 112
Summary: app-office/libreoffice-6.2.1.2[kde] crash on start: ASSERT: "object == obj" i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 688740 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-13 06:58 UTC by Marian Kyral
Modified: 2020-12-02 02:02 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Backtrace (lo_backtrace.log,11.87 KB, text/plain)
2019-03-13 06:58 UTC, Marian Kyral
Details
gdbtrace.log from localc --backtrace (gdbtrace-6.2.4.2.log,18.64 KB, text/x-log)
2019-06-20 07:27 UTC, Jaak Ristioja
Details
soffice-20190620-101224.kcrash.txt (soffice-20190620-101224.kcrash.txt,16.04 KB, text/plain)
2019-06-20 08:23 UTC, Marian Kyral
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Kyral 2019-03-13 06:58:51 UTC
Created attachment 568942 [details]
Backtrace

After upgrade of libreoffice package to 6.2.1.2, LO don't start anymore. It is crashing on:

$ localc
ASSERT: "object == obj" in file accessible/qaccessiblecache.cpp, line 112
ASSERT: "object == obj" in file accessible/qaccessiblecache.cpp, line 112
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = soffice.bin path = /usr/lib64/libreoffice/program pid = 4465
KCrash: Arguments: /usr/lib64/libreoffice/program/soffice.bin --nocrashhandler 
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit

================================================================================
$ emerge -1pv libreoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] app-office/libreoffice-6.2.1.2::gentoo  USE="bluetooth branding cups dbus gstreamer gtk kde ldap mariadb -accessibility -coinmp -debug -eds -firebird -googledrive -gtk2 -java -odk -pdfimport -postgres -test -vlc" 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" 0 KiB

================================================================================

$ emerge --info
Portage 2.3.62 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.27-r6, 4.20.12-gentoo x86_64)
=================================================================
System uname: Linux-4.20.12-gentoo-x86_64-Intel-R-_Core-TM-_i5-8400H_CPU_@_2.50GHz-with-gentoo-2.6
KiB Mem:    16237768 total,   1137012 free
KiB Swap:    8000508 total,   8000508 free
Timestamp of repository gentoo: Tue, 12 Mar 2019 14:04:20 +0000
Head commit of repository gentoo: f7cbd50eeb60449afa404ff080797c451e13137f

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo, 8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

mkyral
    location: /usr/local/portage
    masters: gentoo
    priority: 0

booboo
    location: /var/lib/layman/booboo
    sync-type: laymansync
    sync-uri: https://github.com/l29ah/booboo.git
    masters: gentoo
    priority: 50

eclipse
    location: /var/lib/layman/eclipse
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/eclipse-overlay.git
    masters: gentoo
    priority: 50

gen2-overlay
    location: /var/lib/layman/gen2-overlay
    sync-type: laymansync
    sync-uri: https://bitbucket.org/szymonsz/gen2-overlay.git
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/java.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/kde.git
    masters: gentoo
    priority: 50

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: 1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --autounmask-keep-masks --backtrack=30"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.supp.name/ http://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs cs_CZ"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="7zip X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups cxx dbus declarative dri dri3 dts dvd dvdr elogind emboss encode exif faad fam ffmpeg flac fortran gdbm gif git glamor gpg gpm gstreamer iconv icu imagemagick ipv6 jpeg jpeg2k kde kipi kwallet lame lcms ldap libnotify libtirpc logrotate lzma lzo mad matroska mmx mmxext mng mozilla mp3 mp4 mpeg mplayer msql multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds python qml qt5 quicktime raw readline samba sdl seccomp semantic-desktop smp spell sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg tcpd theora threads thumbnail thunderbird tiff truetype udev udisks unicode unzip upower usb vaapi vim-syntax vorbis widgets wmf wmp wxwidgets x264 xattr xcb xcomposite xine xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="cs" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marian Kyral 2019-03-13 07:01:50 UTC
I've rebuilded qtgui, but does not help. I will go back to 6.1, but it will took a while.
Comment 2 Tanktalus 2019-06-15 23:25:42 UTC
Given that this hasn't been solved, it's odd that 6.2.4.2 was marked stable.
Comment 3 Andreas Sturmlechner gentoo-dev 2019-06-16 05:37:06 UTC
(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?
Comment 4 Andreas Sturmlechner gentoo-dev 2019-06-16 05:59:14 UTC
@Marian, please re-open if it happens with 6.2.4.2.
Comment 5 Tanktalus 2019-06-16 22:06:56 UTC
(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.
Comment 6 Jaak Ristioja 2019-06-20 07:27:59 UTC
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.
Comment 7 Marian Kyral 2019-06-20 08:23:10 UTC
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
Comment 8 Marian Kyral 2019-06-20 08:23:59 UTC
Created attachment 580212 [details]
soffice-20190620-101224.kcrash.txt
Comment 9 Andreas Sturmlechner gentoo-dev 2019-06-20 12:20:34 UTC
Please check integrity of your Qt installations: $ equery l "dev-qt/*"

What USE flags do you have on qtgui?
Comment 10 Tanktalus 2019-06-21 01:31:06 UTC
$ 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)
Comment 11 Marian Kyral 2019-06-21 05:18:14 UTC
$ 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
Comment 12 Marian Kyral 2019-06-21 10:37:43 UTC
I've rebuilded qtgui with accessibility flag enabled, but did not helped.
Comment 13 Andreas Sturmlechner gentoo-dev 2019-06-21 16:30:07 UTC
Please don't use eix, it is mixing up qtgui:4 and qtgui:5 USE flags and makes this output completely useless.
Comment 14 Francisco Ares 2019-06-22 01:42:18 UTC
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?
Comment 15 Francisco Ares 2019-06-22 01:44:01 UTC
By the way, I'm using brazilian portuguese version, that might explain the difference on the line on which the assert takes place.
Comment 16 Andreas Sturmlechner gentoo-dev 2019-06-22 06:54:39 UTC
Please start `lowriter --safe-mode` and disable OpenCL in the config dialog.
Comment 17 Tanktalus 2019-06-22 14:27:19 UTC
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
Comment 18 Marian Kyral 2019-06-25 07:20:41 UTC
(In reply to Andreas Sturmlechner from comment #16)
> Please start `lowriter --safe-mode` and disable OpenCL in the config dialog.

OpenCL is not enabled.
Comment 19 Andreas Sturmlechner gentoo-dev 2019-06-25 18:05:51 UTC
(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.
Comment 20 Andreas Sturmlechner gentoo-dev 2019-06-26 13:23:57 UTC
*** Bug 688740 has been marked as a duplicate of this bug. ***
Comment 21 Andreas Sturmlechner gentoo-dev 2019-07-07 17:25:03 UTC
Please test with 6.2.5.2.
Comment 22 Jaak Ristioja 2019-07-08 07:53:23 UTC
(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.
Comment 23 Szef 2019-07-09 05:41:01 UTC
I confirm. 6.2.5.2 still crashing with the same message.
Comment 24 Andreas Sturmlechner gentoo-dev 2019-07-12 18:35:18 UTC
(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.
Comment 25 Andreas Sturmlechner gentoo-dev 2019-07-15 14:26:48 UTC
Please try building libreoffice with USE="-gtk", if you haven't already.
Comment 26 Szef 2019-07-23 08:53:36 UTC
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"
Comment 27 Andreas Sturmlechner gentoo-dev 2019-07-24 10:05:13 UTC
(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?
Comment 28 Szef 2019-07-24 11:02:01 UTC
Yes, it works under su.
I start like anybody else, entering credentials in login screen. Mine DM is SDDM.
Comment 29 Andreas Sturmlechner gentoo-dev 2019-07-24 18:51:30 UTC
Shot in the dark: please mv ~/.config/libreoffice ~/.config/libreoffice-old and try again.
Comment 30 Szef 2019-07-25 05:34:58 UTC
It was one of my first attempts beforehand. It doesn't work. I've rechecked.
Comment 31 Szef 2019-07-26 06:34:57 UTC
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.
Comment 32 Francisco Ares 2019-08-06 03:00:21 UTC
It _IS_ working under _root_, but not under _su_
Comment 33 Tanktalus 2019-08-24 14:13:20 UTC
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.
Comment 34 Andreas Sturmlechner gentoo-dev 2019-08-24 14:15:29 UTC
Impossible, but since you know that USE=kde is the problem here you can always build without that.
Comment 35 Jaak Ristioja 2019-08-29 09:01:03 UTC
(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.
Comment 36 Carlo 2019-12-22 16:52:45 UTC
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. :-)
Comment 37 Jaak Ristioja 2020-08-31 09:52:12 UTC
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.
Comment 38 Jaak Ristioja 2020-09-08 05:59:44 UTC
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.
Comment 39 Jaak Ristioja 2020-09-08 09:33:29 UTC
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.
Comment 40 Larry the Git Cow gentoo-dev 2020-09-08 18:08:16 UTC
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(+)
Comment 41 Andreas K. Hüttel archtester gentoo-dev 2020-12-02 02:02:35 UTC
(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).