Bug 454782

Summary: Okular closes unexpectedly when I open a PDF
Product: [Applications] okular Reporter: dac_cis
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: aacid, yurchor
Priority: NOR    
Version: 22.04.1   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: PDF that closes okular

Description dac_cis 2022-06-03 05:25:36 UTC
Created attachment 149425 [details]
PDF that closes okular

SUMMARY

I have an specific PDF file that, every time I try to open in Okular, the application crash unexpectedly. If I call from the console, I get this message:

[code]terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string: construction from null is not valid
zsh: IOT instruction (core dumped)  okular 803_ENS-valoracion.pdf[/code]

This file is open without problems with evince and firefox. If I import this file with LibreOffice draw and print in PDF, then I am able to open it with okular..

The PDF can be found at: https://www.ccn-cert.cni.es/series-ccn-stic/800-guia-esquema-nacional-de-seguridad/682-ccn-stic-803-valoracion-de-sistemas-en-el-ens-1/file.html


STEPS TO REPRODUCE
1. open the pdf attached. Also can be found at the url reported
2. 
3. 

OBSERVED RESULT
Okular closes unexpectedly

EXPECTED RESULT
Show the PDF


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Yuri Chornoivan 2022-06-03 06:07:12 UTC
Does not crash here (Okular 22.07.70, poppler 20.12.1). Probably a problem with the digital signature.
Comment 2 Albert Astals Cid 2022-06-06 09:27:38 UTC
Poppler bug, will be fixed in the next release https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1211