Bug 173543

Summary: ktimetracker crashes if an active entry is deleted entry
Product: [Applications] ktimetracker Reporter: Richard Birnie <richard.birnie>
Component: generalAssignee: Thorsten Staerk <dev>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, ghmeyer
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Richard Birnie 2008-10-25 23:57:05 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

Steps:
1. Open Kontact -> Time Tracker
2. Clock menu-> check the Track Active Applications box
3. Start the clock
4. Switch to firefox with 2 open tabs
5. Change the active tab
6. Click back to Ktimetracker
7. The task list contains an entry for TimeTracker with an active clock and a blank entry
8. Trying to delete the blank entry using the delete button on the toolbar causes Kontact to crash

If I restart konqueror the blank entry is still there. If I try to delete it now it is deleted as expected

If I follow steps 1-7 then stop the clock on the TimeTracker then I am able to delete both the blank entry and the TimeTracker entry as normal.

This bug was originally reported at https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/274170 and was observed by myself and one other user. There is a backtrace attached to that bug but I can't see where to attach it here using this wizard
Comment 1 Thorsten Staerk 2008-10-26 13:02:19 UTC
thanks, this is a well-described bug report. I will read the backtrace as soon as I can (and attach it).
Comment 2 Thorsten Staerk 2008-11-15 16:30:52 UTC
Here is the backtrace from ubuntu. It is missing most information because not compiled with debugging symbols:

Application: Kontact (kontact), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb4cec6c0 (LWP 27506)]
[KCrash handler]
#6  0xb74105b2 in ?? () from /usr/lib/libQtGui.so.4
#7  0xb741083b in QTreeWidgetItemIterator::operator++ ()
   from /usr/lib/libQtGui.so.4
#8  0xb105c23e in ?? () from /usr/lib/kde4/karmpart.so
#9  0xb105c407 in ?? () from /usr/lib/kde4/karmpart.so
#10 0xb10778eb in ?? () from /usr/lib/kde4/karmpart.so
#11 0xb107d763 in ?? () from /usr/lib/kde4/karmpart.so
#12 0xb77cfa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb77d07e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0xb1071407 in ?? () from /usr/lib/kde4/karmpart.so
#15 0xb107dd62 in ?? () from /usr/lib/kde4/karmpart.so
#16 0xb77cfa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb77d07e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb1059f47 in ?? () from /usr/lib/kde4/karmpart.so
#19 0xb1060036 in ?? () from /usr/lib/kde4/karmpart.so
#20 0xb1063de5 in ?? () from /usr/lib/kde4/karmpart.so
#21 0xb77cfa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb77d07e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb103ca53 in ?? () from /usr/lib/kde4/karmpart.so
#24 0xb103d432 in ?? () from /usr/lib/kde4/karmpart.so
#25 0xb105fd66 in ?? () from /usr/lib/kde4/karmpart.so
#26 0xb1063e51 in ?? () from /usr/lib/kde4/karmpart.so
#27 0xb77cfa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb77d07e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb10534f3 in ?? () from /usr/lib/kde4/karmpart.so
#30 0xb1053b90 in ?? () from /usr/lib/kde4/karmpart.so
#31 0xb73e8fe1 in ?? () from /usr/lib/libQtGui.so.4
#32 0xb1048fc7 in ?? () from /usr/lib/kde4/karmpart.so
#33 0xb10499b9 in ?? () from /usr/lib/kde4/karmpart.so
#34 0xb1061219 in ?? () from /usr/lib/kde4/karmpart.so
#35 0xb1071c7c in ?? () from /usr/lib/kde4/karmpart.so
#36 0xb107db28 in ?? () from /usr/lib/kde4/karmpart.so
#37 0xb77cfa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#38 0xb77cfe60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#39 0xb6ea55f1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#40 0xb6ea5f5f in QAction::activate () from /usr/lib/libQtGui.so.4
#41 0xb72cb592 in QToolButton::nextCheckState () from /usr/lib/libQtGui.so.4
#42 0xb71eecd3 in ?? () from /usr/lib/libQtGui.so.4
#43 0xb71eefa6 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#44 0xb72cba8c in QToolButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#45 0xb6f039a2 in QWidget::event () from /usr/lib/libQtGui.so.4
#46 0xb71ecfbe in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#47 0xb72cb554 in QToolButton::event () from /usr/lib/libQtGui.so.4
#48 0xb6eab8ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#49 0xb6eb4121 in QApplication::notify () from /usr/lib/libQtGui.so.4
#50 0xb7c8972d in KApplication::notify (this=0xbfbc32c8, receiver=0x9c3ec90, 
    event=0xbfbc29f8)
    at /build/buildd/kde4libs-4.1.2/kdeui/kernel/kapplication.cpp:311
