<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 - loolwsd degfaults on startup with libssl1.1"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114073">114073</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>loolwsd degfaults on startup with libssl1.1
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>rene@debian.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi,

Nov 26 20:47:02 sid systemd[1]: Started LibreOffice Online WebSocket Daemon.
-- Subject: Unit loolwsd.service has finished start-up
-- Defined-By: systemd
-- Support: <a href="https://www.debian.org/support">https://www.debian.org/support</a>
-- 
-- Unit loolwsd.service has finished starting up.
-- 
-- The start-up result is RESULT.
Nov 26 20:47:02 sid loolwsd[5162]: wsd-05162-05162 19:47:02.757881 [ loolwsd ]
SIG   Fatal signal received: SIGSEGV
Nov 26 20:47:02 sid loolwsd[5162]: Backtrace 5162:
Nov 26 20:47:02 sid loolwsd[5162]:
/usr/bin/loolwsd(_ZN7SigUtil13dumpBacktraceEv+0x64) [0x55b7782be074]
Nov 26 20:47:02 sid loolwsd[5162]: /usr/bin/loolwsd(+0x10e082) [0x55b7782bf082]
Nov 26 20:47:02 sid loolwsd[5162]:
/lib/x86_64-linux-gnu/libpthread.so.0(+0x123b0) [0x7f3f2464e3b0]
Nov 26 20:47:02 sid loolwsd[5162]:
/lib/x86_64-linux-gnu/libssl.so.1.1(SSL_CTX_set_options+0) [0x7f3f26eabfe0]
Nov 26 20:47:02 sid loolwsd[5162]:
/usr/bin/loolwsd(_ZN10SslContextC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_+0xb9)
[0x55b7782d41c9]
Nov 26 20:47:02 sid loolwsd[5162]:
/usr/bin/loolwsd(_ZN7LOOLWSD13initializeSSLEv+0x5d4) [0x55b7782358d4]
Nov 26 20:47:02 sid loolwsd[5162]:
/usr/bin/loolwsd(_ZN7LOOLWSD9innerMainEv+0x150) [0x55b77823e5d0]
Nov 26 20:47:02 sid loolwsd[5162]:
/usr/bin/loolwsd(_ZN7LOOLWSD4mainERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE+0x2a)
[0x55b7781e7faa]
Nov 26 20:47:02 sid loolwsd[5162]:
/lib/libPocoUtil.so.50(_ZN4Poco4Util11Application3runEv+0x31) [0x7f3f25e482a1]
Nov 26 20:47:02 sid loolwsd[5162]: /usr/bin/loolwsd(main+0x84) [0x55b7781e7a34]
Nov 26 20:47:02 sid loolwsd[5162]:
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f3f242b9561]
Nov 26 20:47:02 sid loolwsd[5162]: /usr/bin/loolwsd(_start+0x2a)
[0x55b7781e8aaa]
Nov 26 20:47:02 sid systemd[1]: loolwsd.service: Main process exited,
code=killed, status=11/SEGV
Nov 26 20:47:02 sid systemd[1]: loolwsd.service: Failed with result 'signal'.
Nov 26 20:47:02 sid systemd[1]: loolwsd.service: Service hold-off time over,
scheduling restart.
Nov 26 20:47:02 sid systemd[1]: loolwsd.service: Scheduled restart job, restart
counter is at 1.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: <a href="https://www.debian.org/support">https://www.debian.org/support</a>
-- 
-- Automatic restarting of the unit loolwsd.service has been scheduled, as the
result for
-- the configured Restart= setting for the unit.

etc.

I first thought it broke because there were no (valid) certificates but even
with a self-signed certificate it segfaults (not that it should segfault in the
first case anyways, but..)

This is a libreoffice-5.4.2.2 tag build against poco 1.8.0.1 and libssl 1.1. 

That is probably the culprit I would assume. Discussions on IRC reveal that it
works with poco 1.8.0.1 and libssl 1.0.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>