Bug 324085 - korganizer crashed when deleting todo with sub todo
Summary: korganizer crashed when deleting todo with sub todo
Status: RESOLVED UNMAINTAINED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.11
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-26 22:01 UTC by Martin Koller
Modified: 2017-01-07 21:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2013-08-26 22:01:24 UTC
Application: korganizer (4.11)
KDE Platform Version: 4.11.00
Qt Version: 4.8.5
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

In korganizer I simply deleted a TODO which had exactly one sub-todo via the right-mouse button context menu

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#5  0x00007fafd0301494 in QObject::thread (this=this@entry=0x702b0b0) at kernel/qobject.cpp:1379
#6  0x00007fafd03041b8 in QObject::QObject (this=0x73adf30, parent=0x702b0b0) at kernel/qobject.cpp:724
#7  0x00007fafd077e36c in KJob::KJob(KJobPrivate&, QObject*) () from /usr/lib64/libkdecore.so.5
#8  0x00007fafd077db0c in KCompositeJob::KCompositeJob(QObject*) () from /usr/lib64/libkdecore.so.5
#9  0x00007fafca812f24 in Akonadi::Job::Job (this=0x73adf30, dd=0x700d5d0, parent=0x702b0b0) at /usr/src/debug/kdepimlibs-4.11.0/akonadi/job.cpp:258
#10 0x00007fafca7fe1bb in Akonadi::ItemDeleteJob::ItemDeleteJob (this=0x73adf30, items=..., parent=0x702b0b0) at /usr/src/debug/kdepimlibs-4.11.0/akonadi/itemdeletejob.cpp:70
#11 0x00007fafc96ff799 in Akonadi::IncidenceChanger::deleteIncidences (this=this@entry=0x2792050, items=..., parent=parent@entry=0x27be2a0) at /usr/src/debug/kdepimlibs-4.11.0/akonadi/calendar/incidencechanger.cpp:836
#12 0x00007fafc96ffe08 in Akonadi::IncidenceChanger::deleteIncidence (this=0x2792050, item=..., parent=0x27be2a0) at /usr/src/debug/kdepimlibs-4.11.0/akonadi/calendar/incidencechanger.cpp:757
#13 0x00007fafd0fbd852 in CalendarView::deleteSubTodosIncidence (this=this@entry=0x27be2a0, todoItem=...) at /usr/src/debug/kdepim-4.11.0/korganizer/calendarview.cpp:2347
#14 0x00007fafd0fbdc9a in CalendarView::deleteTodoIncidence (this=this@entry=0x27be2a0, todoItem=..., force=force@entry=false) at /usr/src/debug/kdepim-4.11.0/korganizer/calendarview.cpp:2395
#15 0x00007fafd0fbec37 in CalendarView::deleteIncidence (this=0x27be2a0, item=..., force=force@entry=false) at /usr/src/debug/kdepim-4.11.0/korganizer/calendarview.cpp:2437
#16 0x00007fafd0fc5978 in CalendarView::qt_static_metacall (_o=0x27be2a0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-4.11.0/build/korganizer/calendarview.moc:441
#17 0x00007fafd030544f in QMetaObject::activate (sender=0x29af0e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb0fa0020) at kernel/qobject.cpp:3556
#18 0x00007fafd0d48175 in KOrg::BaseView::deleteIncidenceSignal (this=<optimized out>, _t1=...) at /usr/src/debug/kdepim-4.11.0/build/korganizer/interfaces/korganizer/baseview.moc:210
#19 0x00007fafd030544f in QMetaObject::activate (sender=0x2ad77a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb0fa0170) at kernel/qobject.cpp:3556
#20 0x00007fafc9162345 in EventViews::EventView::deleteIncidenceSignal (this=<optimized out>, _t1=...) at /usr/src/debug/kdepim-4.11.0/build/calendarviews/eventview.moc:233
#21 0x00007fafc91db0b4 in EventViews::TodoView::deleteTodo (this=0x2ad77a0) at /usr/src/debug/kdepim-4.11.0/calendarviews/todo/todoview.cpp:833
#22 0x00007fafc91df5c5 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdepim-4.11.0/build/calendarviews/todoview.moc:139
#23 EventViews::TodoView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-4.11.0/build/calendarviews/todoview.moc:109
#24 0x00007fafd030544f in QMetaObject::activate (sender=0x2a9cb30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb0fa0350) at kernel/qobject.cpp:3556
#25 0x00007fafcf692722 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#26 0x00007fafcf692910 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#27 0x00007fafcfacd4a3 in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007fafcfad3899 in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00007fafcf6e83f9 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#30 0x00007fafcfad4b4b in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#31 0x00007fafcf69892c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#32 0x00007fafcf69d60b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#33 0x00007fafd20cbf76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#34 0x00007fafd02eff3e in QCoreApplication::notifyInternal (this=0x7fffb0fa1af0, receiver=0x29e1250, event=0x7fffb0fa0d40) at kernel/qcoreapplication.cpp:949
#35 0x00007fafcf69976b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#36 0x00007fafcf713f3c in ?? () from /usr/lib64/libQtGui.so.4
#37 0x00007fafcf712e01 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#38 0x00007fafcf739192 in ?? () from /usr/lib64/libQtGui.so.4
#39 0x00007fafc75f77d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#40 0x00007fafc75f7b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#41 0x00007fafc75f7bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#42 0x00007fafd031e5b6 in QEventDispatcherGlib::processEvents (this=0x2586180, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#43 0x00007fafcf738e0e in ?? () from /usr/lib64/libQtGui.so.4
#44 0x00007fafd02eebef in QEventLoop::processEvents (this=this@entry=0x7fffb0fa1880, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007fafd02eee78 in QEventLoop::exec (this=0x7fffb0fa1880, flags=...) at kernel/qeventloop.cpp:204
#46 0x00007fafd02f3bb8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#47 0x00000000004085fa in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.11.0/korganizer/main.cpp:60

Possible duplicates by query: bug 304244, bug 299295, bug 294851.

Reported using DrKonqi
Comment 1 Martin Koller 2013-08-26 22:05:07 UTC
I checked and could reproduce the problem.
In fact the TODO I tried to delete had some completed sub-todos, which were not displayed when I tried to remove the parent TODO.
The crash happend when korganizer asked we if I'd like to send an update email.
The steps: I right-clicked on the parent TODO, selected "Delete All" and in the "send update" dialog I clicked "Do not send" -> crash
Comment 2 Denis Kurz 2016-09-24 18:46:25 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of korganizer (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 21:47:03 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.