Bug 407903

Summary: Okular Crashes when try to open a specific pdf file
Product: [Applications] okular Reporter: Alfeno Rodrigues <alfeno>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aacid, nate
Priority: NOR    
Version: 1.7.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: pdf file that makes okular crashed
backtraces segmation faulf of okular.

Description Alfeno Rodrigues 2019-05-24 12:51:18 UTC
Created attachment 120286 [details]
pdf file that makes okular crashed

SUMMARY

Every time when I tried to open a specific pdf file (attached in this issue) okular crashed. But others pdf viewer, open this pdf files without issue, like: Foxit reader for linux.


STEPS TO REPRODUCE
1. open pdf file attached in this issue. 
2. After that okular crashed.
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 

KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION

Obs: I attached debug file of Segmentation fault

Processor 4x Intel i7-5500U CPU @2.4Ghz
Memory 7,7 Gbi of RAM
Linux kde 4.15.0-50-generic #54-Ubuntu SMP Mon May 6 18:46:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Comment 1 Alfeno Rodrigues 2019-05-24 12:54:51 UTC
Created attachment 120287 [details]
backtraces segmation faulf of okular.

backtraces segmation faulf of okular for debug this issue.
Comment 2 Nate Graham 2019-05-24 21:08:49 UTC
Crashing in signature stuff:

Thread 1 (Thread 0x7f4221396200 (LWP 7021)):
[KCrash Handler]
#6  SECMOD_ReferenceModule (module=0x0) at pk11util.c:847
#7  0x00007f41f5493c8c in SECMOD_AddModule (newModule=0x562e3ed8bd60) at pk11util.c:541
#8  0x00007f41f5493d30 in SECMOD_AddNewModuleEx (moduleName=0x7f41f599e08d "Root Certs", dllPath=0x7f41f599e07f "libnssckbi.so", defaultMechanismFlags=0, cipherEnableFlags=0, modparms=<optimized out>, nssparms=<optimized out>) at pk11util.c:695
#9  0x00007f41f594c8fe in SignatureHandler::init_nss() () from /usr/lib/x86_64-linux-gnu/libpoppler.so.73
#10 0x00007f41f594cc99 in SignatureHandler::SignatureHandler(unsigned char*, int) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.73
#11 0x00007f41f586ec25 in FormFieldSignature::validateSignature(bool, bool, long) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.73
#12 0x00007f41f5c5dd55 in Poppler::FormFieldSignature::validate(int, QDateTime const&) const () from /usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
#13 0x00007f41f5c5e19f in Poppler::FormFieldSignature::validate(Poppler::FormFieldSignature::ValidateOptions) const () from /usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
#14 0x00007f41f5eac240 in PopplerFormFieldSignature::PopplerFormFieldSignature (this=0x562e3ed2cdc0, field=0x562e3ed26920) at ./generators/poppler/formfields.cpp:387
Comment 3 Albert Astals Cid 2019-05-24 22:02:27 UTC
yes, people need to stop using old crap
Comment 4 Nate Graham 2019-05-24 22:03:41 UTC
Is this fixed in a newer version of Okular or Popper?
Comment 5 Albert Astals Cid 2019-05-24 22:05:24 UTC

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