Bug 421857 - Okular crash when verifing digital signature
Summary: Okular crash when verifing digital signature
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-05-21 10:11 UTC by José Ángel Martínez
Modified: 2020-06-24 04:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description José Ángel Martínez 2020-05-21 10:11:43 UTC
Application: okular (1.10.0)

Qt Version: 5.14.2
Frameworks Version: 5.70.0
Operating System: Linux 5.3.0-53-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.18

-- Information about the crash:
- What I was doing when the application crashed:
I was trying to verify a digital signature in a pdf document. When trying to export a digital cert okular crashed

-- Backtrace:
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 0x7f9e9b0f9800 (LWP 8971))]

Thread 3 (Thread 0x7f9e67f01700 (LWP 16375)):
#0  0x00007f9e96c480b4 in __GI___libc_read (fd=21, buf=0x7f9e67f00bde, nbytes=10) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f9e7cd1b021 in pa_read () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#2  0x00007f9e7d939a2e in pa_mainloop_prepare () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f9e7d93a4a0 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f9e7d93a560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f9e7d9483c9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f9e7cd4a318 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#7  0x00007f9e93a006db in start_thread (arg=0x7f9e67f01700) at pthread_create.c:463
#8  0x00007f9e96c5988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f9e807a1700 (LWP 8973)):
#0  0x00007f9e96c4cbf9 in __GI___poll (fds=0x7f9e78013f40, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9e914495c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9e914496dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9e975b37cb in QEventDispatcherGlib::processEvents (this=0x7f9e78000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f9e97552d2a in QEventLoop::exec (this=this@entry=0x7f9e807a0d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f9e97363757 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#6  0x00007f9e97a40555 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f9e97364c2c in QThreadPrivate::start (arg=0x7f9e97cb8da0) at thread/qthread_unix.cpp:342
#8  0x00007f9e93a006db in start_thread (arg=0x7f9e807a1700) at pthread_create.c:463
#9  0x00007f9e96c5988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f9e9b0f9800 (LWP 8971)):
[KCrash Handler]
#4  QArrayData::data (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:61
#5  QTypedArrayData<unsigned short>::data (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:208
#6  QString::data (this=<optimized out>) at ../../include/QtCore/../../src/corelib/text/qstring.h:1039
#7  qToStringViewIgnoringNull<QString, true> (s=...) at ../../include/QtCore/../../src/corelib/text/qstringview.h:335
#8  QString::arg (this=0x7fffa7ec5728, a=..., fieldWidth=0, fillChar=...) at text/qstring.cpp:8309
#9  0x00007f9e7eedf230 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#10 0x00007f9e7eef2dc7 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#11 0x00007f9e9758f6d7 in QtPrivate::QSlotObjectBase::call (a=0x7fffa7ec5930, r=0x7fffa7ec6720, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#12 doActivate<false> (sender=0x563cdf3e4860, signal_index=9, argv=0x7fffa7ec5930) at kernel/qobject.cpp:3870
#13 0x00007f9e97589f92 in QMetaObject::activate (sender=sender@entry=0x563cdf3e4860, m=m@entry=0x7f9e98dba6e0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffa7ec5930) at kernel/qobject.cpp:3930
#14 0x00007f9e987bf702 in QAbstractButton::clicked (this=this@entry=0x563cdf3e4860, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:313
#15 0x00007f9e987bf91a in QAbstractButtonPrivate::emitClicked (this=0x563cdf3c6780) at widgets/qabstractbutton.cpp:415
#16 0x00007f9e987c0cfa in QAbstractButtonPrivate::click (this=0x563cdf3c6780) at widgets/qabstractbutton.cpp:408
#17 0x00007f9e987c0eed in QAbstractButton::mouseReleaseEvent (this=0x563cdf3e4860, e=0x7fffa7ec5e90) at widgets/qabstractbutton.cpp:1012
#18 0x00007f9e987148c8 in QWidget::event (this=0x563cdf3e4860, event=0x7fffa7ec5e90) at kernel/qwidget.cpp:9033
#19 0x00007f9e986d39ac in QApplicationPrivate::notify_helper (this=this@entry=0x563cde6ffbb0, receiver=receiver@entry=0x563cdf3e4860, e=e@entry=0x7fffa7ec5e90) at kernel/qapplication.cpp:3685
#20 0x00007f9e986db9f8 in QApplication::notify (this=<optimized out>, receiver=0x563cdf3e4860, e=0x7fffa7ec5e90) at kernel/qapplication.cpp:3129
#21 0x00007f9e975544a8 in QCoreApplication::notifyInternal2 (receiver=0x563cdf3e4860, event=0x7fffa7ec5e90) at kernel/qcoreapplication.cpp:1075
#22 0x00007f9e9755468e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x563cdf3e4860, event=event@entry=0x7fffa7ec5e90) at kernel/qcoreapplication.cpp:1482
#23 0x00007f9e986da07f in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x563cdf3e4860, event=event@entry=0x7fffa7ec5e90, alienWidget=0x563cdf3e4860, nativeWidget=0x7fffa7ec6720, buttonDown=buttonDown@entry=0x7f9e98de49a0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2615
#24 0x00007f9e9872ef81 in QWidgetWindow::handleMouseEvent (this=this@entry=0x563cdf3fe1b0, event=event@entry=0x7fffa7ec6310) at kernel/qwidgetwindow.cpp:673
#25 0x00007f9e98731dea in QWidgetWindow::event (this=0x563cdf3fe1b0, event=0x7fffa7ec6310) at kernel/qwidgetwindow.cpp:295
#26 0x00007f9e986d39ac in QApplicationPrivate::notify_helper (this=this@entry=0x563cde6ffbb0, receiver=receiver@entry=0x563cdf3fe1b0, e=e@entry=0x7fffa7ec6310) at kernel/qapplication.cpp:3685
#27 0x00007f9e986dabb0 in QApplication::notify (this=0x7fffa7ec7720, receiver=0x563cdf3fe1b0, e=0x7fffa7ec6310) at kernel/qapplication.cpp:3431
#28 0x00007f9e975544a8 in QCoreApplication::notifyInternal2 (receiver=0x563cdf3fe1b0, event=0x7fffa7ec6310) at kernel/qcoreapplication.cpp:1075
#29 0x00007f9e9755468e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x563cdf3fe1b0, event=event@entry=0x7fffa7ec6310) at kernel/qcoreapplication.cpp:1482
#30 0x00007f9e97de18b5 in QGuiApplicationPrivate::processMouseEvent (e=0x563cdf35c0d0) at kernel/qguiapplication.cpp:2203
#31 0x00007f9e97de29e5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x563cdf35c0d0) at kernel/qguiapplication.cpp:1935
#32 0x00007f9e97dbb1cb in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1170
#33 0x00007f9e8c7e5f9a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#34 0x00007f9e91449417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f9e91449650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f9e914496dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f9e975b37ac in QEventDispatcherGlib::processEvents (this=0x563cde76be70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007f9e97552d2a in QEventLoop::exec (this=this@entry=0x7fffa7ec66b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#39 0x00007f9e988cca37 in QDialog::exec (this=0x7fffa7ec6720) at dialogs/qdialog.cpp:601
#40 0x00007f9e7ee7cc0a in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#41 0x00007f9e9758f6d7 in QtPrivate::QSlotObjectBase::call (a=0x7fffa7ec6870, r=0x563cded652a0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#42 doActivate<false> (sender=0x563cded652a0, signal_index=9, argv=0x7fffa7ec6870) at kernel/qobject.cpp:3870
#43 0x00007f9e97589f92 in QMetaObject::activate (sender=sender@entry=0x563cded652a0, m=m@entry=0x7f9e98dba6e0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffa7ec6870) at kernel/qobject.cpp:3930
#44 0x00007f9e987bf702 in QAbstractButton::clicked (this=this@entry=0x563cded652a0, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:313
#45 0x00007f9e987bf91a in QAbstractButtonPrivate::emitClicked (this=0x563cdee1f430) at widgets/qabstractbutton.cpp:415
#46 0x00007f9e987c0cfa in QAbstractButtonPrivate::click (this=0x563cdee1f430) at widgets/qabstractbutton.cpp:408
#47 0x00007f9e987c0eed in QAbstractButton::mouseReleaseEvent (this=0x563cded652a0, e=0x7fffa7ec6e20) at widgets/qabstractbutton.cpp:1012
#48 0x00007f9e7ee841f9 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#49 0x00007f9e987148c8 in QWidget::event (this=0x563cded652a0, event=0x7fffa7ec6e20) at kernel/qwidget.cpp:9033
#50 0x00007f9e986d39ac in QApplicationPrivate::notify_helper (this=this@entry=0x563cde6ffbb0, receiver=receiver@entry=0x563cded652a0, e=e@entry=0x7fffa7ec6e20) at kernel/qapplication.cpp:3685
#51 0x00007f9e986db9f8 in QApplication::notify (this=<optimized out>, receiver=0x563cded652a0, e=0x7fffa7ec6e20) at kernel/qapplication.cpp:3129
#52 0x00007f9e975544a8 in QCoreApplication::notifyInternal2 (receiver=0x563cded652a0, event=0x7fffa7ec6e20) at kernel/qcoreapplication.cpp:1075
#53 0x00007f9e9755468e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x563cded652a0, event=event@entry=0x7fffa7ec6e20) at kernel/qcoreapplication.cpp:1482
#54 0x00007f9e986da07f in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x563cded652a0, event=event@entry=0x7fffa7ec6e20, alienWidget=0x563cded652a0, nativeWidget=0x563cde7fae00, buttonDown=buttonDown@entry=0x7f9e98de49a0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2615
#55 0x00007f9e9872ef81 in QWidgetWindow::handleMouseEvent (this=this@entry=0x563cdeb31fc0, event=event@entry=0x7fffa7ec72a0) at kernel/qwidgetwindow.cpp:673
#56 0x00007f9e98731dea in QWidgetWindow::event (this=0x563cdeb31fc0, event=0x7fffa7ec72a0) at kernel/qwidgetwindow.cpp:295
#57 0x00007f9e986d39ac in QApplicationPrivate::notify_helper (this=this@entry=0x563cde6ffbb0, receiver=receiver@entry=0x563cdeb31fc0, e=e@entry=0x7fffa7ec72a0) at kernel/qapplication.cpp:3685
#58 0x00007f9e986dabb0 in QApplication::notify (this=0x7fffa7ec7720, receiver=0x563cdeb31fc0, e=0x7fffa7ec72a0) at kernel/qapplication.cpp:3431
#59 0x00007f9e975544a8 in QCoreApplication::notifyInternal2 (receiver=0x563cdeb31fc0, event=0x7fffa7ec72a0) at kernel/qcoreapplication.cpp:1075
#60 0x00007f9e9755468e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x563cdeb31fc0, event=event@entry=0x7fffa7ec72a0) at kernel/qcoreapplication.cpp:1482
#61 0x00007f9e97de18b5 in QGuiApplicationPrivate::processMouseEvent (e=0x563cdf44fb60) at kernel/qguiapplication.cpp:2203
#62 0x00007f9e97de29e5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x563cdf44fb60) at kernel/qguiapplication.cpp:1935
#63 0x00007f9e97dbb1cb in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1170
#64 0x00007f9e8c7e5f9a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#65 0x00007f9e91449417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007f9e91449650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007f9e914496dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007f9e975b37ac in QEventDispatcherGlib::processEvents (this=0x563cde76be70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#69 0x00007f9e97552d2a in QEventLoop::exec (this=this@entry=0x7fffa7ec7640, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#70 0x00007f9e9755c4a0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1383
#71 0x0000563cdccddc37 in ?? ()
#72 0x00007f9e96b59b97 in __libc_start_main (main=0x563cdccdd520, argc=2, argv=0x7fffa7ec7858, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa7ec7848) at ../csu/libc-start.c:310
#73 0x0000563cdccde98a in ?? ()

Possible duplicates by query: bug 418026, bug 414229, bug 413708, bug 413385, bug 409403.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2020-05-21 21:24:58 UTC
Which poppler version are you running?

Would you be able to share the file?

Could you instlal okular debug packages and get a crash backtrace with less ?? in it?
Comment 2 José Ángel Martínez 2020-05-25 16:05:44 UTC
I am running poppler-data 0.4.8-2 y poppler-utils 0.77
Sorry, I cannot attach the file because it is a confidential document from my company.
Comment 3 Albert Astals Cid 2020-05-25 21:01:27 UTC
What about installing the okular debug packages and getting us a nicer crash backtrace?
Comment 4 Bug Janitor Service 2020-06-09 04:33:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2020-06-24 04:33:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!