Bug 395608 - Okular crashes when saving .okular file as.
Summary: Okular crashes when saving .okular file as.
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.4.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-06-19 13:43 UTC by Gabriel Bastos
Modified: 2020-02-28 22:48 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 Gabriel Bastos 2018-06-19 13:43:52 UTC
Application: okular (1.4.2)

Qt Version: 5.11.0
Frameworks Version: 5.46.0
Operating System: Linux 4.16.13-2-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
> Opened a PDF file
> made some annotations using F6
> clicked to save file as
> selected okular archive instead of PDF in file format
> typed doc as the file name
> clicked save
> Okular crashed

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7c86edde80 (LWP 14677))]

Thread 6 (Thread 0x7f7c57465700 (LWP 19106)):
#0  0x00007f7c82bf40f9 in syscall () at /usr/lib/libc.so.6
#1  0x00007f7c7d609411 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2  0x00007f7c554ca2bf in  () at /usr/lib/libgstreamer-1.0.so.0
#3  0x00007f7c7d5eb463 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f7c7d5eaa2a in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f7c7fb8a075 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f7c82bf953f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f7c563cd700 (LWP 19105)):
#0  0x00007f7c6c8d47ba in  () at /usr/lib/pulseaudio/libpulsecommon-11.1.so
#1  0x00007f7c6c8d51de in pa_fdsem_before_poll () at /usr/lib/pulseaudio/libpulsecommon-11.1.so
#2  0x00007f7c6c8ed42a in  () at /usr/lib/pulseaudio/libpulsecommon-11.1.so
#3  0x00007f7c6cf5dea8 in pa_mainloop_dispatch () at /usr/lib/libpulse.so.0
#4  0x00007f7c6cf5e280 in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#5  0x00007f7c6cf5e301 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#6  0x00007f7c6cf6c6ae in  () at /usr/lib/libpulse.so.0
#7  0x00007f7c6c8fd81c in  () at /usr/lib/pulseaudio/libpulsecommon-11.1.so
#8  0x00007f7c7fb8a075 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f7c82bf953f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f7c5f052700 (LWP 14697)):
#0  0x00007f7c7fb8fffc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f7c5fadb0a4 in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f7c5fadad98 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f7c7fb8a075 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f7c82bf953f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f7c6b21c700 (LWP 14679)):
#0  0x00007f7c86d36ef3 in _dl_update_slotinfo () at /lib64/ld-linux-x86-64.so.2
#1  0x00007f7c86d370bc in update_get_addr () at /lib64/ld-linux-x86-64.so.2
#2  0x00007f7c86d3c178 in __tls_get_addr () at /lib64/ld-linux-x86-64.so.2
#3  0x00007f7c83308e77 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f7c8350b312 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f7c7d5c1f22 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#6  0x00007f7c7d5c24c6 in  () at /usr/lib/libglib-2.0.so.0
#7  0x00007f7c7d5c263e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#8  0x00007f7c8350ae64 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#9  0x00007f7c834b685c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#10 0x00007f7c832ffac9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#11 0x00007f7c8395a976 in  () at /usr/lib/libQt5DBus.so.5
#12 0x00007f7c83309b95 in  () at /usr/lib/libQt5Core.so.5
#13 0x00007f7c7fb8a075 in start_thread () at /usr/lib/libpthread.so.0
#14 0x00007f7c82bf953f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f7c74f35700 (LWP 14678)):
#0  0x00007f7c82beeea9 in poll () at /usr/lib/libc.so.6
#1  0x00007f7c7ffb0180 in  () at /usr/lib/libxcb.so.1
#2  0x00007f7c7ffb1e4b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f7c77ce3f1a in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f7c83309b95 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f7c7fb8a075 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f7c82bf953f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f7c86edde80 (LWP 14677)):
[KCrash Handler]
#6  0x00007f7c697e3ede in Okular::Page::hasTilesManager(Okular::DocumentObserver const*) const () at /usr/lib/libOkular5Core.so.9
#7  0x00007f7c69b2a4f1 in PagePainter::paintCroppedPageOnPainter(QPainter*, Okular::Page const*, Okular::DocumentObserver*, int, int, int, QRect const&, Okular::NormalizedRect const&, Okular::NormalizedPoint*) () at /usr/lib/qt/plugins/okularpart.so
#8  0x00007f7c69b3f7a0 in  () at /usr/lib/qt/plugins/okularpart.so
#9  0x00007f7c69b538d1 in  () at /usr/lib/qt/plugins/okularpart.so
#10 0x00007f7c8478e058 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007f7c848347df in QFrame::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007f7c69b57db5 in  () at /usr/lib/qt/plugins/okularpart.so
#13 0x00007f7c834b78db in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#14 0x00007f7c8474e974 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f7c8475625b in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f7c834b7bc9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007f7c847869bc in QWidgetPrivate::sendPaintEvent(QRegion const&) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f7c84787141 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f7c84787e2e in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007f7c84787d14 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007f7c84787d14 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007f7c84786f0d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007f7c84787e2e in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007f7c84787d14 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007f7c84786f0d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007f7c84787e2e in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007f7c84787d14 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007f7c84787d14 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007f7c84786f0d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#30 0x00007f7c84787e2e in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#31 0x00007f7c84786f0d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#32 0x00007f7c84787e2e in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#33 0x00007f7c84786f0d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007f7c84787e2e in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#35 0x00007f7c84786f0d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#36 0x00007f7c84787e2e in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#37 0x00007f7c84787d14 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#38 0x00007f7c84786f0d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#39 0x00007f7c8475e151 in  () at /usr/lib/libQt5Widgets.so.5
#40 0x00007f7c8475e309 in  () at /usr/lib/libQt5Widgets.so.5
#41 0x00007f7c84775a57 in QWidgetPrivate::syncBackingStore() () at /usr/lib/libQt5Widgets.so.5
#42 0x00007f7c8478e199 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#43 0x00007f7c848a68b5 in QMainWindow::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#44 0x00007f7c86043d1c in KMainWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#45 0x00007f7c8608e436 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#46 0x00007f7c8474e984 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#47 0x00007f7c8475625b in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#48 0x00007f7c834b7bc9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#49 0x00007f7c834bac5c in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#50 0x00007f7c8350b864 in  () at /usr/lib/libQt5Core.so.5
#51 0x00007f7c7d5c2368 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#52 0x00007f7c7d5c25b1 in  () at /usr/lib/libglib-2.0.so.0
#53 0x00007f7c7d5c263e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#54 0x00007f7c8350ae49 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#55 0x00007f7c77d78b32 in  () at /usr/lib/libQt5XcbQpa.so.5
#56 0x00007f7c834b685c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#57 0x00007f7c8494417e in QDialog::exec() () at /usr/lib/libQt5Widgets.so.5
#58 0x00007f7c8582e006 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () at /usr/lib/libKF5WidgetsAddons.so.5
#59 0x00007f7c8582e49d in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () at /usr/lib/libKF5WidgetsAddons.so.5
#60 0x00007f7c85830fcf in  () at /usr/lib/libKF5WidgetsAddons.so.5
#61 0x00007f7c85831162 in KMessageBox::error(QWidget*, QString const&, QString const&, QFlags<KMessageBox::Option>) () at /usr/lib/libKF5WidgetsAddons.so.5
#62 0x00007f7c69ad95ae in Okular::Part::openUrl(QUrl const&, bool) () at /usr/lib/qt/plugins/okularpart.so
#63 0x00007f7c69ae8fc3 in Okular::Part::saveAs(QUrl const&, QFlags<Okular::Part::SaveAsFlag>) () at /usr/lib/qt/plugins/okularpart.so
#64 0x00007f7c69ae99d5 in Okular::Part::slotSaveFileAs(bool) () at /usr/lib/qt/plugins/okularpart.so
#65 0x00007f7c69b919f6 in  () at /usr/lib/qt/plugins/okularpart.so
#66 0x00007f7c834e1a0c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#67 0x00007f7c84748183 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#68 0x00007f7c8474a87a in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#69 0x00007f7c8474b185 in QAction::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#70 0x00007f7c8474e984 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#71 0x00007f7c8475625b in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#72 0x00007f7c834b7bc9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#73 0x00007f7c83fb3c65 in QShortcutMap::dispatchEvent(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5
#74 0x00007f7c83fb3d43 in QShortcutMap::tryShortcut(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5
#75 0x00007f7c83f6392c in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () at /usr/lib/libQt5Gui.so.5
#76 0x00007f7c83f82dee in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /usr/lib/libQt5Gui.so.5
#77 0x00007f7c83f884f6 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#78 0x00007f7c83f5fa5c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#79 0x00007f7c77d78b3d in  () at /usr/lib/libQt5XcbQpa.so.5
#80 0x00007f7c834b685c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#81 0x00007f7c834beb56 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#82 0x0000555795861685 in  ()
#83 0x00007f7c82b2406b in __libc_start_main () at /usr/lib/libc.so.6
#84 0x0000555795862d4a in _start ()

Reported using DrKonqi
Comment 1 Albert Astals Cid 2020-02-27 15:12:43 UTC
Does this happen just once or all the time?

If all the time with a specific PDF or any?
Comment 2 Gabriel Bastos 2020-02-28 15:17:22 UTC
I am no longer able to reproduce the bug.