#51 0xb77bae61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#52 0xb6eb33ae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#53 0xb6f1d696 in ?? () from /usr/lib/libQtGui.so.4
#54 0xb6f1ca25 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#55 0xb6f467ea in ?? () from /usr/lib/libQtGui.so.4
#56 0xb55d76f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0xb55dada3 in ?? () from /usr/lib/libglib-2.0.so.0
#58 0xb55daf61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#59 0xb77e5478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#60 0xb6f45ee5 in ?? () from /usr/lib/libQtGui.so.4
#61 0xb77b952a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#62 0xb77b96ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#63 0xb77bbda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#64 0xb6eab767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#65 0x0804bf52 in _start ()
#0  0xb7fc2430 in __kernel_vsyscall ()
Comment 3 Richard Birnie 2008-11-15 17:41:03 UTC
What debug packages are needed to get the missing information and I can try to fill the gaps?
Comment 4 Thorsten Staerk 2008-11-15 20:25:42 UTC
To get to the debugging symbols, it would be best if you could compile KDE from source. Consider http://techbase.kde.org/Getting_Started/Build/KDE4 for information how to get it and how to build it.
Comment 5 Thorsten Staerk 2008-11-15 20:27:24 UTC
I cannot reproduce. What do you mean by 
3. Start the clock 
there is no task at this point in time.
Comment 6 Richard Birnie 2008-11-16 10:34:13 UTC
My mistake. Step 3 is unnecessary. Simply checking the track active applications and proceed to step 4 is enough to induce the crash. I've upgraded my machine since I originally forwarded this. 
My current version information is:

ktimetracker --version
Qt: 4.4.3
KDE: 4.1.2 (KDE 4.1.2)
KTimeTracker: 4.0.0

Below is a slightly better backtrace. There are still some symbols missing which look as if they come from Qt itself. As an aside, on kubuntu it's possible to get the debugging symbols by installing the package kdepim-dbg which is simpler than compiling KDE from source. I haven't worked out how to get debugging symbols for Qt yet. I already have libqt4-dbg installed. I tried to build KDE from source recently using kdesvn-build. Ironically everything except kdepim built successfully. Probably time for another try.

Application: KTimeTracker (ktimetracker), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb543e6c0 (LWP 7007)]
[KCrash handler]
#6  0xb70d75b2 in ?? () from /usr/lib/libQtGui.so.4
#7  0xb70d783b in QTreeWidgetItemIterator::operator++ ()
   from /usr/lib/libQtGui.so.4
#8  0x0807f823 in TaskView::itemAt (this=0x9537e88, i=0)
    at /build/buildd/kdepim-4.1.2/ktimetracker/taskview.cpp:386
#9  0x0807f9b7 in TaskView::count (this=0x9537e88)
    at /build/buildd/kdepim-4.1.2/ktimetracker/taskview.cpp:612
#10 0x08098d9b in TimetrackerWidget::slotUpdateButtons (this=0x9331fb0)
    at /build/buildd/kdepim-4.1.2/ktimetracker/timetrackerwidget.cpp:630
#11 0x0809e2e2 in TimetrackerWidget::qt_metacall (this=0x9331fb0, 
    _c=QMetaObject::InvokeMetaMethod, _id=62, _a=0xbf8da7c8)
    at /build/buildd/kdepim-4.1.2/obj-i486-linux-gnu/ktimetracker/timetrackerwidget.moc:241
#12 0xb7638a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb76397e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0x08093009 in TimetrackerWidget::updateButtons (this=0x9331fb0)
    at /build/buildd/kdepim-4.1.2/obj-i486-linux-gnu/ktimetracker/timetrackerwidget.moc:271
#15 0x0809e87c in TimetrackerWidget::qt_metacall (this=0x9331fb0, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf8da8e8)
    at /build/buildd/kdepim-4.1.2/obj-i486-linux-gnu/ktimetracker/timetrackerwidget.moc:171
