exporting to PDF fails on MacOS with recent NSS

Xisco Fauli xiscofauli at libreoffice.org
Tue Mar 4 20:21:27 UTC 2025


Hello,

Upgrading to NSS 3.109 from 3.102 
<https://gerrit.libreoffice.org/c/core/+/181773> I realize that with 
recent versions of NSS ( 3.103 or greater ), all tests exporting to PDF 
like CppunitTest_vcl_pdfexport, CppunitTest_sc_pdf_export or 
CppunitTest_filter_pdf fail on MacOS because they hit the assert in 
https://github.com/nss-dev/nss/blob/master/lib/cryptohi/sechash.c#L140, 
See 
https://ci.libreoffice.org/job/gerrit_mac/184575/consoleFull#-2048750442d893063f-7f3d-4b7e-b56f-4e0f225817cd, 
however, the issue is not reproduced on Linux.

Just as a test, if I remove the assert 
<https://gerrit.libreoffice.org/c/core/+/181773/7/external/nss/assert.patch.1> 
then everything works fine.

Anyone has any idea why this issue is reproducible on MacOS and not on 
Linux? Is it an issue on our side or on NSS' side ?

Thanks in advance

-- 
Xisco Faulí
LibreOffice QA Team
IRC: x1sc0



More information about the LibreOffice mailing list