Bug 254554

Summary: kontact crashed when trying to apply a newly created filter to the to-do list
Product: [Applications] kontact Reporter: Craig Magina <Craig.Magina>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: smartins
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Craig Magina 2010-10-18 16:55:01 UTC
Application: kontact (4.4.6)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
I created a few new filters, clicked ok to go back to the make application.  I selected one of my newly created filters and it crashed.  When it came back up, all of the new filters were gone.  I had created a single filter a week prior and that one works and is still present.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f0fd88c9780 (LWP 10341))]

Thread 2 (Thread 0x7f0fb1df5710 (LWP 10345)):
#0  0x00007f0fd58fa1e3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0fce668009 in g_main_context_poll (context=0x7f0fac0009a0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:3093
#2  g_main_context_iterate (context=0x7f0fac0009a0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2775
#3  0x00007f0fce66845c in g_main_context_iteration (context=0x7f0fac0009a0, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#4  0x00007f0fd603e1e6 in QEventDispatcherGlib::processEvents (this=0x7f0fac0008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f0fd6010a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f0fd6010dec in QEventLoop::exec (this=0x7f0fb1df4d90, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f0fd5f1b2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f0fd5ff05f8 in QInotifyFileSystemWatcherEngine::run (this=0x11baf80) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f0fd5f1e27e in QThreadPrivate::start (arg=0x11baf80) at thread/qthread_unix.cpp:266
#10 0x00007f0fd09f7971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007f0fd590692d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0fd88c9780 (LWP 10341)):
[KCrash Handler]
#6  QModelIndex (this=0x137c6e0, child=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x137c6e0, child=...) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007f0fd60093bc in parent (this=0x137c710, parent=..., first=<value optimized out>, last=<value optimized out>) at kernel/qabstractitemmodel.h:389
#9  QAbstractItemModelPrivate::rowsAboutToBeRemoved (this=0x137c710, parent=..., first=<value optimized out>, last=<value optimized out>) at kernel/qabstractitemmodel.cpp:726
#10 0x00007f0fd6fa7759 in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0x137c710, source_to_proxy=<value optimized out>, proxy_to_source=..., proxy_start=1, proxy_end=1, proxy_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:555
#11 0x00007f0fd6faae80 in QSortFilterProxyModelPrivate::remove_source_items (this=0x137c710, source_to_proxy=..., proxy_to_source=<value optimized out>, source_items=<value optimized out>, source_parent=<value optimized out>, orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:537
#12 0x00007f0fd6fab0b4 in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=<value optimized out>, source_parent=<value optimized out>, start=1, end=1, orient=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:838
#13 0x00007f0fd6fae144 in QSortFilterProxyModel::qt_metacall (this=0x137c6e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbc0a1f00) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:136
#14 0x00007f0fb4af2290 in KOTodoViewSortFilterProxyModel::qt_metacall (this=0x7fffbc0a1ae0, _c=20432608, _id=-1140188288, _a=0x137c6e0) at ./kotodoviewsortfilterproxymodel.moc:68
#15 0x00007f0fd6029b27 in QMetaObject::activate (sender=0x137b8d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x137c6e0) at kernel/qobject.cpp:3280
#16 0x00007f0fd6075154 in QAbstractItemModel::rowsAboutToBeRemoved (this=0x7fffbc0a1ae0, _t1=<value optimized out>, _t2=1, _t3=1) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#17 0x00007f0fd6009693 in QAbstractItemModel::beginRemoveRows (this=0x137b8d0, parent=..., first=1, last=1) at kernel/qabstractitemmodel.cpp:2450
#18 0x00007f0fb4aed9df in deleteMarked (this=0x137b8d0) at ../../korganizer/views/todoview/kotodomodel.cpp:115
#19 deleteMarked (this=0x137b8d0) at ../../korganizer/views/todoview/kotodomodel.cpp:122
#20 KOTodoModel::reloadTodos (this=0x137b8d0) at ../../korganizer/views/todoview/kotodomodel.cpp:250
#21 0x00007f0fb4b11a6a in CalendarView::updateView (this=0x1137470, start=..., end=..., updateTodos=<value optimized out>) at ../../korganizer/calendarview.cpp:810
#22 0x00007f0fb4b13b38 in CalendarView::updateView (this=0x1137470) at ../../korganizer/calendarview.cpp:821
#23 0x00007f0fb4b1165e in CalendarView::filterActivated (this=0x1137470, filterNo=<value optimized out>) at ../../korganizer/calendarview.cpp:2072
#24 0x00007f0fb4b229ae in CalendarView::qt_metacall (this=0x1137470, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbc0a25b0) at ./calendarview.moc:588
#25 0x00007f0fd6029b27 in QMetaObject::activate (sender=0x148fdf0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x137c6e0) at kernel/qobject.cpp:3280
#26 0x00007f0fd7639881 in KSelectAction::triggered (this=0x7fffbc0a1ae0, _t1=2) at ./kselectaction.moc:183
#27 0x00007f0fd763a834 in KSelectAction::actionTriggered (this=0x148fdf0, action=0x1743bc0) at ../../kdeui/actions/kselectaction.cpp:331
#28 0x00007f0fd763c9e5 in KSelectAction::qt_metacall (this=0x148fdf0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbc0a2780) at ./kselectaction.moc:121
#29 0x00007f0fd6029b27 in QMetaObject::activate (sender=0x1498660, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x137c6e0) at kernel/qobject.cpp:3280
#30 0x00007f0fd69c574f in QActionGroup::triggered (this=0x7fffbc0a1ae0, _t1=0x1743bc0) at .moc/release-shared/moc_qactiongroup.cpp:146
#31 0x00007f0fd69c5b37 in QActionGroupPrivate::_q_actionTriggered (this=<value optimized out>) at kernel/qactiongroup.cpp:93
#32 0x00007f0fd69c5e71 in QActionGroup::qt_metacall (this=0x1498660, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbc0a28e0) at .moc/release-shared/moc_qactiongroup.cpp:101
#33 0x00007f0fd6029b27 in QMetaObject::activate (sender=0x1743bc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x137c6e0) at kernel/qobject.cpp:3280
#34 0x00007f0fd69c0852 in QAction::triggered (this=0x7fffbc0a1ae0, _t1=true) at .moc/release-shared/moc_qaction.cpp:263
#35 0x00007f0fd69c1f5b in QAction::activate (this=0x1743bc0, event=<value optimized out>) at kernel/qaction.cpp:1256
#36 0x00007f0fd6e28dc1 in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x1743bc0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#37 0x00007f0fd6e2e782 in QMenuPrivate::activateAction (this=0x1498900, action=0x1743bc0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#38 0x00007f0fd77fbe8e in KMenu::mouseReleaseEvent (this=0x14988c0, e=0x137c6e0) at ../../kdeui/widgets/kmenu.cpp:471
#39 0x00007f0fd6a1e04e in QWidget::event (this=0x14988c0, event=0x7fffbc0a3530) at kernel/qwidget.cpp:8187
#40 0x00007f0fd6e3090b in QMenu::event (this=0x14988c0, e=0x7fffbc0a3530) at widgets/qmenu.cpp:2410
#41 0x00007f0fd69c7fdc in QApplicationPrivate::notify_helper (this=0x7cc310, receiver=0x14988c0, e=0x7fffbc0a3530) at kernel/qapplication.cpp:4396
#42 0x00007f0fd69ce30e in QApplication::notify (this=0x7fffbc0a4240, receiver=0x14988c0, e=0x7fffbc0a3530) at kernel/qapplication.cpp:3959
#43 0x00007f0fd771b4d6 in KApplication::notify (this=0x7fffbc0a4240, receiver=0x14988c0, event=0x7fffbc0a3530) at ../../kdeui/kernel/kapplication.cpp:310
#44 0x00007f0fd6011cdc in QCoreApplication::notifyInternal (this=0x7fffbc0a4240, receiver=0x14988c0, event=0x7fffbc0a3530) at kernel/qcoreapplication.cpp:732
#45 0x00007f0fd69ccdbe in sendEvent (receiver=0x14988c0, event=0x7fffbc0a3530, alienWidget=0x0, nativeWidget=0x14988c0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QApplicationPrivate::sendMouseEvent (receiver=0x14988c0, event=0x7fffbc0a3530, alienWidget=0x0, nativeWidget=0x14988c0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#47 0x00007f0fd6a507bd in QETWidget::translateMouseEvent (this=0x14988c0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4337
#48 0x00007f0fd6a4ec5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffbc0a3e50) at kernel/qapplication_x11.cpp:3536
#49 0x00007f0fd6a7b0e2 in x11EventSourceDispatch (s=0x7d7280, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#50 0x00007f0fce664342 in g_main_dispatch (context=0x7d6120) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2149
#51 g_main_context_dispatch (context=0x7d6120) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2702
#52 0x00007f0fce6682a8 in g_main_context_iterate (context=0x7d6120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2780
#53 0x00007f0fce66845c in g_main_context_iteration (context=0x7d6120, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#54 0x00007f0fd603e193 in QEventDispatcherGlib::processEvents (this=0x79be90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#55 0x00007f0fd6a7aa4e in QGuiEventDispatcherGlib::processEvents (this=0x7fffbc0a1ae0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007f0fd6010a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#57 0x00007f0fd6010dec in QEventLoop::exec (this=0x7fffbc0a4180, flags=) at kernel/qeventloop.cpp:201
#58 0x00007f0fd6014ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#59 0x0000000000403b4e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

Possible duplicates by query: bug 250138, bug 250075, bug 248473, bug 241689, bug 239027.

Reported using DrKonqi
Comment 1 Sergio Martins 2012-11-28 23:54:16 UTC
Fixed for 4.11