<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - LibreOffice crashes on startup, but not as sudo"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=135180">135180</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LibreOffice crashes on startup, but not as sudo
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.4.4.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>documentfoundation@pierrefar.com
</td>
</tr></table>
<p>
<div>
<pre>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:
<a href="https://wiki.documentfoundation.org/OpenGL#How_to_enable.2Fdisable_OpenGL">https://wiki.documentfoundation.org/OpenGL#How_to_enable.2Fdisable_OpenGL</a>
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)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>