Okular's "Digitally sign" with certificate always leads to segfault
I have been asked by the Archlinux package maintainers to post the following bug report[1] upstream.
When using the "Digitally sign" feature in Okular to add a (certificate-based) signature, it will let me select the position by mouse, the certificate in a drop-down dialog, and where to write the signed file, but then segfaults without writing out the file (only a 0-byte okular_*.pdf tmp file is written).
I'm happy to test with any ideas you might have, potentially also using the okular-git
and poppler-qt5-git
packages in AUR if that would help anything.
Additional info:
- Versions: Okular 22.04.3, Poppler 22.07.
- It used to work in Okular21.12.3/Poppler22.03, and is only broken since I updated to Okular22.04.1/Poppler22.06
- I am attaching the coredump, but don't know if that's very helpful.
- I have reproduced the problem with a vanilla user account to exclude any stray user settings. Same segfault.
- I have tried to reproduce the same with a fresh Manjaro installation in a VM with Okular 22.04.2, but there it works fine. So I'm confused why it segfaults in my Archlinux installation.
Steps to reproduce:
- Open test file with Okular, e.g. https://fsiegert.web.cern.ch/tmp/test.pdf
- Tools -> Digitally sign
- Select position, certificate, and filename
- Okular segfaults after clicking "Save".