https://bugs.kde.org/show_bug.cgi?id=481362

            Bug ID: 481362
           Summary: Okular crashes right after adding signature
    Classification: Applications
           Product: okular
           Version: 23.08.4
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel@kde.org
          Reporter: bugs.kde....@e3q.eu
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to