[Libreoffice-bugs] [Bug 127619] macOS -- LibreOffice crash within 40s after opening app when online update automatically enabled, or with check from the Extension manager -- https certificate issues

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 16 11:22:43 UTC 2020


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

--- Comment #41 from fxcoudert at gmail.com ---
TL,DR: if you're a user affected by this, and have Homebrew installed, you can
run `brew unlink nss` and it should go away. That is a work-around, and the
LibreOffice issue should still be fixed, of course.

-------

It appears not everyone can reproduce this, and I think I know why: it may be
related to the presence of Homebrew (https://brew.sh), and particularly
Homebrew's install of the nss package:
https://github.com/Homebrew/homebrew-core/issues/49058

The timing of this first bug report for this issue (2019-09-18) is shortly
after Homebrew modified the way it installs nss (committed by me on 2019-09-07:
https://github.com/Homebrew/homebrew-core/pull/43959). Before that date, we did
not install the nss shared libraries in /usr/local/opt; now, we do:

$ ls /usr/local/lib/*nss*.dylib
/usr/local/lib/libevent_openssl-2.1.7.dylib
/usr/local/lib/libnssckbi-testlib.dylib
/usr/local/lib/libnssutil3.dylib
/usr/local/lib/libevent_openssl.dylib
/usr/local/lib/libnssckbi.dylib
/usr/local/lib/libnss3.dylib
/usr/local/lib/libnssdbm3.dylib

Most of Homebrew's software gets its libraries installed in /usr/local/lib,
because it is useful for our users. The reason why nss previously was
blacklisted from this is that it caused a crash in some Firefox extensions:
https://bugzilla.mozilla.org/show_bug.cgi?id=1142646

I suspect that the issue is the same here: something in LibreOffice must be
loading one of the nss shared libraries, in a way that LibreOffice's own copy
is not loaded, but the /usr/local/lib version is loaded.

-------

To confirm that the bug is triggered by nss libraries in /usr/local/lib, I
opened LibreOffice with nss installed, then triggered an update check =>
LibreOffice crashed (I'd like to provide the logs, but I do not know where they
are).

Then, I ran `brew unlink nss` (which removes the nss libraries from
/usr/local/lib). Starting LibreOffice again, I can now run an update check, and
use the software with no crash.

-- 
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/20200116/3ca00038/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list