[Libreoffice-bugs] [Bug 135180] New: LibreOffice crashes on startup, but not as sudo

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jul 27 08:42:59 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=135180

            Bug ID: 135180
           Summary: LibreOffice crashes on startup, but not as sudo
           Product: LibreOffice
           Version: 6.4.4.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: documentfoundation at pierrefar.com

Description:
Hello

This has been going on for a few weeks, but I haven't had time to debug
properly. I tagged it as version 6.4.4.2 as I'm keeping up with the updates,
but it's started a while ago and I didn't keep notes.

Behavior: Opening LibreOffice as a user crashes within ~2 seconds of startup,
but opening as root succeeds.

Nothing I've tried to debug and fix worked. Some things I've tried:
1. Fonts, updating cache, removing Debian packages, installing packages, and
nothing. I focused on this because I did install fonts in the time frame that
somewhat corresponds to when this behavior started, and because what Google
shows as the top search results about related keywords come back with. Nothing
I did with the fonts worked, although these two commands:

$ fc-cache -fv
$ sudo fc-cache -fv

produce many lines saying "skipping, looped directory detected". I've reached
what I know about debugging/cleaning up fonts on Linux, so I'm giving up
despite not being confident I've completed this line of thought.

2. A backtrace is not very helpful, but it's beyond what I know what to do with
anyway. The following is a trace for the CLI command:
$ libreoffice --calc --backtrace

```
warning: Currently logging to gdbtrace.log.  Turn the logging off and on to
make the new setting effective.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 627090]
[New Thread 0x7f4d48124700 (LWP 627095)]
[Thread 0x7f4d48124700 (LWP 627095) exited]
[Inferior 1 (process 627082) exited with code 01]
/usr/lib/libreoffice/program/gdbtrace:9: Error in sourced command file:
No stack.
```

3. Disabling OpenGL doesn't stop the crashes. Instructions I followed:
https://wiki.documentfoundation.org/OpenGL#How_to_enable.2Fdisable_OpenGL

4. MANY iterations of deleting the user profile directory (it gets re-created
at next startup, and the program crashes) and purging the LibreOffice package
using apt and re-installing.

5. Manually setting the language didn't do anything:
$ libreoffice --calc --language=en 

I'd love help to fix this, and happy to share debug outputs if you show me how
to produce them.

Thanks!

Steps to Reproduce:
1. Try to open LibreOffice as a user, using the KDE menu or CLI, and it will
crash. For example on the CLI: libreoffice --calc

Actual Results:
LibreOffice shows up in the task bar, but then immediately crashes and is no
longer shown.

Expected Results:
LibreOffice opens.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
$ libreoffice --version
LibreOffice 6.4.4.2 40(Build:2)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200727/932627ac/attachment.htm>


More information about the Libreoffice-bugs mailing list