Bug 306080

Summary: KMail crashed after removing a folder
Product: [Applications] kontact Reporter: Diego <diego.ml>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.8.x   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Diego 2012-08-31 13:30:36 UTC
Application: kontact (4.8.5)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.2
Operating System: Linux 3.5.2-3.fc17.x86_64 x86_64
Distribution: "Fedora release 17 (Beefy Miracle)"

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

I removed a folder from an IMAP resource and Kontact/Kmail crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f08985ba880 (LWP 2270))]

Thread 4 (Thread 0x7f088b23a700 (LWP 2271)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00007f08af13177d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f08afb1b980) at wtf/FastMalloc.cpp:2495
#2  0x00007f08af131889 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f08a9f1fd14 in start_thread (arg=0x7f088b23a700) at pthread_create.c:309
#4  0x00007f08a91c467d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f088a939700 (LWP 2272)):
#0  0x00007fffbf3ff827 in clock_gettime ()
#1  0x00007f08a72e810d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f08aa2054a4 in do_gettime (frac=0x7f088a938aa8, sec=0x7f088a938aa0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f08aa2d8d0d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f0884002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f08aa2d9053 in QTimerInfoList::timerWait (this=0x7f0884002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f08aa2d7bcc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f088a938b7c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f08a6cb419f in g_main_context_prepare (context=context@entry=0x7f08840009a0, priority=priority@entry=0x7f088a938bc8) at gmain.c:2836
#8  0x00007f08a6cb488b in g_main_context_iterate (context=context@entry=0x7f08840009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3126
#9  0x00007f08a6cb4a84 in g_main_context_iteration (context=0x7f08840009a0, may_block=1) at gmain.c:3207
#10 0x00007f08aa2d8506 in QEventDispatcherGlib::processEvents (this=0x7f08840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007f08aa2a913f in QEventLoop::processEvents (this=this@entry=0x7f088a938d20, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f08aa2a93c8 in QEventLoop::exec (this=0x7f088a938d20, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007f08aa1ac650 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#14 0x00007f08aa1af5eb in QThreadPrivate::start (arg=0x2429da0) at thread/qthread_unix.cpp:307
#15 0x00007f08a9f1fd14 in start_thread (arg=0x7f088a939700) at pthread_create.c:309
#16 0x00007f08a91c467d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f083b4c1700 (LWP 20162)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:218
#1  0x00007f08aa1afa47 in wait (time=30000, this=0x2bb6eb0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2bb6e28, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f08aa1a336f in QThreadPoolThread::run (this=0x2bca4e0) at concurrent/qthreadpool.cpp:141
#4  0x00007f08aa1af5eb in QThreadPrivate::start (arg=0x2bca4e0) at thread/qthread_unix.cpp:307
#5  0x00007f08a9f1fd14 in start_thread (arg=0x7f083b4c1700) at pthread_create.c:309
#6  0x00007f08a91c467d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f08985ba880 (LWP 2270)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fffbf3615f0) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x28e3460, child=...) at itemviews/qsortfilterproxymodel.cpp:1659
#8  0x00007f08abbd02ca in parent (this=0x7fffbf361640) at /usr/include/QtCore/qabstractitemmodel.h:393
#9  KIdentityProxyModel::parent (this=0x2a7aec0, child=...) at /usr/src/debug/kdelibs-4.8.5/kdeui/itemviews/kidentityproxymodel.cpp:359
#10 0x00007f08a5b46673 in parent (this=0x7fffbf3616a0) at /usr/include/QtCore/qabstractitemmodel.h:393
#11 KPIM::StatisticsProxyModel::parent (this=0x2a7bbd0, child=...) at /usr/src/debug/kdepim-4.8.5/libkdepim/statisticsproxymodel.cpp:346
#12 0x00007f08aa2a0d80 in parent (this=<optimized out>) at kernel/qabstractitemmodel.h:393
#13 QAbstractItemModelPrivate::rowsAboutToBeRemoved (this=this@entry=0x2a7bc00, parent=..., first=first@entry=0, last=last@entry=0) at kernel/qabstractitemmodel.cpp:726
#14 0x00007f08aa2a1c86 in QAbstractItemModel::beginRemoveRows (this=0x2a7bbd0, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2471
#15 0x00007f08abbd0ecd in KIdentityProxyModelPrivate::_k_sourceRowsAboutToBeRemoved (this=<optimized out>, parent=..., start=0, end=0) at /usr/src/debug/kdelibs-4.8.5/kdeui/itemviews/kidentityproxymodel.cpp:714
#16 0x00007f08aa2c0b9f in QMetaObject::activate (sender=0x2a7aec0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbf361990) at kernel/qobject.cpp:3547
#17 0x00007f08aa309434 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:203
#18 0x00007f08aa2a1c76 in QAbstractItemModel::beginRemoveRows (this=0x2a7aec0, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2470
#19 0x00007f08abbd0ecd in KIdentityProxyModelPrivate::_k_sourceRowsAboutToBeRemoved (this=<optimized out>, parent=..., start=0, end=0) at /usr/src/debug/kdelibs-4.8.5/kdeui/itemviews/kidentityproxymodel.cpp:714
#20 0x00007f08aa2c0b9f in QMetaObject::activate (sender=0x28e3460, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbf361b90) at kernel/qobject.cpp:3547
#21 0x00007f08aa309434 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:203
#22 0x00007f08aa2a1c76 in QAbstractItemModel::beginRemoveRows (this=0x28e3460, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2470
#23 0x00007f08ab4788f5 in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0x299a760, source_to_proxy=..., proxy_to_source=..., proxy_start=0, proxy_end=<optimized out>, proxy_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:557
#24 0x00007f08ab47d08a in QSortFilterProxyModelPrivate::remove_source_items (this=this@entry=0x299a760, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=emit_signal@entry=true) at itemviews/qsortfilterproxymodel.cpp:539
#25 0x00007f08ab47e6fd in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0x299a760, source_parent=..., start=0, end=0, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:840
#26 0x00007f08aa2c0b9f in QMetaObject::activate (sender=0x28c4d00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbf361ee0) at kernel/qobject.cpp:3547
#27 0x00007f08aa309434 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:203
#28 0x00007f08aa2a1c76 in QAbstractItemModel::beginRemoveRows (this=0x28c4d00, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2470
#29 0x00007f08a4963250 in Akonadi::EntityTreeModelPrivate::monitoredCollectionRemoved (this=0x2997f10, collection=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/entitytreemodel_p.cpp:805
#30 0x00007f08aa2c0b9f in QMetaObject::activate (sender=0x29d4430, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbf362170) at kernel/qobject.cpp:3547
#31 0x00007f08a499cc55 in Akonadi::Monitor::collectionRemoved (this=<optimized out>, _t1=...) at /usr/src/debug/kdepimlibs-4.8.5/x86_64-redhat-linux-gnu/akonadi/monitor.moc:258
#32 0x00007f08a499effe in Akonadi::MonitorPrivate::emitCollectionNotification (this=this@entry=0x29d4720, msg=..., col=..., par=..., dest=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/monitor_p.cpp:617
#33 0x00007f08a49a279b in Akonadi::MonitorPrivate::emitNotification (this=0x29d4720, msg=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/monitor_p.cpp:285
#34 0x00007f08a4909b09 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x29d4720, msg=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/changerecorder_p.h:60
#35 0x00007f08a49a101c in Akonadi::MonitorPrivate::dispatchNotifications (this=this@entry=0x29d4720) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/monitor_p.cpp:447
#36 0x00007f08a49a2902 in Akonadi::MonitorPrivate::slotNotify (this=0x29d4720, msgs=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/monitor_p.cpp:418
#37 0x00007f08a490a3b6 in Akonadi::ChangeRecorderPrivate::slotNotify (this=0x29d4720, msgs=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/changerecorder_p.h:51
#38 0x00007f08aa2c0b9f in QMetaObject::activate (sender=0x28c5ad0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbf362850) at kernel/qobject.cpp:3547
#39 0x00007f08a4a20a32 in OrgFreedesktopAkonadiNotificationSourceInterface::notify (this=<optimized out>, _t1=...) at /usr/src/debug/kdepimlibs-4.8.5/x86_64-redhat-linux-gnu/akonadi/notificationsourceinterface.moc:104
#40 0x00007f08a4a20a89 in OrgFreedesktopAkonadiNotificationSourceInterface::qt_static_metacall (_o=_o@entry=0x28c5ad0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=_a@entry=0x7fffbf362a80) at /usr/src/debug/kdepimlibs-4.8.5/x86_64-redhat-linux-gnu/akonadi/notificationsourceinterface.moc:53
#41 0x00007f08a4a20c2b in OrgFreedesktopAkonadiNotificationSourceInterface::qt_metacall (this=0x28c5ad0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffbf362a80) at /usr/src/debug/kdepimlibs-4.8.5/x86_64-redhat-linux-gnu/akonadi/notificationsourceinterface.moc:94
#42 0x00007f08a9cbfe53 in QDBusConnectionPrivate::deliverCall (this=0x22758b0, object=0x28c5ad0, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:947
#43 0x00007f08aa2becee in QObject::event (this=0x28c5ad0, e=<optimized out>) at kernel/qobject.cpp:1195
#44 0x00007f08aaef137c in QApplicationPrivate::notify_helper (this=this@entry=0x2293280, receiver=receiver@entry=0x28c5ad0, e=e@entry=0x2fe4500) at kernel/qapplication.cpp:4551
#45 0x00007f08aaef57fa in QApplication::notify (this=0x7fffbf363590, receiver=0x28c5ad0, e=0x2fe4500) at kernel/qapplication.cpp:4412
#46 0x00007f08abc0e2b6 in KApplication::notify (this=0x7fffbf363590, receiver=0x28c5ad0, event=0x2fe4500) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#47 0x00007f08aa2aa3ee in QCoreApplication::notifyInternal (this=0x7fffbf363590, receiver=receiver@entry=0x28c5ad0, event=event@entry=0x2fe4500) at kernel/qcoreapplication.cpp:915
#48 0x00007f08aa2adea1 in sendEvent (event=0x2fe4500, receiver=0x28c5ad0) at kernel/qcoreapplication.h:231
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2253600) at kernel/qcoreapplication.cpp:1539
#50 0x00007f08aa2d8353 in sendPostedEvents () at kernel/qcoreapplication.h:236
#51 postEventSourceDispatch (s=s@entry=0x228e580) at kernel/qeventdispatcher_glib.cpp:279
#52 0x00007f08a6cb4695 in g_main_dispatch (context=0x228ea00) at gmain.c:2539
#53 g_main_context_dispatch (context=context@entry=0x228ea00) at gmain.c:3075
#54 0x00007f08a6cb49c8 in g_main_context_iterate (context=context@entry=0x228ea00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#55 0x00007f08a6cb4a84 in g_main_context_iteration (context=0x228ea00, may_block=1) at gmain.c:3207
#56 0x00007f08aa2d84e6 in QEventDispatcherGlib::processEvents (this=0x2254ee0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#57 0x00007f08aaf912ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#58 0x00007f08aa2a913f in QEventLoop::processEvents (this=this@entry=0x7fffbf363400, flags=...) at kernel/qeventloop.cpp:149
#59 0x00007f08aa2a93c8 in QEventLoop::exec (this=0x7fffbf363400, flags=...) at kernel/qeventloop.cpp:204
#60 0x00007f08aa2ae1b8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#61 0x0000000000403459 in main (argc=1, argv=0x7fffbf3636d8) at /usr/src/debug/kdepim-4.8.5/kontact/src/main.cpp:218

Possible duplicates by query: bug 304596, bug 304324, bug 304126, bug 304073, bug 303885.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-08-31 14:57:17 UTC
This is already solved in 4.9

*** This bug has been marked as a duplicate of bug 303885 ***