https://bugs.kde.org/show_bug.cgi?id=355172
Bug ID: 355172 Summary: Crash if I quit Okular when the properties dialog is being displayed Product: okular Version: 0.23.60 Platform: Compiled Sources OS: Linux Status: UNCONFIRMED Severity: crash Priority: NOR Component: general Assignee: okular-devel@kde.org Reporter: santhiar.anir...@gmail.com Open a document using okular. In my repro, I opened a text file. Open the properties dialog, as File --> Properties. Close okular from a shell using dbus with the command qdbus `qdbus | grep okular` /okular/okular__Shell_1/actions/file_quit trigger Note: I was originally using a command line script to drive okular when the crash occurred. I narrowed down the repro to the scenario above. Reproducible: Always Steps to Reproduce: 1. Open a document using okular 2. Click on File --> Properties 3. From the shell, issue qdbus `qdbus | grep okular` /okular/okular__Shell_1/actions/file_quit trigger Actual Results: Okular crashes with a segmentation fault Expected Results: Okular should close smoothly Application: okular (0.23.60) KDE Platform Version: 4.14.13 Qt Version: 4.8.7 Operating System: Linux 3.8.0-29-generic x86_64 Distribution: Ubuntu 12.04.5 LTS -- Backtrace: Application: Okular (okular), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [KCrash Handler] #6 0x00007f8b7b9e8b17 in QPointer<Okular::FontExtractionThread>::operator Okular::FontExtractionThread* (this=0x7fff00000188) at /home/anirudh/software/install/qt4/include/QtCore/qpointer.h:78 #7 0x00007f8b7b9cae9e in Okular::Document::stopFontReading (this=0x26fc4e0) at KDE/kde/kdegraphics/okular/core/document.cpp:2815 #8 0x00007f8b7c031d4e in PropertiesDialog::~PropertiesDialog (this=0x2ecb000) at KDE/kde/kdegraphics/okular/ui/propertiesdialog.cpp:178 #9 0x00007f8b7c031df0 in PropertiesDialog::~PropertiesDialog (this=0x2ecb000) at KDE/kde/kdegraphics/okular/ui/propertiesdialog.cpp:177 #10 0x00007f8b86c16dd4 in QObjectPrivate::deleteChildren (this=0x26edf00) at kernel/qobject.cpp:1937 #11 0x00007f8b883f3113 in QWidget::~QWidget (this=0x2677180) at kernel/qwidget.cpp:1679 #12 0x00007f8b7c03cda9 in Sidebar::~Sidebar (this=0x2677180) at KDE/kde/kdegraphics/okular/ui/sidebar.cpp:514 #13 0x00007f8b7c03ce70 in Sidebar::~Sidebar (this=0x2677180) at KDE/kde/kdegraphics/okular/ui/sidebar.cpp:512 #14 0x00007f8b8be7b42b in KParts::Part::~Part (this=0x2672110, vtt=0x7f8b7c4eaa68 <VTT for Okular::Part+24>) at KDE/kde/kdelibs/kparts/part.cpp:209 #15 0x00007f8b8be7d045 in KParts::ReadOnlyPart::~ReadOnlyPart (this=0x2672110, vtt=<optimized out>) at KDE/kde/kdelibs/kparts/part.cpp:463 #16 0x00007f8b8be7f9ba in KParts::ReadWritePart::~ReadWritePart (this=0x7fff00000188, vtt=<optimized out>) at KDE/kde/kdelibs/kparts/part.cpp:780 #17 0x00007f8b7bf06b56 in Okular::Part::~Part (this=0x2672110, vtt=<optimized out>) at KDE/kde/kdegraphics/okular/part.cpp:891 #18 0x00007f8b7bf07937 in Okular::Part::~Part (this=0x2672110) at KDE/kde/kdegraphics/okular/part.cpp:857 #19 0x00007f8b7bf07b30 in Okular::Part::~Part (this=0x2672110) at KDE/kde/kdegraphics/okular/part.cpp:857 #20 0x00007f8b86c16dd4 in QObjectPrivate::deleteChildren (this=0x2640000) at kernel/qobject.cpp:1937 #21 0x00007f8b883f3113 in QWidget::~QWidget (this=0x263d1b0) at kernel/qwidget.cpp:1679 #22 0x00007f8b88a295e5 in QMainWindow::~QMainWindow (this=0x263d1b0) at widgets/qmainwindow.cpp:389 #23 0x00007f8b898c1c0d in KMainWindow::~KMainWindow (this=0x263d1b0) at KDE/kde/kdelibs/kdeui/widgets/kmainwindow.cpp:473 #24 0x00007f8b89951098 in KXmlGuiWindow::~KXmlGuiWindow (this=0x263d1b0, vtt=<optimized out>) at KDE/kde/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:122 #25 0x00007f8b8be98bcf in KParts::MainWindow::~MainWindow (this=0x263d1b0, vtt=<optimized out>) at KDE/kde/kdelibs/kparts/mainwindow.cpp:79 #26 0x0000000000413443 in Shell::~Shell() () #27 0x000000000041380f in Shell::~Shell() () #28 0x0000000000413998 in Shell::~Shell() () #29 0x00007f8b86c17e3e in qDeleteInEventHandler (o=0x263d1b0) at kernel/qobject.cpp:4310 #30 0x00007f8b86c179a8 in QObject::event (this=0x263d1b0, e=0x2e958f0) at kernel/qobject.cpp:1203 #31 0x00007f8b8840a346 in QWidget::event (this=0x263d1b0, event=0x2e958f0) at kernel/qwidget.cpp:8859 #32 0x00007f8b88a2bf73 in QMainWindow::event (this=0x263d1b0, event=0x2e958f0) at widgets/qmainwindow.cpp:1478 #33 0x00007f8b898c58f4 in KMainWindow::event (this=0x263d1b0, ev=0x2e958f0) at KDE/kde/kdelibs/kdeui/widgets/kmainwindow.cpp:1126 #34 0x00007f8b8995143e in KXmlGuiWindow::event (this=0x263d1b0, ev=0x2e958f0) at KDE/kde/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:126 #35 0x00007f8b8837f48f in QApplicationPrivate::notify_helper (this=0x2564840, receiver=0x263d1b0, e=0x2e958f0) at kernel/qapplication.cpp:4565 #36 0x00007f8b8838532c in QApplication::notify (this=0x7fffbe79a9b8, receiver=0x263d1b0, e=0x2e958f0) at kernel/qapplication.cpp:4530 #37 0x00007f8b89722f7b in KApplication::notify (this=0x7fffbe79a9b8, receiver=0x263d1b0, event=0x2e958f0) at KDE/kde/kdelibs/kdeui/kernel/kapplication.cpp:311 #38 0x00007f8b86bf6dc6 in QCoreApplication::notifyInternal (this=0x7fffbe79a9b8, receiver=0x263d1b0, event=0x2e958f0) at kernel/qcoreapplication.cpp:955 #39 0x00007f8b86bfb54a in QCoreApplication::sendEvent (receiver=0x263d1b0, event=0x2e958f0) at /home/anirudh/software/qt/src/corelib/../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #40 0x00007f8b86bf83f4 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x25344e0) at kernel/qcoreapplication.cpp:1609 #41 0x00007f8b86c492f7 in QEventDispatcherUNIX::processEvents (this=0x253bcb0, flags=...) at kernel/qeventdispatcher_unix.cpp:908 #42 0x00007f8b8849766a in QEventDispatcherX11::processEvents (this=0x253bcb0, flags=...) at kernel/qeventdispatcher_x11.cpp:179 #43 0x00007f8b86bf1f6c in QEventLoop::processEvents (this=0x7fffbe797230, flags=...) at kernel/qeventloop.cpp:149 #44 0x00007f8b86bf2332 in QEventLoop::exec (this=0x7fffbe797230, flags=...) at kernel/qeventloop.cpp:225 #45 0x00007f8b88b33c8b in QDialog::exec (this=0x2ecb000) at dialogs/qdialog.cpp:562 #46 0x00007f8b7bf14f7c in Okular::Part::slotShowProperties (this=<optimized out>) at KDE/kde/kdegraphics/okular/part.cpp:2528 #47 0x00007f8b7bf16da9 in Okular::Part::qt_static_metacall (_o=0x2672110, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at KDE/build/kde/kdegraphics/okular/part.moc:234 #48 0x00007f8b86c1e607 in QMetaObject::activate (sender=0x28a2490, m=0x7f8b8938d540 <QAction::staticMetaObject>, local_signal_index=1, argv=0x7fffbe7975e0) at kernel/qobject.cpp:3569 #49 0x00007f8b8836f41d in QAction::triggered (this=0x28a2490, _t1=false) at .moc/debug-shared/moc_qaction.cpp:277 #50 0x00007f8b8836f232 in QAction::activate (this=0x28a2490, event=QAction::Trigger) at kernel/qaction.cpp:1257 #51 0x00007f8b88a66717 in QMenuPrivate::activateCausedStack (this=0x2643b80, causedStack=..., action=0x28a2490, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1037 #52 0x00007f8b88a645d6 in QMenuPrivate::activateAction (this=0x2643b80, action=0x28a2490, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1129 #53 0x00007f8b88a6ba02 in QMenu::mouseReleaseEvent (this=0x291f630, e=0x7fffbe799348) at widgets/qmenu.cpp:2371 #54 0x00007f8b898cba8e in KMenu::mouseReleaseEvent (this=0x291f630, e=0x7fffbe799348) at KDE/kde/kdelibs/kdeui/widgets/kmenu.cpp:464 #55 0x00007f8b8840897e in QWidget::event (this=0x291f630, event=0x7fffbe799348) at kernel/qwidget.cpp:8389 #56 0x00007f8b88a6c34a in QMenu::event (this=0x291f630, e=0x7fffbe799348) at widgets/qmenu.cpp:2480 #57 0x00007f8b8837f48f in QApplicationPrivate::notify_helper (this=0x2564840, receiver=0x291f630, e=0x7fffbe799348) at kernel/qapplication.cpp:4565 #58 0x00007f8b88382893 in QApplication::notify (this=0x7fffbe79a9b8, receiver=0x291f630, e=0x7fffbe799348) at kernel/qapplication.cpp:4108 #59 0x00007f8b89722f7b in KApplication::notify (this=0x7fffbe79a9b8, receiver=0x291f630, event=0x7fffbe799348) at KDE/kde/kdelibs/kdeui/kernel/kapplication.cpp:311 #60 0x00007f8b86bf6dc6 in QCoreApplication::notifyInternal (this=0x7fffbe79a9b8, receiver=0x291f630, event=0x7fffbe799348) at kernel/qcoreapplication.cpp:955 #61 0x00007f8b8838a02f in QCoreApplication::sendSpontaneousEvent (receiver=0x291f630, event=0x7fffbe799348) at /home/anirudh/software/qt/src/gui/../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 #62 0x00007f8b88380531 in QApplicationPrivate::sendMouseEvent (receiver=0x291f630, event=0x7fffbe799348, alienWidget=0x0, nativeWidget=0x291f630, buttonDown=0x7f8b893d3050 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3171 #63 0x00007f8b88451229 in QETWidget::translateMouseEvent (this=0x291f630, event=0x7fffbe79a5c8) at kernel/qapplication_x11.cpp:4459 #64 0x00007f8b8844cff6 in QApplication::x11ProcessEvent (this=0x7fffbe79a9b8, event=0x7fffbe79a5c8) at kernel/qapplication_x11.cpp:3520 #65 0x00007f8b88497456 in QEventDispatcherX11::processEvents (this=0x253bcb0, flags=...) at kernel/qeventdispatcher_x11.cpp:151 #66 0x00007f8b86bf1f6c in QEventLoop::processEvents (this=0x7fffbe79a8c0, flags=...) at kernel/qeventloop.cpp:149 #67 0x00007f8b86bf2332 in QEventLoop::exec (this=0x7fffbe79a8c0, flags=...) at kernel/qeventloop.cpp:225 #68 0x00007f8b86bf75ee in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229 #69 0x00007f8b88381526 in QApplication::exec () at kernel/qapplication.cpp:3823 #70 0x000000000040b336 in main () -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Okular-devel mailing list Okular-devel@kde.org https://mail.kde.org/mailman/listinfo/okular-devel