#16 0xb7638a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb76397e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0x0807d809 in TaskView::updateButtons (this=0x9537e88)
    at /build/buildd/kdepim-4.1.2/obj-i486-linux-gnu/ktimetracker/taskview.moc:234
#19 0x080831ab in TaskView::stopTimerFor (this=0x9537e88, task=0x96c3360)
    at /build/buildd/kdepim-4.1.2/ktimetracker/taskview.cpp:757
#20 0x08086b26 in TaskView::qt_metacall (this=0x9537e88, 
    _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0xbf8daaa0)
    at /build/buildd/kdepim-4.1.2/obj-i486-linux-gnu/ktimetracker/taskview.moc:194
#21 0xb7638a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb76397e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0x08062835 in DesktopTracker::leftActiveDesktop (this=0x954f4a8, 
    _t1=0x96c3360)
    at /build/buildd/kdepim-4.1.2/obj-i486-linux-gnu/ktimetracker/desktoptracker.moc:93
#24 0x08063122 in DesktopTracker::registerForDesktops (this=0x954f4a8, 
    task=0x96c3360, desktopList={{p = 0xbf8dab60, d = 0xbf8dab60}})
    at /build/buildd/kdepim-4.1.2/ktimetracker/desktoptracker.cpp:122
#25 0x08082efa in TaskView::deletingTask (this=0x9537e88, 
    deletedTask=0x96c3360)
    at /build/buildd/kdepim-4.1.2/ktimetracker/taskview.cpp:997
#26 0x08086b89 in TaskView::qt_metacall (this=0x9537e88, 
    _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xbf8dac90)
    at /build/buildd/kdepim-4.1.2/obj-i486-linux-gnu/ktimetracker/taskview.moc:191
#27 0xb7638a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb76397e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0x080775f5 in Task::deletingTask (this=0x96c3360, _t1=0x96c3360)
    at /build/buildd/kdepim-4.1.2/obj-i486-linux-gnu/ktimetracker/task.moc:93
#30 0x08077b93 in ~Task (this=0x96c3360)
    at /build/buildd/kdepim-4.1.2/ktimetracker/task.cpp:141
#31 0xb70affe1 in ?? () from /usr/lib/libQtGui.so.4
#32 0x0806df68 in KarmStorage::buildTaskView (this=0x9545f48, rc=0x960af50, 
    view=0x9537e88)
    at /build/buildd/kdepim-4.1.2/ktimetracker/karmstorage.cpp:242
#33 0x0806e859 in KarmStorage::buildTaskView (this=0x9545f48, view=0x9537e88)
    at /build/buildd/kdepim-4.1.2/ktimetracker/karmstorage.cpp:290
#34 0x08084283 in TaskView::deleteTask (this=0x9537e88, task=0x0)
    at /build/buildd/kdepim-4.1.2/ktimetracker/taskview.cpp:971
#35 0x0809376a in TimetrackerWidget::deleteTask (this=0x9331fb0)
    at /build/buildd/kdepim-4.1.2/ktimetracker/timetrackerwidget.cpp:723
#36 0x0809e65d in TimetrackerWidget::qt_metacall (this=0x9331fb0, 
    _c=QMetaObject::InvokeMetaMethod, _id=28, _a=0xbf8dafac)
    at /build/buildd/kdepim-4.1.2/obj-i486-linux-gnu/ktimetracker/timetrackerwidget.moc:198
#37 0xb7638a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#38 0xb7638e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#39 0xb6b6c5f1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#40 0xb6b6cf5f in QAction::activate () from /usr/lib/libQtGui.so.4
#41 0xb6f92592 in QToolButton::nextCheckState () from /usr/lib/libQtGui.so.4
#42 0xb6eb5cd3 in ?? () from /usr/lib/libQtGui.so.4
#43 0xb6eb5fa6 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#44 0xb6f92a8c in QToolButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#45 0xb6bca9a2 in QWidget::event () from /usr/lib/libQtGui.so.4
#46 0xb6eb3fbe in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#47 0xb6f92554 in QToolButton::event () from /usr/lib/libQtGui.so.4
#48 0xb6b728ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#49 0xb6b7b121 in QApplication::notify () from /usr/lib/libQtGui.so.4
#50 0xb7af272d in KApplication::notify (this=0xbf8dbe9c, receiver=0x952fe98, 
    event=0xbf8db5b8)
    at /build/buildd/kde4libs-4.1.2/kdeui/kernel/kapplication.cpp:311
