Bug 481362 - Okular crashes right after adding signature
Summary: Okular crashes right after adding signature
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 23.08.5
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-02-15 12:48 UTC by Erik Quaeghebeur
Modified: 2024-05-22 13:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2024-02-15 12:48:50 UTC
Application: okular (23.08.4)
 (Compiled from sources)
Qt Version: 5.15.12
Frameworks Version: 5.113.0
Operating System: Linux 6.6.13-gentoo-a x86_64
Windowing System: X11
Distribution: "Gentoo Linux"
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
I was signing a pdf form. Right after signing, Okular crashed. (The signed pdf was properly generated, though.) In all recent times I used Okular to sign a pdf, it did not crash. The only thing that was different now is that I had mistyped my smartcard pin code once.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault

[KCrash Handler]
#4  0x00007b225c7857d3 in Okular::Page::number (this=0x56d4feb285e0) at /var/tmp/portage/kde-apps/okular-23.08.4/work/okular-23.08.4/core/page.cpp:162
#5  0x00007b226ff86126 in SignaturePartUtils::signUnsignedSignature (form=0x56d4febece70, pageView=0x56d4fe1f7950, doc=0x56d4fe0608d0) at /var/tmp/portage/kde-apps/okular-23.08.4/work/okular-23.08.4/part/signaturepartutils.cpp:409
#6  0x00007b22818c6b64 in QtPrivate::QSlotObjectBase::call (a=0x7fff560a4ed0, r=0x56d4fecc7f40, this=0x56d4fecc7d90) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false> (sender=0x56d4fecc7f40, signal_index=9, argv=0x7fff560a4ed0) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qobject.cpp:3925
#8  0x00007b22818c0897 in QMetaObject::activate (sender=sender@entry=0x56d4fecc7f40, m=m@entry=0x7b2282896240 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff560a4ed0) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qobject.cpp:3985
#9  0x00007b228245b182 in QAbstractButton::clicked (this=this@entry=0x56d4fecc7f40, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#10 0x00007b228245b3da in QAbstractButtonPrivate::emitClicked (this=0x56d4fe12f520) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12/work/qtbase-everywhere-src-5.15.12/src/widgets/widgets/qabstractbutton.cpp:416
#11 0x00007b228245cf97 in QAbstractButtonPrivate::click (this=0x56d4fe12f520) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12/work/qtbase-everywhere-src-5.15.12/src/widgets/widgets/qabstractbutton.cpp:409
#12 0x00007b228245d1c3 in QAbstractButton::mouseReleaseEvent (this=0x56d4fecc7f40, e=0x7fff560a5480) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12/work/qtbase-everywhere-src-5.15.12/src/widgets/widgets/qabstractbutton.cpp:1045
#13 0x00007b22823a6fa8 in QWidget::event (this=0x56d4fecc7f40, event=0x7fff560a5480) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qwidget.cpp:9045
#14 0x00007b22823631ee in QApplicationPrivate::notify_helper (this=this@entry=0x56d4fdd026e0, receiver=receiver@entry=0x56d4fecc7f40, e=e@entry=0x7fff560a5480) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qapplication.cpp:3640
#15 0x00007b228236b8f2 in QApplication::notify (this=<optimized out>, receiver=0x56d4fecc7f40, e=0x7fff560a5480) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qapplication.cpp:3084
#16 0x00007b2281893a08 in QCoreApplication::notifyInternal2 (receiver=0x56d4fecc7f40, event=0x7fff560a5480) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qcoreapplication.cpp:1064
#17 0x00007b2281893c0e in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qcoreapplication.cpp:1474
#18 0x00007b2282369bf4 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x56d4fecc7f40, event=event@entry=0x7fff560a5480, alienWidget=<optimized out>, nativeWidget=0x56d4fde232d0, buttonDown=buttonDown@entry=0x7b22828bf9d0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qapplication.cpp:2622
#19 0x00007b22823c0553 in QWidgetWindow::handleMouseEvent (this=this@entry=0x56d4fe9627e0, event=event@entry=0x7fff560a5750) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qwidgetwindow.cpp:684
#20 0x00007b22823c396f in QWidgetWindow::event (this=0x56d4fe9627e0, event=0x7fff560a5750) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qwidgetwindow.cpp:300
#21 0x00007b22823631ee in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56d4fe9627e0, e=0x7fff560a5750) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qapplication.cpp:3640
#22 0x00007b2281893a08 in QCoreApplication::notifyInternal2 (receiver=0x56d4fe9627e0, event=0x7fff560a5750) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qcoreapplication.cpp:1064
#23 0x00007b2281893c0e in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qcoreapplication.cpp:1474
#24 0x00007b2281d2737b in QGuiApplicationPrivate::processMouseEvent (e=0x56d4feb1e5c0) at /var/tmp/portage/dev-qt/qtgui-5.15.12/work/qtbase-everywhere-src-5.15.12/src/gui/kernel/qguiapplication.cpp:2285
#25 0x00007b2281d05bdb in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at /var/tmp/portage/dev-qt/qtgui-5.15.12/work/qtbase-everywhere-src-5.15.12/src/gui/kernel/qwindowsysteminterface.cpp:1169
#26 0x00007b227d3c001a in xcbSourceDispatch (source=<optimized out>) at /var/tmp/portage/dev-qt/qtgui-5.15.12/work/qtbase-everywhere-src-5.15.12/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#27 0x00007b2280280d22 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007b2280283ed7 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007b22802844fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007b22818e55c6 in QEventDispatcherGlib::processEvents (this=0x56d4fddd8320, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#31 0x00007b228189242b in QEventLoop::exec (this=this@entry=0x7fff560a5ab0, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/include/QtCore/../../src/corelib/global/qflags.h:69
#32 0x00007b228189a72d in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtcore-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x00007b2281d1bb8c in QGuiApplication::exec () at /var/tmp/portage/dev-qt/qtgui-5.15.12/work/qtbase-everywhere-src-5.15.12/src/gui/kernel/qguiapplication.cpp:1870
#34 0x00007b2282363165 in QApplication::exec () at /var/tmp/portage/dev-qt/qtwidgets-5.15.12/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qapplication.cpp:2832
#35 0x000056d4fd303036 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/okular-23.08.4/work/okular-23.08.4/shell/main.cpp:109
[Inferior 1 (process 13246) detached]

The reporter indicates this bug may be a duplicate of or related to bug 475798.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2024-02-15 22:19:55 UTC
Can you share the pdf you signed (before signing it) or it contains private info?
Comment 2 Bug Janitor Service 2024-03-01 03:46:56 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 3 Erik Quaeghebeur 2024-03-06 09:05:30 UTC
(In reply to Albert Astals Cid from comment #1)
> Can you share the pdf you signed (before signing it) or it contains private
> info?
Sorry, it contains private info.
Comment 4 Erik Quaeghebeur 2024-05-22 13:10:35 UTC
Still present in 23.08.5