https://bugs.kde.org/show_bug.cgi?id=435626
Bug ID: 435626 Summary: Okular crashes when trying to modify a form-pdf Product: okular Version: 1.11.1 Platform: Fedora RPMs OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: okular-de...@kde.org Reporter: emaster...@gmail.com Target Milestone: --- Application: okular (1.11.1) Qt Version: 5.15.2 Frameworks Version: 5.79.0 Operating System: Linux 5.11.11-200.fc33.x86_64 x86_64 Windowing system: X11 Distribution: Fedora 33 (KDE Plasma) -- Information about the crash: - What I was doing when the application crashed: I opened a pdf with okular. The pdf has been opened correctly. The pdf contained a form, so I used the suggestion (Visualize->See forms) to start the modify-mode. When entered the modify-mode, I saw changing font of the form field. So, I clicked on one field and okular crashed. Something odd I noticed is that not all the form field of the pdf were marked up as form field while in the modify-mode. Indeed I opened the same pdf-form with Chromium and there I could see many more fields than the ones seen in okular. The crash can be reproduced every time. -- Backtrace: Application: Okular (okular), signal: Segmentation fault [KCrash Handler] #4 0x00007f75b0361bf1 in Poppler::Document::formCalculateOrder() const () from /lib64/libpoppler-qt5.so.1 #5 0x00007f75b03e3d4f in PDFGenerator::metaData(QString const&, QVariant const&) const () from /usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so #6 0x00007f75b3560a61 in Okular::Document::metaData(QString const&, QVariant const&) const () from /lib64/libOkular5Core.so.9 #7 0x00007f75b3550343 in Okular::DocumentPrivate::recalculateForms() () from /lib64/libOkular5Core.so.9 #8 0x00007f75b3576fd7 in Okular::EditFormButtonsCommand::redo() () from /lib64/libOkular5Core.so.9 #9 0x00007f75ccd1019a in QUndoStack::push(QUndoCommand*) () from /lib64/libQt5Widgets.so.5 #10 0x00007f75cbe8f386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5 #11 0x00007f75b81bd4b2 in FormWidgetsController::slotButtonClicked(QAbstractButton*) () from /usr/lib64/qt5/plugins/okularpart.so #12 0x00007f75cbe8f386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5 #13 0x00007f75cca765d3 in QButtonGroup::buttonClicked(QAbstractButton*) () from /lib64/libQt5Widgets.so.5 #14 0x00007f75cca71d7f in QAbstractButtonPrivate::emitClicked() () from /lib64/libQt5Widgets.so.5 #15 0x00007f75cca73673 in QAbstractButtonPrivate::click() () from /lib64/libQt5Widgets.so.5 #16 0x00007f75cca73855 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5 #17 0x00007f75cc9c2b1e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5 #18 0x00007f75cc981ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #19 0x00007f75cc988eeb in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #20 0x00007f75cbe5fbd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #21 0x00007f75cc987efa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5 #22 0x00007f75cc9db375 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5 #23 0x00007f75cc9de6be in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5 #24 0x00007f75cc981ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #25 0x00007f75cbe5fbd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #26 0x00007f75cc328143 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5 #27 0x00007f75cc3098cc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5 #28 0x00007f75ba55e47e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5 #29 0x00007f75ca63fa9f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #30 0x00007f75ca691a98 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0 #31 0x00007f75ca63ce73 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #32 0x00007f75cbeac6f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #33 0x00007f75cbe5e57b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #34 0x00007f75cbe661b4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5 #35 0x000055d0165be8ce in main () [Inferior 1 (process 3678) detached] The reporter indicates this bug may be a duplicate of or related to bug 234280. Possible duplicates by query: bug 395029, bug 366785, bug 366617, bug 334348, bug 332693. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.