Bug 314502 - KMail crashes when deleting a folder containing subfolders and 2000+ Emails
Summary: KMail crashes when deleting a folder containing subfolders and 2000+ Emails
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.8.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-06 09:31 UTC by Karl Kolb
Modified: 2017-01-07 22:43 UTC (History)
0 users

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 Karl Kolb 2013-02-06 09:31:40 UTC
Application: kontact (4.8.5)
KDE Platform Version: 4.8.5 (4.8.5) "release 2"
Qt Version: 4.8.1
Operating System: Linux 3.4.11-2.16-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: Have imported Emails from Thunderbird. Moved a folder from TB-structure to KMail-root-folder. Then deleted a duplicate folder in the imported TB-structure, which resulted in the crash. After each step waited until there was no more process activity from akonadi, virtuoso-t etc.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc58341e780 (LWP 9297))]

Thread 3 (Thread 0x7fc56abbe700 (LWP 9299)):
#0  0x00007fc57b3378f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc57fc79177 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fc57fc791a9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fc57b333e0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc58097e2cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fc56a2b5700 (LWP 9300)):
#0  0x00007fff05fff65e in clock_gettime ()
#1  0x00007fc578f78f7d in clock_gettime () from /lib64/librt.so.1
#2  0x00007fc58101da24 in do_gettime (frac=0x7fc56a2b4ba8, sec=0x7fc56a2b4ba0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fc5810f015d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fc564002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007fc5810f04a3 in QTimerInfoList::timerWait (this=0x7fc564002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fc5810ef01c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fc56a2b4c7c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fc57ad87ebf in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fc57ad885ab in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fc57ad887a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fc5810ef956 in QEventDispatcherGlib::processEvents (this=0x7fc5640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007fc5810c073f in QEventLoop::processEvents (this=this@entry=0x7fc56a2b4e20, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007fc5810c09c8 in QEventLoop::exec (this=0x7fc56a2b4e20, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007fc580fc4e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#14 0x00007fc580fc7ddb in QThreadPrivate::start (arg=0x13d3fe0) at thread/qthread_unix.cpp:298
#15 0x00007fc57b333e0e in start_thread () from /lib64/libpthread.so.0
#16 0x00007fc58097e2cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc58341e780 (LWP 9297)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fff05fb7640) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x165aab0, child=...) at itemviews/qsortfilterproxymodel.cpp:1659
#8  0x00007fc582795e4a in parent (this=0x7fff05fb7690) at /usr/include/QtCore/qabstractitemmodel.h:393
#9  KIdentityProxyModel::parent (this=0x175afc0, child=...) at /usr/src/debug/kdelibs-4.8.5/kdeui/itemviews/kidentityproxymodel.cpp:359
#10 0x00007fc57e288323 in parent (this=0x7fff05fb76f0) at /usr/include/QtCore/qabstractitemmodel.h:393
#11 KPIM::StatisticsProxyModel::parent (this=0x175b360, child=...) at /usr/src/debug/kdepim-4.8.5/libkdepim/statisticsproxymodel.cpp:346
#12 0x00007fc5810b8380 in parent (this=<optimized out>) at kernel/qabstractitemmodel.h:393
#13 QAbstractItemModelPrivate::rowsAboutToBeRemoved (this=this@entry=0x17561f0, parent=..., first=first@entry=7, last=last@entry=7) at kernel/qabstractitemmodel.cpp:726
#14 0x00007fc5810b9286 in QAbstractItemModel::beginRemoveRows (this=0x175b360, parent=..., first=7, last=7) at kernel/qabstractitemmodel.cpp:2471
#15 0x00007fc582796a4d in KIdentityProxyModelPrivate::_k_sourceRowsAboutToBeRemoved (this=<optimized out>, parent=..., start=7, end=7) at /usr/src/debug/kdelibs-4.8.5/kdeui/itemviews/kidentityproxymodel.cpp:714
#16 0x00007fc5810d7f5f in QMetaObject::activate (sender=0x175afc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff05fb79e0) at kernel/qobject.cpp:3556
#17 0x00007fc581120f04 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=7, _t3=7) at .moc/release-shared/moc_qabstractitemmodel.cpp:204
#18 0x00007fc5810b9276 in QAbstractItemModel::beginRemoveRows (this=0x175afc0, parent=..., first=7, last=7) at kernel/qabstractitemmodel.cpp:2470
#19 0x00007fc582796a4d in KIdentityProxyModelPrivate::_k_sourceRowsAboutToBeRemoved (this=<optimized out>, parent=..., start=7, end=7) at /usr/src/debug/kdelibs-4.8.5/kdeui/itemviews/kidentityproxymodel.cpp:714
#20 0x00007fc5810d7f5f in QMetaObject::activate (sender=0x165aab0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff05fb7be0) at kernel/qobject.cpp:3556
#21 0x00007fc581120f04 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=7, _t3=7) at .moc/release-shared/moc_qabstractitemmodel.cpp:204
#22 0x00007fc5810b9276 in QAbstractItemModel::beginRemoveRows (this=0x165aab0, parent=..., first=7, last=7) at kernel/qabstractitemmodel.cpp:2470
#23 0x00007fc582047965 in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0x16e7f50, source_to_proxy=..., proxy_to_source=..., proxy_start=7, proxy_end=<optimized out>, proxy_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:557
#24 0x00007fc58204c0fa in QSortFilterProxyModelPrivate::remove_source_items (this=this@entry=0x16e7f50, 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 0x00007fc58204d76d in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0x16e7f50, source_parent=..., start=7, end=7, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:840
#26 0x00007fc5810d7f5f in QMetaObject::activate (sender=0x1483380, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff05fb7f30) at kernel/qobject.cpp:3556
#27 0x00007fc581120f04 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=7, _t3=7) at .moc/release-shared/moc_qabstractitemmodel.cpp:204
#28 0x00007fc5810b9276 in QAbstractItemModel::beginRemoveRows (this=0x1483380, parent=..., first=7, last=7) at kernel/qabstractitemmodel.cpp:2470
#29 0x00007fc57d7dd660 in Akonadi::EntityTreeModelPrivate::monitoredCollectionRemoved (this=0x16dc470, collection=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/entitytreemodel_p.cpp:805
#30 0x00007fc5810d7f5f in QMetaObject::activate (sender=0x1382310, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff05fb81c0) at kernel/qobject.cpp:3556
#31 0x00007fc57d76f135 in Akonadi::Monitor::collectionRemoved (this=<optimized out>, _t1=...) at /usr/src/debug/kdepimlibs-4.8.5/build/akonadi/monitor.moc:259
#32 0x00007fc57d7a0f26 in Akonadi::MonitorPrivate::emitCollectionNotification (this=this@entry=0x16c1eb0, msg=..., col=..., par=..., dest=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/monitor_p.cpp:617
#33 0x00007fc57d7aa70b in Akonadi::MonitorPrivate::emitNotification (this=this@entry=0x16c1eb0, msg=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/monitor_p.cpp:285
#34 0x00007fc57d83a7d9 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x16c1eb0, msg=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/changerecorder_p.h:60
#35 0x00007fc57d7a93ff in Akonadi::MonitorPrivate::flushPipeline (this=this@entry=0x16c1eb0) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/monitor_p.cpp:429
#36 0x00007fc57d7a9499 in Akonadi::MonitorPrivate::dataAvailable (this=0x16c1eb0) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/monitor_p.cpp:438
#37 0x00007fc5810d7f5f in QMetaObject::activate (sender=0x16e1d50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#38 0x00007fc57d82d61d in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0x16e1d50, job=0x237abc0) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/entitycache_p.h:192
#39 0x00007fc5810d7f5f in QMetaObject::activate (sender=0x237abc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff05fb8850) at kernel/qobject.cpp:3556
#40 0x00007fc581547762 in KJob::result (this=this@entry=0x237abc0, _t1=_t1@entry=0x237abc0) at /usr/src/debug/kdelibs-4.8.5/build/kdecore/kjob.moc:208
#41 0x00007fc5815477a0 in KJob::emitResult (this=0x237abc0) at /usr/src/debug/kdelibs-4.8.5/kdecore/jobs/kjob.cpp:318
#42 0x00007fc57d76eaed in Akonadi::JobPrivate::handleResponse (this=<optimized out>, tag=..., data=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/job.cpp:66
#43 0x00007fc57d7d64d1 in Akonadi::SessionPrivate::dataReceived (this=0x16e1620) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/session.cpp:218
#44 0x00007fc5810d7f5f in QMetaObject::activate (sender=0x14f5a20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#45 0x00007fc5810d7f5f in QMetaObject::activate (sender=0x16e63a8, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#46 0x00007fc57c2bd9ac in QAbstractSocketPrivate::canReadNotification (this=0x16e5d80) at socket/qabstractsocket.cpp:654
#47 0x00007fc57c2c641d in event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#48 QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1148
#49 0x00007fc581ac074c in QApplicationPrivate::notify_helper (this=this@entry=0x120a480, receiver=receiver@entry=0x16e5520, e=e@entry=0x7fff05fb9090) at kernel/qapplication.cpp:4554
#50 0x00007fc581ac4c7a in QApplication::notify (this=0x7fff05fb9460, receiver=0x16e5520, e=0x7fff05fb9090) at kernel/qapplication.cpp:4415
#51 0x00007fc5827d4006 in KApplication::notify (this=0x7fff05fb9460, receiver=0x16e5520, event=0x7fff05fb9090) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#52 0x00007fc5810c173e in QCoreApplication::notifyInternal (this=0x7fff05fb9460, receiver=0x16e5520, event=0x7fff05fb9090) at kernel/qcoreapplication.cpp:876
#53 0x00007fc5810ef148 in sendEvent (event=0x7fff05fb9090, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#54 socketNotifierSourceDispatch (source=0x120a7f0) at kernel/qeventdispatcher_glib.cpp:110
#55 0x00007fc57ad883b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#56 0x00007fc57ad886e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#57 0x00007fc57ad887a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#58 0x00007fc5810ef956 in QEventDispatcherGlib::processEvents (this=0x11d8b80, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#59 0x00007fc581b608ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007fc5810c073f in QEventLoop::processEvents (this=this@entry=0x7fff05fb92d0, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007fc5810c09c8 in QEventLoop::exec (this=0x7fff05fb92d0, flags=...) at kernel/qeventloop.cpp:204
#62 0x00007fc5810c53a8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#63 0x0000000000403699 in main (argc=1, argv=0x7fff05fb95a8) at /usr/src/debug/kdepim-4.8.5/kontact/src/main.cpp:218

Possible duplicates by query: bug 314420, bug 313591, bug 310409, bug 310179, bug 307631.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:34:22 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 kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:43:14 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.