Bug 409283

Summary: Okular crashes with certain pdf
Product: [Applications] okular Reporter: kde
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, yurchor
Priority: NOR    
Version: 1.7.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: backtrace

Description kde 2019-06-28 16:32:56 UTC
Created attachment 121207 [details]
backtrace

Okular crashes with a segfault when opening a certain pdf.

Attached the backtrace.

It's a bill so I can't attach the pdf itself.

Operating System: openSUSE Tumbleweed 20190623
KDE Plasma Version: 5.16.1
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.3
Kernel Version: 5.1.7-1-default
OS Type: 64-bit
Processors: 12 × AMD Ryzen 5 2600X Six-Core Processor
Memory: 31,4 GiB
Comment 1 Yuri Chornoivan 2019-06-28 17:00:45 UTC
Can you try

pdfsig your_file.pdf

?

This looks very similar to bug #407338.

Thanks in advance for your answer.
Comment 2 kde 2019-06-28 23:04:53 UTC
Digital Signature Info of: xxxxx.pdf
Internal Error (0): Input couldn't be parsed as a CMS signature
Segmentation fault (core dumped)
Comment 3 Yuri Chornoivan 2019-06-29 04:44:13 UTC
Definitely, an upstream problem but some other thoughts needed.
Comment 4 Nate Graham 2019-06-30 14:20:12 UTC
Well it's already been fixed in Poppler: https://gitlab.freedesktop.org/poppler/poppler/issues/766

So I guess people just need to bug their non-rolling-release distros to backport the fix.

*** This bug has been marked as a duplicate of bug 407338 ***