Bug 454782 - Okular closes unexpectedly when I open a PDF
Summary: Okular closes unexpectedly when I open a PDF
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 22.04.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-03 05:25 UTC by dac_cis
Modified: 2022-06-06 09:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
PDF that closes okular (1.10 MB, application/pdf)
2022-06-03 05:25 UTC, dac_cis
Details

Note You need to log in before you can comment on or make changes to this bug.
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