Description: Editing an ODT Writer document, saving, then exporting to PDF via the toolbar icon causes the app to crash systematically. Steps to Reproduce: 1. Open a Writer document 2. Make some changes, save them. 3. Try and export the document to PDF via the toolbar icon. 4. Crash, recovery dialog launched. 5. Error message displayed : Collabora Office doit malheureusement être redémarré manuellement après l'installation ou la mise à jour. Actual Results: Crash and recovery dialog. Expected Results: Should not crash. A PDF document should be produced and saved at the designated save destination. Reproducible: Always User Profile Reset: No Additional Info: Using Collabora Office Version : 6.4-17 Build ID : 6f0073b528f4b70b1f0c34714a289ca5cf9f61fc Threads CPU : 8; OS : Mac OS X 10.16; UI Render : par défaut; VCL: osx; Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR Calc: threaded
Could reproduce on an arm64 Mac, but not an x86_64 one, interestingly. No doubt caused by the stricter security features in macOS on arm64. (As a workaround, mark Collabora Office to be run using Rosetta, see screenshot.)
Created attachment 168226 [details] Screenshot
And can reproduce even using a non-sandboxed soffice process (on arm64), which makes it easier to debug.
Cherry-picking https://git.libreoffice.org/core/+/b23b0452dde6608b13d3fcb7feaff92bee019927 avoids the crash (but instead then makes the export to PDF fail, and to add insult to injury, it shows the unhelpful "Error. General Error. General input/output error" message. It is the call to NSS_NoDB_Init(nullptr) that fails. Will investigate.
Problem goes away (and the PDF export works) after three cherry-picks to the cp-6.4 branch: https://gerrit.libreoffice.org/c/core/+/107838 https://gerrit.libreoffice.org/c/core/+/107846 https://gerrit.libreoffice.org/c/core/+/107847
Collabora Office version 6.4-18 is now in the Mac App Store and fixes this problem.
Verified fixed with Version : 6.4-18 Build ID : 6d238c063abc0fd0d9657b616533f61567d8aab7 Threads CPU : 8; OS : Mac OS X 10.16; UI Render : par défaut; VCL: osx; Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR Calc: threaded