https://bugs.kde.org/show_bug.cgi?id=445883
Bug ID: 445883 Summary: Okular crashes when trying to save a documents on a CIFS-backed mount Product: okular Version: 21.11.80 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: okular-devel@kde.org Reporter: l...@tuxplace.nl Target Milestone: --- SUMMARY When I edit and try to save a document on a SMB share mounted locally in /mnt/ using the CIFS driver, Okular crashes. The document does end up being saved, but with `.part` added to its filename. The document appears intact when removing the `.part` suffix from its filename and opening it again. STEPS TO REPRODUCE 1. Open a document from a CIFS-backed mount. 2. Edit it. 3. Try to save it. OBSERVED RESULT Okular crashes and the file is saved with `.part` appended to its filename. EXPECTED RESULT The file is saved as normal. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.23.3 KDE Frameworks Version: 5.88.0 Qt Version: 5.15.2 Kernel Version: 5.15.2-zen1-1-zen (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor Memory: 15,5 GiB of RAM Graphics Processor: AMD Radeon RX 480 Graphics ADDITIONAL INFORMATION Backtrace: #0 0x00007f20c5497d22 in raise () from /usr/lib/libc.so.6 #1 0x00007f20c70563e0 in KCrash::defaultCrashHandler(int) () from /usr/lib/libKF5Crash.so.5 #2 <signal handler called> #3 0x00007f208cda5a7a in FormWidgetText::getContent() const () from /usr/lib/libpoppler.so.115 #4 0x00007f20bc17cb65 in Poppler::FormFieldText::text() const () from /usr/lib/libpoppler-qt5.so.1 #5 0x00007f20bd940603 in ?? () from /usr/lib/qt/plugins/okular/generators/okularGenerator_poppler.so #6 0x00007f20be4b7322 in ?? () from /usr/lib/qt/plugins/okularpart.so #7 0x00007f20c5b2d7ab in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007f20c5b2d7e0 in ?? () from /usr/lib/libQt5Core.so.5 #9 0x00007f20c686481b in QWidgetTextControl::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQt5Widgets.so.5 #10 0x00007f20c5b2d4f7 in ?? () from /usr/lib/libQt5Core.so.5 #11 0x00007f20c6094c9e in QTextDocumentPrivate::finishEdit() () from /usr/lib/libQt5Gui.so.5 #12 0x00007f20c6861d06 in ?? () from /usr/lib/libQt5Widgets.so.5 #13 0x00007f20c6857d1c in QWidgetTextControl::processEvent(QEvent*, QPointF const&, QWidget*) () from /usr/lib/libQt5Widgets.so.5 #14 0x00007f20c683718d in QTextEdit::inputMethodEvent(QInputMethodEvent*) () from /usr/lib/libQt5Widgets.so.5 #15 0x00007f20c66a00be in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #16 0x00007f20c674f94f in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #17 0x00007f20c665cd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #18 0x00007f20c5af63fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #19 0x00007f20c3947f34 in ?? () from /usr/lib/libQt5WaylandClient.so.5 #20 0x00007f20c66bcf8f in ?? () from /usr/lib/libQt5Widgets.so.5 #21 0x00007f20c665cd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #22 0x00007f20c5af63fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #23 0x00007f20c5f5c4fe in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /usr/lib/libQt5Gui.so.5 #24 0x00007f20c5f357d5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5 #25 0x00007f20c39691e1 in ?? () from /usr/lib/libQt5WaylandClient.so.5 #26 0x00007f20c40734dc in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #27 0x00007f20c40c7799 in ?? () from /usr/lib/libglib-2.0.so.0 #28 0x00007f20c4070bc1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #29 0x00007f20c5b4f026 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #30 0x00007f20c5af4d6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #31 0x00007f20c68713de in QDialog::exec() () from /usr/lib/libQt5Widgets.so.5 #32 0x00007f20c6dbb040 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () from /usr/lib/libKF5WidgetsAddons.so.5 #33 0x00007f20c6dbb631 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () from /usr/lib/libKF5WidgetsAddons.so.5 #34 0x00007f20c6dbf8c8 in ?? () from /usr/lib/libKF5WidgetsAddons.so.5 #35 0x00007f20c6dc0050 in KMessageBox::error(QWidget*, QString const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib/libKF5WidgetsAddons.so.5 #36 0x00007f20be469613 in Okular::Part::openUrl(QUrl const&, bool) () from /usr/lib/qt/plugins/okularpart.so #37 0x00007f20be47cf52 in Okular::Part::saveAs(QUrl const&, QFlags<Okular::Part::SaveAsFlag>) () from /usr/lib/qt/plugins/okularpart.so #38 0x00007f20be47e046 in Okular::Part::saveFile() () from /usr/lib/qt/plugins/okularpart.so #39 0x00007f20c5b2d7ab in ?? () from /usr/lib/libQt5Core.so.5 #40 0x00007f20c6656203 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5 #41 0x00007f20c6658f18 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5 #42 0x00007f20c67e6103 in ?? () from /usr/lib/libQt5Widgets.so.5 #43 0x00007f20c67ede39 in ?? () from /usr/lib/libQt5Widgets.so.5 #44 0x00007f20c66a00be in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #45 0x00007f20c665cd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #46 0x00007f20c6664ac9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #47 0x00007f20c5af63fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #48 0x00007f20c666357b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/libQt5Widgets.so.5 #49 0x00007f20c66ba593 in ?? () from /usr/lib/libQt5Widgets.so.5 #50 0x00007f20c66bcdb5 in ?? () from /usr/lib/libQt5Widgets.so.5 #51 0x00007f20c665cd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #52 0x00007f20c5af63fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #53 0x00007f20c5f601f0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5 #54 0x00007f20c5f357d5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5 #55 0x00007f20c39691e1 in ?? () from /usr/lib/libQt5WaylandClient.so.5 #56 0x00007f20c40734dc in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #57 0x00007f20c40c7799 in ?? () from /usr/lib/libglib-2.0.so.0 #58 0x00007f20c4070bc1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 -- You are receiving this mail because: You are the assignee for the bug.