Bug 149100 - LibreOffice crashes on startup in Fedora
Summary: LibreOffice crashes on startup in Fedora
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.3.3.2 release
Hardware: All Linux (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 151163 (view as bug list)
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2022-05-15 18:35 UTC by Piotr Dobrogost
Modified: 2023-12-13 18:29 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Dobrogost 2022-05-15 18:35:11 UTC
LibreOffice 7.3.3.2 crashes under Fedora 36 (problem already present in Fedora 35, probably with earlier version of LibreOffice) during startup.
I'm ready to supply any information needed to investigate the problem.

[miner@hostx ~]$ coredump info
           PID: 3719 (soffice.bin)
           UID: 1000 (miner)
           GID: 1000 (miner)
        Signal: 6 (ABRT)
     Timestamp: Sun 2022-05-15 20:09:52 CEST (21min ago)
  Command Line: /usr/lib64/libreoffice/program/soffice.bin --splash-pipe=5
    Executable: /usr/lib64/libreoffice/program/soffice.bin
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.konsole@autostart.service
          Unit: user@1000.service
     User Unit: app-org.kde.konsole@autostart.service
         Slice: user-1000.slice
     Owner UID: 1000 (miner)
       Boot ID: 5a3efbcd1cd24c15ab5df4608cada9a6
    Machine ID: df12a9d4f2ad4c67b6df5303027ce003
      Hostname: hostx
       Storage: /var/lib/systemd/coredump/core.soffice\x2ebin.1000.5a3efbcd1cd24c15ab5df4608cada9a6.3719.1652638192000000.zst (present)
     Disk Size: 2.7M
       Message: Process 3719 (soffice.bin) of user 1000 dumped core.
                
                Module linux-vdso.so.1 with build-id bad404017427e634e76661e05373273c968cbcbc
                Module libgcc3_uno.so with build-id 9d2633315b4674a5ae591c578e9d23dfcd0d2668
                Metadata for module libgcc3_uno.so owned by FDO found: {
                	"type" : "rpm",
                	"name" : "libreoffice",
                	"version" : "7.3.3.2-1.fc36",
                	"architecture" : "x86_64",
                	"osCpe" : "cpe:/o:fedoraproject:fedora:36"
                }
                
                Module libKF5Style.so.5 with build-id 8e4b9efaac9c4e68696af0efb1695b5140b2d429
                Metadata for module libKF5Style.so.5 owned by FDO found: {
                	"type" : "rpm",
                	"name" : "kf5-frameworkintegration",
                	"version" : "5.93.0-1.fc36",
                	"architecture" : "x86_64",
                	"osCpe" : "cpe:/o:fedoraproject:fedora:36"
                }
                
                Module libbreezecommon5.so.5 with build-id 394cf127e297b4cd1afc92f57afc30ac6dbfd657
                Metadata for module libbreezecommon5.so.5 owned by FDO found: {
                	"type" : "rpm",
                	"name" : "plasma-breeze",
                	"version" : "5.24.5-1.fc36",
                	"architecture" : "x86_64",
                	"osCpe" : "cpe:/o:fedoraproject:fedora:36"
                }
                
                Module breeze.so with build-id 309bd74ca7ea1c71c29ecb4d864c777501656e0e
                Metadata for module breeze.so owned by FDO found: {
                	"type" : "rpm",
                	"name" : "plasma-breeze",
                	"version" : "5.24.5-1.fc36",
                	"architecture" : "x86_64",
                	"osCpe" : "cpe:/o:fedoraproject:fedora:36"
                }
                
                Module libcomposeplatforminputcontextplugin.so with build-id 24fa1a0f25a263ff0faa4d7698bc8a539be8b808
                Metadata for module libcomposeplatforminputcontextplugin.so owned by FDO found: {
                	"type" : "rpm",
                	"name" : "qt5-qtbase",
                	"version" : "5.15.3-1.fc36",
                	"architecture" : "x86_64",
                	"osCpe" : "cpe:/o:fedoraproject:fedora:36"
                }
                
                Module libogg.so.0 with build-id 51b01a31c9c7cf0432f1ab32da1b3a324c6e75b6
                Metadata for module libogg.so.0 owned by FDO found: {
                	"type" : "rpm",
                	"name" : "libogg",
                	"version" : "1.3.5-3.fc36",
                	"architecture" : "x86_64",
                	"osCpe" : "cpe:/o:fedoraproject:fedora:36"
                }
                
                Module libvorbis.so.0 with build-id 54cf4100a162e93bf55de9202edd4e8ff274525f
                Metadata for module libvorbis.so.0 owned by FDO found: {
                	"type" : "rpm",
                	"name" : "libvorbis",
                	"version" : "1.3.7-5.fc36",
                	"architecture" : "x86_64",
                	"osCpe" : "cpe:/o:fedoraproject:fedora:36"
                }
                
                Module libQt5QmlModels.so.5 with build-id 45ca56e0012ab11c00b1a9da5b61afea48d6046e
                Stack trace of thread 3719:
                #0  0x00007f759734ec7c __pthread_kill_implementation (libc.so.6 + 0x8ec7c)
                #1  0x00007f75972fea06 raise (libc.so.6 + 0x3ea06)
                #2  0x00007f75972e8834 abort (libc.so.6 + 0x28834)
                #3  0x00007f75975fb70f _ZN12_GLOBAL__N_121signalHandlerFunctionEiP9siginfo_tPv (libuno_sal.so.3 + 0x3a70f)
                #4  0x00007f75972feab0 __restore_rt (libc.so.6 + 0x3eab0)
                #5  0x00007f7596a392d5 _ZN4cppu25_copyConstructAnyFromDataEP8_uno_AnyPvP33_typelib_TypeDescriptionReferenceP24_typelib_TypeDescriptionPFvS2_EP12_uno_Mapping (libuno_cppu.so.3 + 0x182d5)
                #6  0x00007f7596a376fc _ZN4cppu17_copyConstructAnyEP8_uno_AnyPvP33_typelib_TypeDescriptionReferenceP24_typelib_TypeDescriptionPFvS2_EP12_uno_Mapping (libuno_cppu.so.3 + 0x166fc)
                #7  0x00007f75945afa18 _ZN3utl13ConfigManager11acquireTreeERKNS_10ConfigItemE (libutllo.so + 0x59a18)
                #8  0x00007f75945b25a5 _ZN3utl13ConfigManager13addConfigItemERNS_10ConfigItemE (libutllo.so + 0x5c5a5)
                #9  0x00007f75945b27ab _ZN3utl10ConfigItemC2ERKN3rtl8OUStringE14ConfigItemMode (libutllo.so + 0x5c7ab)
                #10 0x00007f75945e0d50 _ZN19SvtSysLocaleOptionsC1Ev (libutllo.so + 0x8ad50)
                #11 0x00007f75940c9253 _Z7InitVCLv (libvcllo.so + 0x6d9253)
                #12 0x00007f75940c9cd5 _Z10ImplSVMainv (libvcllo.so + 0x6d9cd5)
                #13 0x00007f7597538343 soffice_main (libsofficeapp.so + 0x55343)
                #14 0x00005563090010bf main (soffice.bin + 0x10bf)
                #15 0x00007f75972e9590 __libc_start_call_main (libc.so.6 + 0x29590)
                #16 0x00007f75972e9649 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x29649)
                #17 0x00005563090010f5 _start (soffice.bin + 0x10f5)
                
                Stack trace of thread 3721:
                #0  0x00007f75973c5f8f __poll (libc.so.6 + 0x105f8f)
                #1  0x00007f7591d99fba _xcb_conn_wait.part.0 (libxcb.so.1 + 0xdfba)
                #2  0x00007f7591d9b94c xcb_wait_for_event (libxcb.so.1 + 0xf94c)
                #3  0x00007f757ea7aa91 _ZN14QXcbEventQueue3runEv (libQt5XcbQpa.so.5 + 0x6da91)
                #4  0x00007f7580cd17d7 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xe87d7)
                #5  0x00007f759734ce5d start_thread (libc.so.6 + 0x8ce5d)
                #6  0x00007f75973d28f0 __clone3 (libc.so.6 + 0x1128f0)
                
                Stack trace of thread 3722:
                #0  0x00007f75973c5f8f __poll (libc.so.6 + 0x105f8f)
                #1  0x00007f75905a40dd g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xaa0dd)
                #2  0x00007f759054c8e0 g_main_context_iteration (libglib-2.0.so.0 + 0x528e0)
                #3  0x00007f7580ee1c8a _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2f8c8a)
                #4  0x00007f7580e8fb7a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a6b7a)
                #5  0x00007f7580cd04da _ZN7QThread4execEv (libQt5Core.so.5 + 0xe74da)
                #6  0x00007f757f03caeb _ZN22QDBusConnectionManager3runEv (libQt5DBus.so.5 + 0x1baeb)
                #7  0x00007f7580cd17d7 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xe87d7)
                #8  0x00007f759734ce5d start_thread (libc.so.6 + 0x8ce5d)
                #9  0x00007f75973d28f0 __clone3 (libc.so.6 + 0x1128f0)
                
                Stack trace of thread 3727:
                #0  0x00007f75973d34ff accept (libc.so.6 + 0x1134ff)
                #1  0x00007f75975fc415 osl_acceptPipe (libuno_sal.so.3 + 0x3b415)
                #2  0x00007f759752cf22 _ZN7desktop13PipeIpcThread7executeEv (libsofficeapp.so + 0x49f22)
                #3  0x00007f759630fa2a _ZN9salhelper6Thread3runEv (libuno_salhelpergcc3.so.3 + 0x4a2a)
                #4  0x00007f759630f87e threadFunc (libuno_salhelpergcc3.so.3 + 0x487e)
                #5  0x00007f75975fbab3 _ZL21osl_thread_start_ImplPv (libuno_sal.so.3 + 0x3aab3)
                #6  0x00007f759734ce5d start_thread (libc.so.6 + 0x8ce5d)
                #7  0x00007f75973d28f0 __clone3 (libc.so.6 + 0x1128f0)
                ELF object binary architecture: AMD x86-64


[miner@hostx ~]$ dnf list installed libreoffice*
Installed Packages
libreoffice-core.x86_64                  1:7.3.3.2-1.fc36     @updates
libreoffice-data.noarch                  1:7.3.3.2-1.fc36     @updates
libreoffice-gtk3.x86_64                  1:7.3.3.2-1.fc36     @updates
libreoffice-help-en.x86_64               1:7.3.3.2-1.fc36     @updates
libreoffice-kf5.x86_64                   1:7.3.3.2-1.fc36     @updates
libreoffice-langpack-en.x86_64           1:7.3.3.2-1.fc36     @updates
libreoffice-opensymbol-fonts.noarch      1:7.3.3.2-1.fc36     @updates
libreoffice-pdfimport.x86_64             1:7.3.3.2-1.fc36     @updates
libreoffice-pyuno.x86_64                 1:7.3.3.2-1.fc36     @updates
libreoffice-ure.x86_64                   1:7.3.3.2-1.fc36     @updates
libreoffice-ure-common.noarch            1:7.3.3.2-1.fc36     @updates
libreoffice-writer.x86_64                1:7.3.3.2-1.fc36     @updates
libreoffice-x11.x86_64                   1:7.3.3.2-1.fc36     @updates

[miner@hostx ~]$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="36 (Thirty Six)"
ID=fedora
VERSION_ID=36
VERSION_CODENAME=""
PLATFORM_ID="platform:f36"
PRETTY_NAME="Fedora Linux 36 (Thirty Six)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:36"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f36/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=36
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=36
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
Comment 1 Piotr Dobrogost 2022-06-24 10:52:38 UTC
Could someone take a look?
Any additional information needed?
Comment 2 Timur 2022-07-04 18:40:46 UTC
Please try both to start in save mode via Help menu and to rename LO user folder. 
Also paste Help-About and try to change Skia, if in Tools-Options-View.
Comment 3 vvillenave 2022-09-24 12:14:22 UTC
See #151163. I think I may have reproduced this.
Comment 4 Julien Nabet 2022-09-25 08:17:46 UTC
*** Bug 151163 has been marked as a duplicate of this bug. ***
Comment 5 Julien Nabet 2022-09-25 08:19:39 UTC
vvillenave indicated (reporter of tdf#151163) indicated he didn't reproduce this with LO 7.4.1.
Piotr: would it be possible you give a try to 7.4.1?

It could be either WFM (since it would work with 7.4.1) or NOTOURBUG since it seems to be Fedora specific pb (perhaps a packaging/dependency pb).
Comment 6 QA Administrators 2023-03-25 03:24:12 UTC Comment hidden (obsolete)
Comment 7 Piotr Dobrogost 2023-04-07 19:41:24 UTC
(In reply to Julien Nabet from comment #5)
> vvillenave indicated (reporter of tdf#151163) indicated he didn't reproduce
> this with LO 7.4.1.
> Piotr: would it be possible you give a try to 7.4.1?
> 
> It could be either WFM (since it would work with 7.4.1) or NOTOURBUG since
> it seems to be Fedora specific pb (perhaps a packaging/dependency pb).

I've since upgraded OS to Fedora 38 thus I have LibreOffice 7.5.2.2 50(Build:2) now.
Running libreoffice from the shell I get the following error in the console:

-----
$ libreoffice
LibreOffice 7.5 - Fatal Error: The application cannot be started.
LibreOffice user installation could not be processed due to missing access rights. Please make sure that you have sufficient access rights for the following location and restart LibreOffice:

/home/miner/.config/libreoffice/4
-----

cloph at #libreoffice pointed the following:
"that message is generated if there's not enough diskspace or when there's no write access. https://git.libreoffice.org/core/+/master/desktop/source/app/app.cxx#866 (STR_BOOTSTRAP_ERR_NOACCESSRIGHTS)"

However it's odd because I'm the owner of /home/miner and everything inside it, there is free space and access rights are normal:


$ ls -ld ~/.config/libreoffice/4
drwx------. 3 miner miner 4096 kwi  3 21:44 /home/miner/.config/libreoffice/4

$ df ~
Filesystem                  1K-blocks     Used Available Use% Mounted on
/dev/mapper/miner1_vg1-home  58249212 33688412  21569492  61% /home

$ lsattr -d ~/.config/libreoffice/4
--------------e------- /home/miner/.config/libreoffice/4

$ getfacl ~/.config/libreoffice/4
getfacl: Removing leading '/' from absolute path names
# file: home/miner/.config/libreoffice/4
# owner: miner
# group: miner
user::rwx
group::---
other::---

$ ls -Z ~/.config/libreoffice/4
unconfined_u:object_r:config_home_t:s0 user

$ rm -r /home/miner/.config/libreoffice && mkdir -p /home/miner/.config/libreoffice && ls -ld /home/miner/.config/libreoffice/
drwxr-xr-x. 2 miner miner 4096 kwi  7 21:30 /home/miner/.config/libreoffice/



The question is if the cause of this error and the cause of previous crashes is the same or in other words if we are dealing with the same problem and only symptoms changed (arguably for better as now we have clear error message at least)? I suspect that's the case as the system is still the same (albeit upgraded) and the error happens in the same phase (application's startup).
Comment 8 Buovjaga 2023-04-12 13:45:40 UTC
It sounds like a problem on your system rather than LibreOffice. You could try an appimage: https://www.libreoffice.org/download/appimage/
Comment 9 Roman Kuznetsov 2023-05-27 07:25:16 UTC
Piotr, please try retest as Buovjaga suggested in Comment 8
Comment 10 QA Administrators 2023-11-24 03:15:51 UTC Comment hidden (obsolete)
Comment 11 Piotr Dobrogost 2023-12-13 18:29:44 UTC
Closing as it seems impossible to establish what's wrong although ~/.config/libreoffice/4 seems to be perfectly normal.