Bug 1212030 - libreoffice does not start
Summary: libreoffice does not start
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: LibreOffice (show other bugs)
Version: Leap 15.5
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Danilo Spinella
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-05 14:26 UTC by Michal Suchanek
Modified: 2023-06-07 16:18 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Suchanek 2023-06-05 14:26:23 UTC
gdb /usr/lib64/libreoffice/program/oosplash
GNU gdb (GDB; SUSE Linux Enterprise 15) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib64/libreoffice/program/oosplash...
Reading symbols from /usr/lib/debug/usr/lib64/libreoffice/program/oosplash-7.4.3.2-150400.17.3.8.x86_64.debug...
(gdb) r
Starting program: /usr/lib64/libreoffice/program/oosplash 
Missing separate debuginfos, use: zypper install glibc-debuginfo-2.31-150300.46.1.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Authorization required, but no authorization protocol specified
[New Thread 0x7ffff6774700 (LWP 27107)]
[Detaching after fork from child process 27108]
[New Thread 0x7ffff5f73700 (LWP 27131)]
[Thread 0x7ffff6774700 (LWP 27107) exited]
[Detaching after fork from child process 27132]
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
^C
Thread 1 "oosplash" received signal SIGINT, Interrupt.
0x00007ffff69c6a5e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
Missing separate debuginfos, use: zypper install libX11-6-debuginfo-1.6.5-150000.3.27.1.x86_64 libXau6-debuginfo-1.0.8-1.26.x86_64 libXext6-debuginfo-1.3.3-1.30.x86_64 libXinerama1-debuginfo-1.1.3-1.22.x86_64 libgcc_s1-debuginfo-12.2.1+git416-150000.1.7.1.x86_64 libstdc++6-debuginfo-12.2.1+git416-150000.1.7.1.x86_64 libxcb1-debuginfo-1.13-150000.3.9.1.x86_64 libz1-debuginfo-1.2.13-150500.1.19.x86_64
(gdb) thread apply all bt full

Thread 3 (Thread 0x7ffff5f73700 (LWP 27131) "osl_executeProc"):
#0  0x00007ffff754862f in wait4 () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007ffff76978e6 in ChildStatusProc (pData=0x7fffffffc810) at /usr/src/debug/libreoffice-7.4.3.2-150400.17.3.8.x86_64/sal/osl/unx/process.cxx:298
        child_pid = 27132
        i = 0
        pid = 27132
        status = 0
        channel = {6, 7}
        data = {m_pszArgs = {0x4409f0 "", 0x440060 "", 0x0 <repeats 254 times>}, m_pszDir = 0x0, m_pszEnv = {0x0 <repeats 256 times>}, m_uid = 4294967295, m_gid = 0, m_name = 0x0, m_started = 0x440720, m_pProcImpl = 0x4406c0, m_pInputWrite = 0x0, m_pOutputRead = 0x0, m_pErrorRead = 0x0}
        stdOutput = {-1, -1}
        stdInput = {-1, -1}
        stdError = {-1, -1}
#2  0x00007ffff769a318 in osl_thread_start_Impl (pData=0x49ad30) at /usr/src/debug/libreoffice-7.4.3.2-150400.17.3.8.x86_64/sal/osl/unx/thread.cxx:265
No locals.
#3  0x00007ffff69bf6ea in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4  0x00007ffff757e94f in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 1 (Thread 0x7ffff67ad0c0 (LWP 27104) "oosplash"):
#0  0x00007ffff69c6a5e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x00007ffff768d788 in osl_waitCondition (Condition=0x440650, pTimeout=0x7fffffffd860) at /usr/src/debug/libreoffice-7.4.3.2-150400.17.3.8.x86_64/sal/osl/unx/conditn.cxx:203
        tp = {tv_sec = 1685974979, tv_usec = 352874}
        to = {tv_sec = 1685976003, tv_nsec = 602874000}
        nRet = <optimized out>
#2  0x00007ffff7697ea8 in osl_joinProcessWithTimeout (Process=0x4406c0, pTimeout=0x7fffffffdab0) at /usr/src/debug/libreoffice-7.4.3.2-150400.17.3.8.x86_64/sal/osl/unx/process.cxx:1153
        pChild = 0x4406c0
        osl_error = <optimized out>
#3  0x0000000000404796 in child_exited_wait () at /usr/src/debug/libreoffice-7.4.3.2-150400.17.3.8.x86_64/desktop/unx/source/start.c:159
No locals.
#4  sal_main_with_args (argc=4458104, argv=0x189) at /usr/src/debug/libreoffice-7.4.3.2-150400.17.3.8.x86_64/desktop/unx/source/start.c:833
        info = <optimized out>
        bAllArgs = <optimized out>
        nPercent = 0
        bShortWait = 0 '\000'
        bRestart = <optimized out>
        bSentArgs = <optimized out>
        pUsePlugin = 0x440678 ""
        pPipePath = <optimized out>
        args = <optimized out>
        status = 4458928
        splash = 0x0
        sigpipe_action = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {0 <repeats 16 times>}}, sa_flags = 0, sa_restorer = 0x0}
        sigterm_action = {__sigaction_handler = {sa_handler = 0x404030 <sigterm_handler>, sa_sigaction = 0x404030 <sigterm_handler>}, sa_mask = {__val = {0 <repeats 16 times>}}, sa_flags = 0, sa_restorer = 0x0}
#5  0x000000000040321b in main (argc=1, argv=0x7fffffffde68) at /usr/src/debug/libreoffice-7.4.3.2-150400.17.3.8.x86_64/desktop/unx/source/start.c:733
        ret = -8600
(gdb)
Comment 1 Danilo Spinella 2023-06-06 14:30:21 UTC
Thank you Michal for you report. Does this happen everytime LO is started? Does the flatpak version work?
Comment 2 Michal Suchanek 2023-06-06 14:36:52 UTC
It fails to start every time. I was able to author a couple of documents but then LO broke, and has been broken ever since.

I don't have flathub installed.

It works for me on 15.4 and TW, only 15.5 is problematic.
Comment 3 Danilo Spinella 2023-06-07 08:55:05 UTC
(In reply to Michal Suchanek from comment #2)
> It fails to start every time. I was able to author a couple of documents but
> then LO broke, and has been broken ever since.
> 
> I don't have flathub installed.
> 
> It works for me on 15.4 and TW, only 15.5 is problematic.

15.4 and 15.5 should have the same version, maybe it's some dependency that it's making LO crash.

I have added Leap 15.5 in OBS, can you please install the latest version of LO from there once it compiles? If that works, it means that this bug will get fixed by the next LO update.

https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice
Comment 4 Michal Suchanek 2023-06-07 16:18:20 UTC
That repository works for me, thanks.