#51 0xb7623e61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#52 0xb6b7a3ae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#53 0xb6be4696 in ?? () from /usr/lib/libQtGui.so.4
#54 0xb6be3a25 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#55 0xb6c0d7ea in ?? () from /usr/lib/libQtGui.so.4
#56 0xb5b526f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0xb5b55da3 in ?? () from /usr/lib/libglib-2.0.so.0
#58 0xb5b55f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#59 0xb764e478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#60 0xb6c0cee5 in ?? () from /usr/lib/libQtGui.so.4
#61 0xb762252a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#62 0xb76226ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#63 0xb7624da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#64 0xb6b72767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#65 0x08060d6a in main (argc=1, argv=0xbf8dc2c4)
    at /build/buildd/kdepim-4.1.2/ktimetracker/main.cpp:137
#0  0xb80db430 in __kernel_vsyscall ()
Comment 7 Dario Andres 2008-12-04 22:46:17 UTC
This seems to be related/duplicate of bug 166107 (supposed to be fixed in KDE4.1.0)
Comment 8 Thorsten Staerk 2008-12-22 15:24:29 UTC
bug 173543, bug 166107, bug 178202 and https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/274170 are similar or the same.

Thanks Richard, now that I am on holiday I see how much work you have invested.

I can only reproduce this bug on my kubuntu virtual machines, when compiling ktimetracker from trunk, it works. The bug at Ubuntu is now set to fixed, and they will soon take KDEPIM 4.1.4 for Kubuntu 8.10. I need to test again if 4.1.x has this bug fixed, then I set this bug to FIXED.
Comment 9 Thorsten Staerk 2008-12-22 15:42:09 UTC
SVN commit 900304 by tstaerk:

Tell the correct version so I can finally fix this bug...
BUGS:173543


 M  +1 -1      version.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=900304
Comment 10 Thorsten Staerk 2008-12-22 16:47:32 UTC
Here is the useful backtrace I get from KDE 4.1 from branch:

Application: KTimeTracker (ktimetracker), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
0x00007f9c0c10f615 in waitpid () from /lib64/libpthread.so.0

Thread 1 (Thread 0x7f9c0fec1700 (LWP 3358)):
[KCrash Handler]
#4  0x00007f9c0d404451 in ?? () from /usr/lib64/libQtGui.so.4
#5  0x00007f9c0d404685 in QTreeWidgetItemIterator::operator++ () from /usr/lib64/libQtGui.so.4
#6  0x000000000043c258 in TaskView::itemAt (this=<value optimized out>, i=0) at /root/kde-4.1/kdepim/ktimetracker/taskview.cpp:386
#7  0x000000000043c4fe in TaskView::count (this=0x82bc10) at /root/kde-4.1/kdepim/ktimetracker/taskview.cpp:612
#8  0x0000000000454bcb in TimetrackerWidget::slotUpdateButtons (this=0x74b890) at /root/kde-4.1/kdepim/ktimetracker/timetrackerwidget.cpp:630
#9  0x0000000000459472 in TimetrackerWidget::qt_metacall (this=0x74b890, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff17f093d0) at /root/kde-4.1/kdepim/ktimetracker/timetrackerwidget.moc:241
#10 0x00007f9c0c45a4e0 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#11 0x0000000000459a08 in TimetrackerWidget::qt_metacall (this=0x74b890, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff17f09560) at /root/kde-4.1/kdepim/ktimetracker/timetrackerwidget.moc:171
#12 0x00007f9c0c45a4e0 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#13 0x000000000043fb7a in TaskView::stopTimerFor (this=0x82bc10, task=0x82fc60) at /root/kde-4.1/kdepim/ktimetracker/taskview.cpp:757
#14 0x00000000004434e4 in TaskView::qt_metacall (this=0x82bc10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff17f097a0) at /root/kde-4.1/kdepim/ktimetracker/taskview.moc:194
#15 0x00007f9c0c45a4e0 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#16 0x0000000000420730 in DesktopTracker::leftActiveDesktop (this=0x79cad0, _t1=0x82fc60) at /root/kde-4.1/kdepim/ktimetracker/desktoptracker.moc:93
#17 0x000000000042100d in DesktopTracker::registerForDesktops (this=0x7c3320, task=0x82fc60, desktopList={{p = 0x7fff17f09910, d = 0x7fff17f09910}})
    at /root/kde-4.1/kdepim/ktimetracker/desktoptracker.cpp:122
