Bug 484557

Summary: crash digitally signing a document
Product: [Applications] okular Reporter: Gilberto Diaz <gilberto.diaz>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED WORKSFORME    
Severity: crash CC: aacid
Priority: NOR Keywords: drkonqi
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gilberto Diaz 2024-03-26 22:04:48 UTC
Application: okular (22.12.3)

Qt Version: 5.15.9
Frameworks Version: 5.108.0
Operating System: Linux 5.14.0-362.24.1.el9_3.x86_64 x86_64
Windowing System: X11
Distribution: Rocky Linux 9.3 (Blue Onyx)
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
When I try to sing a pdf using a digital certificate and save the signed version, okular crash

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00007efe370af91e in free () from /lib64/libc.so.6
#5  0x00007efdf3d67ecc in FormWidgetSignature::signDocument(char const*, char const*, char const*, char const*, char const*) () from /lib64/libpoppler.so.106
#6  0x00007efdf82d9127 in Poppler::PDFConverter::sign(Poppler::PDFConverter::NewSignatureData const&) () from /lib64/libpoppler-qt5.so.1
#7  0x00007efdf83336ca in PDFGenerator::sign(Okular::NewSignatureData const&, QString const&) () from /usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so
#8  0x00007efe10b41687 in PageViewAnnotator::performRouteMouseOrTabletEvent(AnnotatorEngine::EventType, AnnotatorEngine::Button, AnnotatorEngine::Modifiers, QPointF, PageViewItem*) () from /usr/lib64/qt5/plugins/okularpart.so
#9  0x00007efe387f282e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#10 0x00007efe388a08f2 in QFrame::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#11 0x00007efe37aa774d in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#12 0x00007efe387af522 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#13 0x00007efe387b7174 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#14 0x00007efe37aa7998 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#15 0x00007efe387b5c57 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#16 0x00007efe3880be1b in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007efe3880f175 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007efe387af533 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007efe37aa7998 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#20 0x00007efe37f6ad28 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#21 0x00007efe37f49dcc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#22 0x00007efe2611644e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#23 0x00007efe363c8e2f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#24 0x00007efe3641e108 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#25 0x00007efe363c65f3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#26 0x00007efe37af9818 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#27 0x00007efe37aa63a2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#28 0x00007efe37aae8d4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#29 0x0000557d07906ae8 in main ()
[Inferior 1 (process 352652) detached]

Reported using DrKonqi
Comment 1 Albert Astals Cid 2024-06-16 23:01:29 UTC
Can you try with a newer version? If fedora doesn't provide it, try flathub https://flathub.org/apps/org.kde.okular
Comment 2 Bug Janitor Service 2024-07-01 03:47:13 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 Bug Janitor Service 2024-07-16 03:46:35 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!