Created attachment 125718 [details] document which triggers this crash SUMMARY Okular 1.9.1 crashes when loading a document. STEPS TO REPRODUCE 1. Load the document 2. Okular crashes 3. OBSERVED RESULT Okular crashes EXPECTED RESULT Okular should not crash SOFTWARE/OS VERSIONS Operating System: Slackware-Current 64-bit KDE Plasma Version: 5.17.5 KDE Frameworks Version: 5.66.0 Qt Version: 5.13.2 Kernel Version: 5.4.18 OS Type: 64-bit Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz Memory: 15,5 GiB of RAM ADDITIONAL INFORMATION 1. The crash seem to be limited only to Okular. The file loads well with xpdf and atril. 2. Backtrace below: Application: Okular (okular), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7fdeceb247c0 (LWP 3934))] Thread 8 (Thread 0x7fdeabef6700 (LWP 3941)): #0 0x00007fded29ade9f in poll () from /lib64/libc.so.6 #1 0x00007fdecefc7cee in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007fdecefc7e0f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007fded30aa31b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #4 0x00007fded30558ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #5 0x00007fded2e8fc61 in QThread::exec() () from /usr/lib64/libQt5Core.so.5 #6 0x00007fded2e90ca3 in ?? () from /usr/lib64/libQt5Core.so.5 #7 0x00007fded229c06b in start_thread () from /lib64/libpthread.so.0 #8 0x00007fded29b972f in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7fdebca2d700 (LWP 3940)): #0 0x00007fded22a2966 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fdebe89b8fb in ?? () from /usr/lib64/xorg/modules/dri/i965_dri.so #2 0x00007fdebe89b567 in ?? () from /usr/lib64/xorg/modules/dri/i965_dri.so #3 0x00007fded229c06b in start_thread () from /lib64/libpthread.so.0 #4 0x00007fded29b972f in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7fdebd22e700 (LWP 3939)): #0 0x00007fded22a2966 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fdebe89b8fb in ?? () from /usr/lib64/xorg/modules/dri/i965_dri.so #2 0x00007fdebe89b567 in ?? () from /usr/lib64/xorg/modules/dri/i965_dri.so #3 0x00007fded229c06b in start_thread () from /lib64/libpthread.so.0 #4 0x00007fded29b972f in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7fdebda2f700 (LWP 3938)): #0 0x00007fded22a2966 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fdebe89b8fb in ?? () from /usr/lib64/xorg/modules/dri/i965_dri.so #2 0x00007fdebe89b567 in ?? () from /usr/lib64/xorg/modules/dri/i965_dri.so #3 0x00007fded229c06b in start_thread () from /lib64/libpthread.so.0 #4 0x00007fded29b972f in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7fdebe230700 (LWP 3937)): #0 0x00007fded22a2966 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fdebe89b8fb in ?? () from /usr/lib64/xorg/modules/dri/i965_dri.so #2 0x00007fdebe89b567 in ?? () from /usr/lib64/xorg/modules/dri/i965_dri.so #3 0x00007fded229c06b in start_thread () from /lib64/libpthread.so.0 #4 0x00007fded29b972f in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fdec7940700 (LWP 3936)): #0 0x00007fded29ade9f in poll () from /lib64/libc.so.6 #1 0x00007fdecefc7cee in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007fdecefc7e0f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007fded30aa31b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #4 0x00007fded30558ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #5 0x00007fded2e8fc61 in QThread::exec() () from /usr/lib64/libQt5Core.so.5 #6 0x00007fded32e6456 in ?? () from /usr/lib64/libQt5DBus.so.5 #7 0x00007fded2e90ca3 in ?? () from /usr/lib64/libQt5Core.so.5 #8 0x00007fded229c06b in start_thread () from /lib64/libpthread.so.0 #9 0x00007fded29b972f in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fdecddf5700 (LWP 3935)): #0 0x00007fded29ade9f in poll () from /lib64/libc.so.6 #1 0x00007fded16c3d17 in ?? () from /usr/lib64/libxcb.so.1 #2 0x00007fded16c580a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007fdece9b93c0 in ?? () from /usr/lib64/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5 #4 0x00007fded2e90ca3 in ?? () from /usr/lib64/libQt5Core.so.5 #5 0x00007fded229c06b in start_thread () from /lib64/libpthread.so.0 #6 0x00007fded29b972f in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fdeceb247c0 (LWP 3934)): [KCrash Handler] #6 0x00007fded2a1e3b1 in __strlen_avx2 () from /lib64/libc.so.6 #7 0x00007fded293d77f in strdup () from /lib64/libc.so.6 #8 0x00007fdeaaeb28ad in SignatureInfo::setSubjectDN(char const*) () from /usr/lib64/libpoppler.so.79 #9 0x00007fdeaae42524 in FormFieldSignature::validateSignature(bool, bool, long) () from /usr/lib64/libpoppler.so.79 #10 0x00007fdeab037ce5 in Poppler::FormFieldSignature::validate(int, QDateTime const&) const () from /usr/lib64/libpoppler-qt5.so.1 #11 0x00007fdeab038201 in Poppler::FormFieldSignature::validate(Poppler::FormFieldSignature::ValidateOptions) const () from /usr/lib64/libpoppler-qt5.so.1 #12 0x00007fdeab0e7783 in ?? () from /usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so #13 0x00007fdeab0e09dd in ?? () from /usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so #14 0x00007fdeab0e0c80 in ?? () from /usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so #15 0x00007fdeab0e0ff2 in ?? () from /usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so #16 0x00007fdeab0e120a in ?? () from /usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so #17 0x00007fdec647edf9 in ?? () from /usr/lib64/libOkular5Core.so.9 #18 0x00007fdec647f43c in Okular::Document::openDocument(QString const&, QUrl const&, QMimeType const&, QString const&) () from /usr/lib64/libOkular5Core.so.9 #19 0x00007fdec66176cb in Okular::Part::doOpenFile(QMimeType const&, QString const&, bool*) () from /usr/lib64/qt5/plugins/okularpart.so #20 0x00007fdec66180b1 in Okular::Part::openFile() () from /usr/lib64/qt5/plugins/okularpart.so #21 0x00007fded4bfa0ed in ?? () from /usr/lib64/libKF5Parts.so.5 #22 0x00007fded4bfaf6e in KParts::ReadOnlyPart::openUrl(QUrl const&) () from /usr/lib64/libKF5Parts.so.5 #23 0x00007fdec660882e in Okular::Part::openUrl(QUrl const&, bool) () from /usr/lib64/qt5/plugins/okularpart.so #24 0x000000000041456b in ?? () #25 0x0000000000415e70 in ?? () #26 0x000000000040e2cd in ?? () #27 0x000000000040e41c in ?? () #28 0x00007fded308077d in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #29 0x00007fded3ae16e2 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5 #30 0x00007fded3ae3b92 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQt5Widgets.so.5 #31 0x00007fded3c5b002 in ?? () from /usr/lib64/libQt5Widgets.so.5 #32 0x00007fded3c621ea in ?? () from /usr/lib64/libQt5Widgets.so.5 #33 0x00007fded3c631b2 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5 #34 0x00007fded3b271c6 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #35 0x00007fded3c656cb in QMenu::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #36 0x00007fded3ae75f2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #37 0x00007fded3af0808 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #38 0x00007fded3056be2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #39 0x00007fded3aefa80 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib64/libQt5Widgets.so.5 #40 0x00007fded3b42b50 in ?? () from /usr/lib64/libQt5Widgets.so.5 #41 0x00007fded3b4500c in ?? () from /usr/lib64/libQt5Widgets.so.5 #42 0x00007fded3ae75f2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #43 0x00007fded3af06a0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #44 0x00007fded3056be2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #45 0x00007fded34869f3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5 #46 0x00007fded34881a2 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5 #47 0x00007fded346458b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5 #48 0x00007fdece9ba2ba in ?? () from /usr/lib64/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5 #49 0x00007fdecefc7b2d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #50 0x00007fdecefc7d80 in ?? () from /usr/lib64/libglib-2.0.so.0 #51 0x00007fdecefc7e0f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #52 0x00007fded30aa301 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #53 0x00007fded30558ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #54 0x00007fded305d07e in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5 #55 0x000000000040c9bf in ?? () #56 0x00007fded28c6e5b in __libc_start_main () from /lib64/libc.so.6 #57 0x000000000040dfda in ?? () [Inferior 1 (process 3934) detached]
Please update your poppler. *** This bug has been marked as a duplicate of bug 407338 ***
Patch for poppler btw. https://gitlab.freedesktop.org/poppler/poppler/commit/eaeac5c7dba6f53acef3f0be6b226facecfc5f28.diff
Ok, if poppler is the culprit, why xpdf, atril and even the PDF component of claws-mail do not crash? Why is just okular the one crashing?? Something does not add-up, honestly. Not reopening but I request you to reconsider.
(In reply to sombragris from comment #3) > Ok, if poppler is the culprit, why xpdf, atril and even the PDF component of > claws-mail do not crash? Why is just okular the one crashing?? > > Something does not add-up, honestly. > > Not reopening but I request you to reconsider. Because they do not try to handle its digital signature, as well as Evince, qpdfviewer, etc. Okular 1.9.1 does.