[okular] [Bug 407369] New: Okular crashes when opening a digitally signed pdf file.
fredhoud
bugzilla_noreply at kde.org
Thu May 9 19:29:07 BST 2019
https://bugs.kde.org/show_bug.cgi?id=407369
Bug ID: 407369
Summary: Okular crashes when opening a digitally signed pdf
file.
Product: okular
Version: 1.7.0
Platform: Neon Packages
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: general
Assignee: okular-devel at kde.org
Reporter: fred_insurance at yahoo.com
Target Milestone: ---
SUMMARY
STEPS TO REPRODUCE
1. Opening a PDF file that is signed digitally
2. Crashes
3.
OBSERVED RESULT
EXPECTED RESULT
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.15.5
(available in About System)
KDE Plasma Version: 5.57.0
KDE Frameworks Version: 5.12
Qt Version:
ADDITIONAL INFORMATION
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7facbb8fd200 (LWP 1584))]
Thread 5 (Thread 0x7fac8be17700 (LWP 1588)):
#0 0x00007facb43139f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e028a296b8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e028a29668,
cond=0x55e028a29690) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e028a29690, mutex=0x55e028a29668) at
pthread_cond_wait.c:655
#3 0x00007fac916fce6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4 0x00007fac916fcb97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5 0x00007facb430d6db in start_thread (arg=0x7fac8be17700) at
pthread_create.c:463
#6 0x00007facb757788f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 4 (Thread 0x7fac8c618700 (LWP 1587)):
#0 0x00007facb43139f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e028c4758c) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e028c47538,
cond=0x55e028c47560) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e028c47560, mutex=0x55e028c47538) at
pthread_cond_wait.c:655
#3 0x00007fac916fce6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4 0x00007fac916fcb97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5 0x00007facb430d6db in start_thread (arg=0x7fac8c618700) at
pthread_create.c:463
#6 0x00007facb757788f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 3 (Thread 0x7faca26c5700 (LWP 1586)):
#0 0x00007facb756abf9 in __GI___poll (fds=0x7fac9c004db0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007facb1fdb5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007facb1fdb6dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007facb7ead15b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007facb7e4e64a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007facb7c7641a in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007facb831b015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7 0x00007facb7c77bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8 0x00007facb430d6db in start_thread (arg=0x7faca26c5700) at
pthread_create.c:463
#9 0x00007facb757788f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7facab4b2700 (LWP 1585)):
#0 0x00007facb756abf9 in __GI___poll (fds=0x7facab4b1cb8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007facb4d90747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2 0x00007facb4d9236a in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3 0x00007facaca2d32a in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4 0x00007facb7c77bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007facb430d6db in start_thread (arg=0x7facab4b2700) at
pthread_create.c:463
#6 0x00007facb757788f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7facbb8fd200 (LWP 1584)):
[KCrash Handler]
#6 SECMOD_ReferenceModule (module=0x0) at pk11util.c:847
#7 0x00007fac8a9f0c8c in SECMOD_AddModule (newModule=0x55e028e601e0) at
pk11util.c:541
#8 0x00007fac8a9f0d30 in SECMOD_AddNewModuleEx (moduleName=0x7fac8aefb08d
"Root Certs", dllPath=0x7fac8aefb07f "libnssckbi.so", defaultMechanismFlags=0,
cipherEnableFlags=0, modparms=<optimized out>, nssparms=<optimized out>) at
pk11util.c:695
#9 0x00007fac8aea98fe in SignatureHandler::init_nss() () from
/usr/lib/x86_64-linux-gnu/libpoppler.so.73
#10 0x00007fac8aea9c99 in SignatureHandler::SignatureHandler(unsigned char*,
int) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.73
#11 0x00007fac8adcbc25 in FormFieldSignature::validateSignature(bool, bool,
long) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.73
#12 0x00007fac8b1bad55 in Poppler::FormFieldSignature::validate(int, QDateTime
const&) const () from /usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
#13 0x00007fac8b1bb19f in
Poppler::FormFieldSignature::validate(Poppler::FormFieldSignature::ValidateOptions)
const () from /usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1
#14 0x00007fac8b409240 in PopplerFormFieldSignature::PopplerFormFieldSignature
(this=0x55e028e0a820, field=0x55e028dee880) at
./generators/poppler/formfields.cpp:387
#15 0x00007fac8b403626 in PDFGenerator::addFormFields
(this=this at entry=0x55e028da9a90, popplerPage=popplerPage at entry=0x55e028dee060,
page=page at entry=0x55e028dee3c0) at ./generators/poppler/generator_pdf.cpp:1978
#16 0x00007fac8b403ade in PDFGenerator::loadPages
(this=this at entry=0x55e028da9a90, pagesVector=..., rotation=rotation at entry=0,
clear=clear at entry=false) at ./generators/poppler/generator_pdf.cpp:787
#17 0x00007fac8b403edf in PDFGenerator::init (this=this at entry=0x55e028da9a90,
pagesVector=..., password=...) at ./generators/poppler/generator_pdf.cpp:683
#18 0x00007fac8b40408a in PDFGenerator::loadDocumentWithPassword
(this=0x55e028da9a90, filePath=..., pagesVector=..., password=...) at
./generators/poppler/generator_pdf.cpp:638
#19 0x00007faca0c5005a in Okular::DocumentPrivate::openDocumentInternal
(this=0x55e028777e10, offer=..., isstdin=isstdin at entry=false, docFile=...,
filedata=..., password=...) at ./core/document.cpp:875
#20 0x00007faca0c506fd in Okular::Document::openDocument
(this=this at entry=0x55e028885170, docFile=..., url=..., _mime=..., password=...)
at ./core/document.cpp:2443
#21 0x00007faca0f7d6db in Okular::Part::doOpenFile
(this=this at entry=0x55e0288703f0, mimeA=..., fileNameToOpenA=...,
isCompressedFile=isCompressedFile at entry=0x7ffc800cb117) at ./part.cpp:1415
#22 0x00007faca0f7dd27 in Okular::Part::openFile (this=0x55e0288703f0) at
./part.cpp:1549
#23 0x00007facbb4d6a56 in KParts::ReadOnlyPartPrivate::openLocalFile
(this=this at entry=0x55e028846110) at ./src/readonlypart.cpp:190
#24 0x00007facbb4d78e1 in KParts::ReadOnlyPart::openUrl
(this=this at entry=0x55e0288703f0, url=...) at ./src/readonlypart.cpp:153
#25 0x00007faca0f6fe06 in Okular::Part::openUrl (this=0x55e0288703f0, _url=...,
swapInsteadOfOpening=<optimized out>) at ./part.cpp:1755
#26 0x000055e0274aeae2 in Shell::openUrl (this=this at entry=0x55e02884c800,
url=..., serializedOptions=...) at ./shell/shell.cpp:280
#27 0x000055e0274aed72 in Shell::openDocument (this=this at entry=0x55e02884c800,
url=..., serializedOptions=...) at ./shell/shell.cpp:221
#28 0x000055e0274aee16 in Shell::openDocument (this=this at entry=0x55e02884c800,
url=..., serializedOptions=...) at ./shell/shell.cpp:208
#29 0x000055e0274a8306 in Okular::main (paths=..., serializedOptions=...) at
./shell/okular_main.cpp:176
#30 0x000055e0274a7955 in main (argc=<optimized out>, argv=<optimized out>) at
./shell/main.cpp:74
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list