Bug 201239 - Kontact crashes during reassignment of sub-task as independent task
Summary: Kontact crashes during reassignment of sub-task as independent task
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-23 16:22 UTC by Henrik Klagges
Modified: 2017-06-24 00:08 UTC (History)
2 users (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 Henrik Klagges 2009-07-23 16:22:15 UTC
Application that crashed: kontact
Version of the application: 4.3.0 rc2
KDE Version: 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-14-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
- Select a subtask of a task in the task list of Kontact
- open the menu on the subtask, e.g. with right-click
- select the menu entry that would dissociate the subtask from
  its parent task and re-enter it as a new task
- immediate crash after selection of the menu entry.

Note: I have a filter active that filters out the display of "done" tasks.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  0xb6791d2a in QSortFilterProxyModelPrivate::source_to_proxy (this=0xdbb17e0, source_index=@0xbfe9223c) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:369
#7  0xb6791e23 in QSortFilterProxyModel::mapFromSource (this=0xda27ef0, sourceIndex=@0xbfe9223c) at itemviews/qsortfilterproxymodel.cpp:2358
#8  0xb678c362 in QSortFilterProxyModel::parent (this=0xda27ef0, child=@0xdbf1158) at itemviews/qsortfilterproxymodel.cpp:1522
#9  0xb5c9d34a in QPersistentModelIndex::parent (this=0xeacde14) at kernel/qabstractitemmodel.h:369
#10 0xb675d786 in QItemSelectionModelPrivate::_q_rowsAboutToBeInserted (this=0xdbc53c8, parent=@0xbfe92538, start=0, end=0) at itemviews/qitemselectionmodel.h:108
#11 0xb675e48f in QItemSelectionModel::qt_metacall (this=0xdbc53b8, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfe92494) at .moc/release-shared/moc_qitemselectionmodel.cpp:132
#12 0xb5cbeca8 in QMetaObject::activate (sender=0xda27ef0, from_signal_index=8, to_signal_index=8, argv=0xbfe92494) at kernel/qobject.cpp:3069
#13 0xb5cbf932 in QMetaObject::activate (sender=0xda27ef0, m=0xb5d9b4f8, local_signal_index=4, argv=0xbfe92494) at kernel/qobject.cpp:3143
#14 0xb5cf997f in QAbstractItemModel::rowsAboutToBeInserted (this=0xda27ef0, _t1=@0xbfe92538, _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:152
#15 0xb5ca0385 in QAbstractItemModel::beginInsertRows (this=0xda27ef0, parent=@0xbfe92538, first=0, last=0) at kernel/qabstractitemmodel.cpp:2063
#16 0xb678eb62 in QSortFilterProxyModelPrivate::insert_source_items (this=0xdbb17e0, source_to_proxy=@0xf2fd958, proxy_to_source=@0xf2fd950, source_items=@0xbfe92604, source_parent=@0xbfe927a4, 
    orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:605
#17 0xb6793478 in QSortFilterProxyModelPrivate::source_items_inserted (this=0xdbb17e0, source_parent=@0xbfe927a4, start=0, end=0, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:713
#18 0xb679368f in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xdbb17e0, source_parent=@0xbfe927a4, start=0, end=0) at itemviews/qsortfilterproxymodel.cpp:1150
#19 0xb679471f in QSortFilterProxyModel::qt_metacall (this=0xda27ef0, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfe92764) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:126
#20 0xac82f60a in KOTodoViewSortFilterProxyModel::qt_metacall (this=0xda27ef0, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0xbfe92764)
    at /build/buildd/kdepim-4.2.96/obj-i486-linux-gnu/korganizer/kotodoviewsortfilterproxymodel.moc:62
#21 0xb5cbeca8 in QMetaObject::activate (sender=0xdba5c60, from_signal_index=9, to_signal_index=9, argv=0xbfe92764) at kernel/qobject.cpp:3069
#22 0xb5cbf932 in QMetaObject::activate (sender=0xdba5c60, m=0xb5d9b4f8, local_signal_index=5, argv=0xbfe92764) at kernel/qobject.cpp:3143
#23 0xb5cf991f in QAbstractItemModel::rowsInserted (this=0xdba5c60, _t1=@0xbfe927a4, _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:159
#24 0xb5ca39e3 in QAbstractItemModel::endInsertRows (this=0xdba5c60) at kernel/qabstractitemmodel.cpp:2081
#25 0xac828694 in KOTodoModel::insertTodo (this=0xdba5c60, todo=0xab7bba48, checkRelated=true) at /build/buildd/kdepim-4.2.96/korganizer/views/todoview/kotodomodel.cpp:531
#26 0xac829756 in KOTodoModel::reloadTodos (this=0xdba5c60) at /build/buildd/kdepim-4.2.96/korganizer/views/todoview/kotodomodel.cpp:234
#27 0xac831a50 in KOTodoView::updateView (this=0xdbb7ff0) at /build/buildd/kdepim-4.2.96/korganizer/views/todoview/kotodoview.cpp:395
#28 0xac86203c in KOViewManager::updateView (this=0xd9e9b90, start=@0xdc0ec1c, end=@0xdc0ec34) at /build/buildd/kdepim-4.2.96/korganizer/koviewmanager.cpp:219
#29 0xac8505b7 in CalendarView::updateView (this=0xd9d4718, start=@0xdc0ec1c, end=@0xdc0ec34, updateTodos=true) at /build/buildd/kdepim-4.2.96/korganizer/calendarview.cpp:801
#30 0xac85228d in CalendarView::updateView (this=0xd9d4718) at /build/buildd/kdepim-4.2.96/korganizer/calendarview.cpp:810
#31 0xac84fd70 in CalendarView::resourcesChanged (this=0xd9d4718) at /build/buildd/kdepim-4.2.96/korganizer/calendarview.cpp:2528
#32 0xac86026a in CalendarView::qt_metacall (this=0xd9d4718, _c=QMetaObject::InvokeMetaMethod, _id=174, _a=0xbfe92c58)
    at /build/buildd/kdepim-4.2.96/obj-i486-linux-gnu/korganizer/calendarview.moc:571
#33 0xb5cbeca8 in QMetaObject::activate (sender=0xdba8388, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#34 0xb5cbf932 in QMetaObject::activate (sender=0xdba8388, m=0xb744de2c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3143
#35 0xb73b4a67 in KCal::Calendar::calendarChanged (this=0xdba8388) at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/kcal/calendar.moc:86
#36 0xb73b4ad5 in KCal::Calendar::qt_metacall (this=0xdba8388, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfe92dcc) at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/kcal/calendar.moc:73
#37 0xb74192fa in KCal::CalendarResources::qt_metacall (this=0xdba8388, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfe92dcc)
    at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/kcal/calendarresources.moc:76
#38 0xb5cbeca8 in QMetaObject::activate (sender=0xdbb5150, from_signal_index=4, to_signal_index=4, argv=0xbfe92dcc) at kernel/qobject.cpp:3069
#39 0xb5cbf932 in QMetaObject::activate (sender=0xdbb5150, m=0xb744e7b4, local_signal_index=0, argv=0xbfe92dcc) at kernel/qobject.cpp:3143
#40 0xb7407213 in KCal::ResourceCalendar::resourceChanged (this=0xdbb5150, _t1=0xdbb5150) at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/kcal/resourcecalendar.moc:117
#41 0xabc5c744 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#42 0xabc5d581 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#43 0xb5cbeca8 in QMetaObject::activate (sender=0xdc0d8f0, from_signal_index=5, to_signal_index=5, argv=0xbfe92f78) at kernel/qobject.cpp:3069
#44 0xb5cbf932 in QMetaObject::activate (sender=0xdc0d8f0, m=0xabc8e6d4, local_signal_index=1, argv=0xbfe92f78) at kernel/qobject.cpp:3143
#45 0xabc64c99 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#46 0xabc65b66 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#47 0xabc7d86f in ?? () from /usr/lib/kde4/kcal_akonadi.so
#48 0xabc5f4ff in ?? () from /usr/lib/kde4/kcal_akonadi.so
#49 0xabc680af in ?? () from /usr/lib/kde4/kcal_akonadi.so
#50 0xabc6a64a in ?? () from /usr/lib/kde4/kcal_akonadi.so
#51 0xb5cbeca8 in QMetaObject::activate (sender=0xdbb2198, from_signal_index=4, to_signal_index=4, argv=0xbfe931f8) at kernel/qobject.cpp:3069
#52 0xb5cbf932 in QMetaObject::activate (sender=0xdbb2198, m=0xac5e3d0c, local_signal_index=0, argv=0xbfe931f8) at kernel/qobject.cpp:3143
#53 0xac56ef49 in Akonadi::Monitor::itemChanged (this=0xdbb2198, _t1=@0xbfe93270, _t2=@0xbfe93260) at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/akonadi/monitor.moc:145
#54 0xac5734bb in Akonadi::MonitorPrivate::emitItemNotification (this=0xc4dedb8, msg=@0xbfe93324, item=@0xbfe93320, collection=@0xbfe9331c, collectionDest=@0xbfe93318)
    at /build/buildd/kdepimlibs-4.2.96/akonadi/monitor_p.cpp:202
#55 0xac573b95 in Akonadi::MonitorPrivate::slotItemJobFinished (this=0xc4dedb8, job=0x1026c9e8) at /build/buildd/kdepimlibs-4.2.96/akonadi/monitor_p.cpp:274
#56 0xac56efeb in Akonadi::Monitor::qt_metacall (this=0xdbb2198, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0xbfe9342c) at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/akonadi/monitor.moc:132
#57 0xb5cbeca8 in QMetaObject::activate (sender=0x1026c9e8, from_signal_index=7, to_signal_index=7, argv=0xbfe9342c) at kernel/qobject.cpp:3069
#58 0xb5cbf932 in QMetaObject::activate (sender=0x1026c9e8, m=0xb6040da8, local_signal_index=3, argv=0xbfe9342c) at kernel/qobject.cpp:3143
#59 0xb5ee5cb3 in KJob::result (this=0x1026c9e8, _t1=0x1026c9e8) at /build/buildd/kde4libs-4.2.96/obj-i486-linux-gnu/kdecore/kjob.moc:188
#60 0xb5ee6159 in KJob::emitResult (this=0x1026c9e8) at /build/buildd/kde4libs-4.2.96/kdecore/jobs/kjob.cpp:304
#61 0xac56acc7 in Akonadi::JobPrivate::handleResponse (this=0xe8421b0, tag=@0xbfe9351c, data=@0xbfe93518) at /build/buildd/kdepimlibs-4.2.96/akonadi/job.cpp:67
#62 0xac58ee7b in Akonadi::SessionPrivate::dataReceived (this=0xdc0ddf8) at /build/buildd/kdepimlibs-4.2.96/akonadi/session.cpp:121
#63 0xac58fbee in Akonadi::Session::qt_metacall (this=0xe83a948, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfe93608) at /build/buildd/kdepimlibs-4.2.96/obj-i486-linux-gnu/akonadi/session.moc:81
#64 0xb5cbeca8 in QMetaObject::activate (sender=0xe9df8f8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#65 0xb5cbf932 in QMetaObject::activate (sender=0xe9df8f8, m=0xb5d9b028, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3143
#66 0xb5cf87b7 in QIODevice::readyRead (this=0xe9df8f8) at .moc/release-shared/moc_qiodevice.cpp:85
#67 0xb5cf888d in QIODevice::qt_metacall (this=0xe9df8f8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfe93728) at .moc/release-shared/moc_qiodevice.cpp:71
#68 0xb6b1f41a in QLocalSocket::qt_metacall (this=0xe9df8f8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfe93728) at .moc/release-shared/moc_qlocalsocket.cpp:75
#69 0xb5cbeca8 in QMetaObject::activate (sender=0xdc132fc, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#70 0xb5cbf932 in QMetaObject::activate (sender=0xdc132fc, m=0xb5d9b028, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3143
#71 0xb5cf87b7 in QIODevice::readyRead (this=0xdc132fc) at .moc/release-shared/moc_qiodevice.cpp:85
#72 0xb6b197f2 in QAbstractSocketPrivate::canReadNotification (this=0xebfc530) at socket/qabstractsocket.cpp:602
#73 0xb6b0677b in QAbstractSocketEngine::readNotification (this=0xe7dca40) at socket/qabstractsocketengine.cpp:154
#74 0xb6b07ad6 in QReadNotifier::event (this=0xdff1320, e=0xbfe93b20) at socket/qnativesocketengine.cpp:1036
#75 0xb6189e9c in QApplicationPrivate::notify_helper (this=0x9ef8978, receiver=0xdff1320, e=0xbfe93b20) at kernel/qapplication.cpp:4084
#76 0xb619219e in QApplication::notify (this=0xbfe93da8, receiver=0xdff1320, e=0xbfe93b20) at kernel/qapplication.cpp:3631
#77 0xb6db04dd in KApplication::notify (this=0xbfe93da8, receiver=0xdff1320, event=0xbfe93b20) at /build/buildd/kde4libs-4.2.96/kdeui/kernel/kapplication.cpp:302
#78 0xb5ca8a3b in QCoreApplication::notifyInternal (this=0xbfe93da8, receiver=0xdff1320, event=0xbfe93b20) at kernel/qcoreapplication.cpp:602
#79 0xb5cd46ca in socketNotifierSourceDispatch (source=0x9efbd08) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#80 0xb4d6db88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#81 0xb4d710eb in ?? () from /usr/lib/libglib-2.0.so.0
#82 0xb4d71268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#83 0xb5cd4438 in QEventDispatcherGlib::processEvents (this=0x9ed3028, flags={i = -1075233672}) at kernel/qeventdispatcher_glib.cpp:323
#84 0xb622b365 in QGuiEventDispatcherGlib::processEvents (this=0x9ed3028, flags={i = -1075233624}) at kernel/qguieventdispatcher_glib.cpp:202
#85 0xb5ca706a in QEventLoop::processEvents (this=0xbfe93d20, flags={i = -1075233560}) at kernel/qeventloop.cpp:149
#86 0xb5ca74aa in QEventLoop::exec (this=0xbfe93d20, flags={i = -1075233496}) at kernel/qeventloop.cpp:200
#87 0xb5ca9959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#88 0xb6189d17 in QApplication::exec () at kernel/qapplication.cpp:3553
#89 0x0804bfef in main (argc=1, argv=0xbfe940a4) at /build/buildd/kdepim-4.2.96/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2009-11-16 15:42:24 UTC
I'm a bit confused about this report and the steps to reproduce:

- Select a subtask of a task in the task list of Kontact
- open the menu on the subtask, e.g. with right-click
- select the menu entry that would dissociate the subtask from
  its parent task and re-enter it as a new task


Just to be sure, you're talking about the timetracker tasks or something totally different (such as the korganizer todo) ?

In the timetracker part, there's no RMB contextual menu (probably a bug) and dragging a subtask to make it a parent task doesn't crash kontact. I also tested with a standalone Ktimetracker which has the contextual menu but no option there to dissociate a task.

Just in case, I also tested with the TODO view from korganizer, making a subtask independant is working as expected.
Comment 2 Denis Kurz 2017-06-24 00:08:12 UTC
Closing due to lack of feedback