#18 0x000000000043f8bb in TaskView::deletingTask (this=0x82bc10, deletedTask=0x82fc60) at /root/kde-4.1/kdepim/ktimetracker/taskview.cpp:997
#19 0x0000000000443540 in TaskView::qt_metacall (this=0x82bc10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff17f09ad0) at /root/kde-4.1/kdepim/ktimetracker/taskview.moc:191
#20 0x00007f9c0c45a4e0 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#21 0x0000000000434690 in Task::deletingTask (this=0x79cad0, _t1=0x82fc60) at /root/kde-4.1/kdepim/ktimetracker/task.moc:93
#22 0x0000000000434bbb in ~Task (this=0x79cad0) at /root/kde-4.1/kdepim/ktimetracker/task.cpp:141
#23 0x00007f9c0d3e09d3 in ?? () from /usr/lib64/libQtGui.so.4
#24 0x000000000042cba9 in KarmStorage::buildTaskView (this=<value optimized out>, rc=0x823470, view=0x82bc10) at /root/kde-4.1/kdepim/ktimetracker/karmstorage.cpp:242
#25 0x000000000042d513 in KarmStorage::buildTaskView (this=0x7de570, view=0x2) at /root/kde-4.1/kdepim/ktimetracker/karmstorage.cpp:290
#26 0x0000000000440c7b in TaskView::deleteTask (this=0x82bc10, task=0x7fff17f09dd0) at /root/kde-4.1/kdepim/ktimetracker/taskview.cpp:971
#27 0x00000000004597e5 in TimetrackerWidget::qt_metacall (this=0x74b890, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff17f0a070) at /root/kde-4.1/kdepim/ktimetracker/timetrackerwidget.moc:198
#28 0x00007f9c0c45a4e0 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#29 0x00007f9c0cf74827 in QAction::triggered () from /usr/lib64/libQtGui.so.4
#30 0x00007f9c0cf74fe0 in QAction::activate () from /usr/lib64/libQtGui.so.4
#31 0x00007f9c0d23ba9a in ?? () from /usr/lib64/libQtGui.so.4
#32 0x00007f9c0d23bd15 in QAbstractButton::mouseReleaseEvent () from /usr/lib64/libQtGui.so.4
#33 0x00007f9c0d2f144a in QToolButton::mouseReleaseEvent () from /usr/lib64/libQtGui.so.4
#34 0x00007f9c0cfc6484 in QWidget::event () from /usr/lib64/libQtGui.so.4
#35 0x00007f9c0cf7992d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#36 0x00007f9c0cf80566 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#37 0x00007f9c0dc7632b in KApplication::notify (this=0x7fff17f0b5f0, receiver=0x7f6160, event=0x7fff17f0a830) at /root/kdelibs/kdeui/kernel/kapplication.cpp:307
#38 0x00007f9c0c448e9c in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#39 0x00007f9c0cf81838 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/libQtGui.so.4
#40 0x00007f9c0cfd79fc in ?? () from /usr/lib64/libQtGui.so.4
#41 0x00007f9c0cfd6541 in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#42 0x00007f9c0cffa69c in ?? () from /usr/lib64/libQtGui.so.4
#43 0x00007f9c0c4477f2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#44 0x00007f9c0c447985 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#45 0x00007f9c0c449a25 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#46 0x000000000041ee22 in main (argc=1, argv=0x7fff17f0c0a8) at /root/kde-4.1/kdepim/ktimetracker/main.cpp:137

Comment 11 Thorsten Staerk 2008-12-22 16:49:07 UTC
I accidentially set this bug to fixed - it is open, needs fixing in 4.1 branch.
Comment 12 Thorsten Staerk 2008-12-22 17:02:39 UTC
This bug was fixed 5 months and one week ago with revision 830758: "Change deleting a task so that ktimetracker neither crashes nor folds
all tasks.". See http://websvn.kde.org/?view=rev&revision=830758

KDE 4.1 was branched 5 months and two weeks ago

funny....
Comment 13 Thorsten Staerk 2008-12-22 17:17:14 UTC
SVN commit 900343 by tstaerk:

Backporting 830758: Do not crash when deleting the last task.
BUGS:173543


 M  +10 -0     task.cpp  
 M  +2 -0      task.h  
 M  +2 -1      taskview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=900343