Version: unspecified (using Devel) OS: MS Windows ktimetracker crashes under Windows when clicking on "new Task -> edit times" Reproducible: Always Steps to Reproduce: click on "new Task -> edit times" Actual Results: Application: Kontact (kontact), signal: Segmentation fault [Current thread is 1 (Thread 0x7f8384c8c780 (LWP 9031))] Thread 4 (Thread 0x7f836b190700 (LWP 9034)): #0 0x00007f837f18e2c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f83841ddbc7 in ?? () from /usr/lib/libQtWebKit.so.4 #2 0x00007f83841ddd29 in ?? () from /usr/lib/libQtWebKit.so.4 #3 0x00007f837f189b40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #4 0x00007f837e4c036d in clone () from /lib/x86_64-linux-gnu/libc.so.6 #5 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f836a78f700 (LWP 9035)): #0 0x00007f837e4b5723 in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f83782569e4 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007f8378256f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007f837f52ae96 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f837f4ff492 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f837f4ff68f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f837f41730f in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f837f419cf5 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f837f189b40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #9 0x00007f837e4c036d in clone () from /lib/x86_64-linux-gnu/libc.so.6 #10 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f8357354700 (LWP 9040)): #0 0x00007f837f18e63b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f837f41a0fe in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f837f40e97f in ?? () from /usr/lib/libQtCore.so.4 #3 0x00007f837f419cf5 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f837f189b40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f837e4c036d in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f8384c8c780 (LWP 9031)): [KCrash Handler] #6 0x00007f835596e695 in timetrackerstorage::rawevents (this=0x11e0b50) at /home/andre/kde/src/kdepim/ktimetracker/timetrackerstorage.cpp:323 #7 0x00007f8355993c49 in historydialog::listallevents (this=0x1000440) at /home/andre/kde/src/kdepim/ktimetracker/historydialog.cpp:105 #8 0x00007f8355993a7b in historydialog::historydialog (this=0x1000440, parent=0x101f990) at /home/andre/kde/src/kdepim/ktimetracker/historydialog.cpp:85 #9 0x00007f8355968603 in EditTaskDialog::on_edittimespushbutton_clicked (this=0xfe5330) at /home/andre/kde/src/kdepim/ktimetracker/edittaskdialog.cpp:103 #10 0x00007f8355961ff0 in EditTaskDialog::qt_metacall (this=0xfe5330, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffde9ad9c0) at /home/andre/kde/build/kdepim/ktimetracker/moc_edittaskdialog.cpp:75 #11 0x00007f837f512eba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #12 0x00007f8380b282c2 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4 #13 0x00007f838087034e in ?? () from /usr/lib/libQtGui.so.4 #14 0x00007f838087168b in ?? () from /usr/lib/libQtGui.so.4 #15 0x00007f83808718fc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #16 0x00007f838050e346 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #17 0x00007f83804bdc64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #18 0x00007f83804c33eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #19 0x00007f838121c1ff in KApplication::notify (this=0x7fffde9b1720, receiver=0xffd4e0, event=0x7fffde9ae450) at /home/andre/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311 #20 0x00007f837f50028c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #21 0x00007f83804bec32 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #22 0x00007f838053b118 in ?? () from /usr/lib/libQtGui.so.4 #23 0x00007f8380539f1a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #24 0x00007f8380562252 in ?? () from /usr/lib/libQtGui.so.4 #25 0x00007f83782564a3 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #26 0x00007f8378256c80 in ?? () from /lib/libglib-2.0.so.0 #27 0x00007f8378256f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0 #28 0x00007f837f52ae2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #29 0x00007f8380561eee in ?? () from /usr/lib/libQtGui.so.4 #30 0x00007f837f4ff492 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #31 0x00007f837f4ff68f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #32 0x00007f838096f766 in QDialog::exec() () from /usr/lib/libQtGui.so.4 #33 0x00007f8355989ded in TaskView::newTask (this=0x101f990, caption=..., parent=0x0) at /home/andre/kde/src/kdepim/ktimetracker/taskview.cpp:876 #34 0x00007f8355989d73 in TaskView::newTask (this=0x101f990) at /home/andre/kde/src/kdepim/ktimetracker/taskview.cpp:867 #35 0x00007f835599bede in TimetrackerWidget::newTask (this=0x1059650) at /home/andre/kde/src/kdepim/ktimetracker/timetrackerwidget.cpp:527 #36 0x00007f83559a0dbc in MainAdaptor::newTask (this=0x11cecf0) at /home/andre/kde/build/kdepim/ktimetracker/mainadaptor.cpp:105 #37 0x00007f83559a1485 in MainAdaptor::qt_metacall (this=0x11cecf0, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffde9af230) at /home/andre/kde/build/kdepim/ktimetracker/mainadaptor.moc:190 #38 0x00007f837ef2d8b1 in ?? () from /usr/lib/libQtDBus.so.4 #39 0x00007f837ef2e93d in ?? () from /usr/lib/libQtDBus.so.4 #40 0x00007f837ef2f2d2 in ?? () from /usr/lib/libQtDBus.so.4 #41 0x00007f837ef2f63a in ?? () from /usr/lib/libQtDBus.so.4 #42 0x00007f837ef2fd3f in ?? () from /usr/lib/libQtDBus.so.4 #43 0x00007f837ef2febe in ?? () from /usr/lib/libQtDBus.so.4 #44 0x00007f837ef3072a in ?? () from /usr/lib/libQtDBus.so.4 #45 0x00007f837ef1ffd0 in QDBusConnection::asyncCall(QDBusMessage const&, int) const () from /usr/lib/libQtDBus.so.4 #46 0x00007f837ef3c4fd in QDBusAbstractInterface::asyncCallWithArgumentList(QString const&, QList<QVariant> const&) () from /usr/lib/libQtDBus.so.4 #47 0x00007f835ea34e66 in OrgKdeKtimetrackerKtimetrackerInterface::newTask (this=0xea4e80) at /home/andre/kde/build/kdepim/kontact/plugins/ktimetracker/ktimetrackerinterface.h:117 #48 0x00007f835ea34606 in ktimetrackerplugin::newTask (this=0x9733b0) at /home/andre/kde/src/kdepim/kontact/plugins/ktimetracker/ktimetracker_plugin.cpp:124 #49 0x00007f835ea347b6 in ktimetrackerplugin::qt_metacall (this=0x9733b0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffde9aff10) at /home/andre/kde/build/kdepim/kontact/plugins/ktimetracker/ktimetracker_plugin.moc:76 #50 0x00007f837f512eba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #51 0x00007f83804b7652 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4 #52 0x00007f83804b783f in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4 #53 0x00007f8382dc0a45 in QAction::trigger (this=0x973d40) at /usr/include/qt4/QtGui/qaction.h:218 #54 0x00007f8382dbc11d in Kontact::MainWindow::slotNewClicked (this=0x849860) at /home/andre/kde/src/kdepim/kontact/src/mainwindow.cpp:741 #55 0x00007f8382dbfd57 in Kontact::MainWindow::qt_metacall (this=0x849860, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fffde9b0110) at /home/andre/kde/build/kdepim/kontact/src/mainwindow.moc:123 #56 0x00007f837f512eba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #57 0x00007f83804b7652 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4 #58 0x00007f83804b783f in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4 #59 0x00007f838087164a in ?? () from /usr/lib/libQtGui.so.4 #60 0x00007f83808718fc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #61 0x00007f838092daaa in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #62 0x00007f838050e346 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #63 0x00007f83804bdc64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #64 0x00007f83804c33eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #65 0x00007f838121c1ff in KApplication::notify (this=0x7fffde9b1720, receiver=0x91eeb0, event=0x7fffde9b0bb0) at /home/andre/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311 #66 0x00007f837f50028c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #67 0x00007f83804bec32 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #68 0x00007f838053b118 in ?? () from /usr/lib/libQtGui.so.4 #69 0x00007f8380539f1a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #70 0x00007f8380562252 in ?? () from /usr/lib/libQtGui.so.4 #71 0x00007f83782564a3 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #72 0x00007f8378256c80 in ?? () from /lib/libglib-2.0.so.0 #73 0x00007f8378256f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0 #74 0x00007f837f52ae2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #75 0x00007f8380561eee in ?? () from /usr/lib/libQtGui.so.4 #76 0x00007f837f4ff492 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #77 0x00007f837f4ff68f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #78 0x00007f837f503837 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #79 0x0000000000404270 in main (argc=1, argv=0x7fffde9b1c78) at /home/andre/kde/src/kdepim/kontact/src/main.cpp:218 Expected Results: it does not crash
Cannot reproduce under Linux standalone application, but saw the crash under Windows kontact plugin.
This crash also happens under Linux using the kontact plugin. Not Windows specific. To reproduce: - start kontact - select the ktimetracker kpart - click "New Task" - click "Chance Times"
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I will be closing this bug.
KTimeTracker is now ported to Qt5/KF5, however the Kontact plugin is dropped since the KDE PIM team and I agreed that KTimeTracker is not very relevant to KDE PIM/Kontact. Thus, this bug is still RESOLVED as UNMAINTAINED.