<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 - headless firstrun crashes (exit code 81)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107912">107912</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>headless firstrun crashes (exit code 81)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.3.3.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>duge@pre-sense.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=133375" name="attach_133375" title="strace on LibreOffice-5.3.3.2">attachment 133375</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=133375&action=edit" title="strace on LibreOffice-5.3.3.2">[details]</a></span>
strace on LibreOffice-5.3.3.2

OS: openSUSE 42.2 (x86_64)

Steps to reproduce:


1. delete ~/.config/libreoffice/ to get a firstrun


2. run one of the following commands (same result for all commands):

./soffice.bin --headless --nologo --nofirststartwizard
'--accept=socket,host=127.0.0.1,port=8100;urp;StarOffice.service'

./soffice.bin --headless



actual result:
./soffice.bin quits immediately, returning exit code 81 (echo $?).

expected result:
./soffice.bin should keep running until it gets a SIGINT or SIGTERM.




Sadly there was no futher information about the crash. Neither via
STDOUT/STDERR nor in ~/.config/libreoffice/4/crash/ (directory was totally
empty). The only thing I can offer is the attached strace output.

But I was able to narrow down the problem to:
~/.config/libreoffice/4/user/extensions/buildid
Deleting that file triggers the problem.

Problem was reproducible on different openSUSE 42.2 (x86_64) computers with:
-
<a href="https://downloadarchive.documentfoundation.org/libreoffice/old/5.3.3.2/rpm/x86_64/LibreOffice_5.3.3.2_Linux_x86-64_rpm.tar.gz">https://downloadarchive.documentfoundation.org/libreoffice/old/5.3.3.2/rpm/x86_64/LibreOffice_5.3.3.2_Linux_x86-64_rpm.tar.gz</a>
- openSUSE 42.2 LibreOffice:
<a href="http://download.opensuse.org/update/leap/42.2/oss/src/libreoffice-5.2.5.1-18.3.2.src.rpm">http://download.opensuse.org/update/leap/42.2/oss/src/libreoffice-5.2.5.1-18.3.2.src.rpm</a></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>