Bug 335049 - KMail2 crashed whilst deleating a lot of folders
Summary: KMail2 crashed whilst deleating a lot of folders
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.13
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-19 20:00 UTC by bugs
Modified: 2017-01-07 21:30 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 bugs 2014-05-19 20:00:02 UTC
Application: kmail (4.13)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
After a settings import which I wasn't happy with I deleted a folder tree. During the delete kmail crashed.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa671df9800 (LWP 14064))]

Thread 6 (Thread 0x7fa649dcf700 (LWP 14067)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa6636f181d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa6636f1859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa66ca10182 in start_thread (arg=0x7fa649dcf700) at pthread_create.c:312
#4  0x00007fa66f14f30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fa608c35700 (LWP 14068)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa66343220d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa663720fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa66ca10182 in start_thread (arg=0x7fa608c35700) at pthread_create.c:312
#4  0x00007fa66f14f30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fa603bff700 (LWP 14069)):
#0  0x00007fa66f141fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa6671d2fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa6671d30ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa66fade7be in QEventDispatcherGlib::processEvents (this=0x7fa5fc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fa66fab00af in QEventLoop::processEvents (this=this@entry=0x7fa603bfede0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa66fab03a5 in QEventLoop::exec (this=this@entry=0x7fa603bfede0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa66f9acc5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#7  0x00007fa66f9af32f in QThreadPrivate::start (arg=0x13b8570) at thread/qthread_unix.cpp:349
#8  0x00007fa66ca10182 in start_thread (arg=0x7fa603bff700) at pthread_create.c:312
#9  0x00007fa66f14f30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fa601f27700 (LWP 14070)):
#0  0x00007fa66f1406bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa667213c20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa6671d2b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa6671d2f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa6671d30ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa66fade7be in QEventDispatcherGlib::processEvents (this=0x7fa5f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fa66fab00af in QEventLoop::processEvents (this=this@entry=0x7fa601f26da0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fa66fab03a5 in QEventLoop::exec (this=this@entry=0x7fa601f26da0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fa66f9acc5f in QThread::exec (this=this@entry=0x19adc10) at thread/qthread.cpp:537
#9  0x00007fa66fa91823 in QInotifyFileSystemWatcherEngine::run (this=0x19adc10) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fa66f9af32f in QThreadPrivate::start (arg=0x19adc10) at thread/qthread_unix.cpp:349
#11 0x00007fa66ca10182 in start_thread (arg=0x7fa601f27700) at pthread_create.c:312
#12 0x00007fa66f14f30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fa5f9b0c700 (LWP 2044)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa65970cffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fa65970d039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fa66ca10182 in start_thread (arg=0x7fa5f9b0c700) at pthread_create.c:312
#4  0x00007fa66f14f30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fa671df9800 (LWP 14064)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fffe5f73c90) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x12f1b10, child=...) at itemviews/qsortfilterproxymodel.cpp:1676
#8  0x00007fa66faa637e in parent (this=<optimized out>) at kernel/qabstractitemmodel.h:393
#9  QAbstractItemModelPrivate::rowsAboutToBeInserted (this=this@entry=0x12f2ef0, parent=..., first=first@entry=0, last=last@entry=0) at kernel/qabstractitemmodel.cpp:575
#10 0x00007fa66faa7d55 in QAbstractItemModel::beginInsertRows (this=0x12f1b10, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2417
#11 0x00007fa670559aca in QSortFilterProxyModelPrivate::insert_source_items (this=this@entry=0x12f2ef0, 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:683
#12 0x00007fa67055cf9a in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0x12f2ef0, source_parent=..., start=<optimized out>, end=<optimized out>, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806
#13 0x00007fa67055d1cf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x12f2ef0, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1297
#14 0x00007fa66fac587a in QMetaObject::activate (sender=sender@entry=0x12edfa0, m=m@entry=0x7fa66fe156a0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7fffe5f74070) at kernel/qobject.cpp:3539
#15 0x00007fa66fb0f664 in QAbstractItemModel::rowsInserted (this=this@entry=0x12edfa0, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:196
#16 0x00007fa66faab5ce in QAbstractItemModel::endInsertRows (this=0x12edfa0) at kernel/qabstractitemmodel.cpp:2433
#17 0x00007fa670559ab9 in QSortFilterProxyModelPrivate::insert_source_items (this=this@entry=0x12f1200, 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:695
#18 0x00007fa67055cf9a in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0x12f1200, source_parent=..., start=<optimized out>, end=<optimized out>, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806
#19 0x00007fa67055d1cf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x12f1200, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1297
#20 0x00007fa66fab9908 in QMetaMethod::invoke (this=this@entry=0x7fffe5f745d0, object=object@entry=0x12edfa0, connectionType=connectionType@entry=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#21 0x00007fa66fabbdc2 in QMetaObject::invokeMethod (obj=obj@entry=0x12edfa0, member=member@entry=0x7fa6719731a7 "_q_sourceRowsInserted", type=type@entry=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#22 0x00007fa6717e26b0 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x7fa6719731a7 "_q_sourceRowsInserted", obj=0x12edfa0) at /usr/include/qt4/QtCore/qobjectdefs.h:418
#23 invokeRowsInserted (end=0, start=0, source_parent=..., this=0x12f1f60) at ../../kdeui/itemviews/krecursivefilterproxymodel.cpp:66
#24 KRecursiveFilterProxyModelPrivate::sourceRowsInserted (this=0x12f1f60, source_parent=..., start=0, end=0) at ../../kdeui/itemviews/krecursivefilterproxymodel.cpp:190
#25 0x00007fa66fac587a in QMetaObject::activate (sender=sender@entry=0x1126680, m=m@entry=0x7fa66fe156a0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7fffe5f74a90) at kernel/qobject.cpp:3539
#26 0x00007fa66fb0f664 in QAbstractItemModel::rowsInserted (this=this@entry=0x1126680, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:196
#27 0x00007fa66faab5ce in QAbstractItemModel::endInsertRows (this=0x1126680) at kernel/qabstractitemmodel.cpp:2433
#28 0x00007fa66fac587a in QMetaObject::activate (sender=sender@entry=0x1124ac0, m=m@entry=0x7fa66fe156a0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7fffe5f74c30) at kernel/qobject.cpp:3539
#29 0x00007fa66fb0f664 in QAbstractItemModel::rowsInserted (this=this@entry=0x1124ac0, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:196
#30 0x00007fa66faab5ce in QAbstractItemModel::endInsertRows (this=0x1124ac0) at kernel/qabstractitemmodel.cpp:2433
#31 0x00007fa66fac587a in QMetaObject::activate (sender=sender@entry=0x104f870, m=m@entry=0x7fa66fe156a0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7fffe5f74dd0) at kernel/qobject.cpp:3539
#32 0x00007fa66fb0f664 in QAbstractItemModel::rowsInserted (this=this@entry=0x104f870, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:196
#33 0x00007fa66faab5ce in QAbstractItemModel::endInsertRows (this=0x104f870) at kernel/qabstractitemmodel.cpp:2433
#34 0x00007fa670559ab9 in QSortFilterProxyModelPrivate::insert_source_items (this=this@entry=0xce3bd0, 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:695
#35 0x00007fa67055cf9a in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0xce3bd0, source_parent=..., start=<optimized out>, end=<optimized out>, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806
#36 0x00007fa67055d1cf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xce3bd0, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1297
#37 0x00007fa66fac587a in QMetaObject::activate (sender=sender@entry=0xca7aa0, m=m@entry=0x7fa66fe156a0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7fffe5f75110) at kernel/qobject.cpp:3539
#38 0x00007fa66fb0f664 in QAbstractItemModel::rowsInserted (this=this@entry=0xca7aa0, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:196
#39 0x00007fa66faab5ce in QAbstractItemModel::endInsertRows (this=this@entry=0xca7aa0) at kernel/qabstractitemmodel.cpp:2433
#40 0x00007fa66baef72a in Akonadi::EntityTreeModelPrivate::insertCollection (this=this@entry=0xd01240, collection=..., parent=...) at ../../akonadi/entitytreemodel_p.cpp:742
#41 0x00007fa66baf38ff in Akonadi::EntityTreeModelPrivate::monitoredCollectionAdded (this=0xd01240, collection=..., parent=...) at ../../akonadi/entitytreemodel_p.cpp:800
#42 0x00007fa66fac587a in QMetaObject::activate (sender=0xfb65c0, m=m@entry=0x7fa66be7dfe0 <Akonadi::Monitor::staticMetaObject>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7fffe5f753d0) at kernel/qobject.cpp:3539
#43 0x00007fa66bb2ebba in Akonadi::Monitor::collectionAdded (this=<optimized out>, _t1=..., _t2=...) at ./moc_monitor.cpp:315
#44 0x00007fa66bb381a3 in Akonadi::MonitorPrivate::emitCollectionNotification (this=this@entry=0xd01a50, msg=..., col=..., par=..., dest=...) at ../../akonadi/monitor_p.cpp:919
#45 0x00007fa66bb38f99 in Akonadi::MonitorPrivate::emitNotification (this=0xd01a50, msg=...) at ../../akonadi/monitor_p.cpp:494
#46 0x00007fa66bb355c1 in Akonadi::MonitorPrivate::flushPipeline (this=this@entry=0xd01a50) at ../../akonadi/monitor_p.cpp:706
#47 0x00007fa66bb35799 in Akonadi::MonitorPrivate::dataAvailable (this=0xd01a50) at ../../akonadi/monitor_p.cpp:715
#48 0x00007fa66fac587a in QMetaObject::activate (sender=sender@entry=0xcf9da0, m=m@entry=0x7fa66be7bc80 <Akonadi::EntityCacheBase::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#49 0x00007fa66badc090 in Akonadi::EntityCacheBase::dataAvailable (this=this@entry=0xcf9da0) at ./moc_entitycache_p.cpp:101
#50 0x00007fa66ba9c2ec in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0xcf9da0, job=<optimized out>) at ../../akonadi/entitycache_p.h:203
#51 0x00007fa66fac587a in QMetaObject::activate (sender=sender@entry=0x2a83f80, m=m@entry=0x7fa6715ed600 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffe5f758f0) at kernel/qobject.cpp:3539
#52 0x00007fa67125d622 in KJob::result (this=this@entry=0x2a83f80, _t1=_t1@entry=0x2a83f80) at ./kjob.moc:207
#53 0x00007fa67125d660 in KJob::emitResult (this=0x2a83f80) at ../../kdecore/jobs/kjob.cpp:318
#54 0x00007fa66fac9c1e in QObject::event (this=0x2a83f80, e=<optimized out>) at kernel/qobject.cpp:1194
#55 0x00007fa66ffe2e2c in QApplicationPrivate::notify_helper (this=this@entry=0xc24700, receiver=receiver@entry=0x2a83f80, e=e@entry=0x5099a20) at kernel/qapplication.cpp:4567
#56 0x00007fa66ffe94a0 in QApplication::notify (this=this@entry=0x7fffe5f762d0, receiver=receiver@entry=0x2a83f80, e=e@entry=0x5099a20) at kernel/qapplication.cpp:4353
#57 0x00007fa67181dbaa in KApplication::notify (this=0x7fffe5f762d0, receiver=0x2a83f80, event=0x5099a20) at ../../kdeui/kernel/kapplication.cpp:311
#58 0x00007fa66fab14dd in QCoreApplication::notifyInternal (this=0x7fffe5f762d0, receiver=receiver@entry=0x2a83f80, event=event@entry=0x5099a20) at kernel/qcoreapplication.cpp:953
#59 0x00007fa66fab4b3d in sendEvent (event=0x5099a20, receiver=0x2a83f80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xbaa220) at kernel/qcoreapplication.cpp:1577
#61 0x00007fa66fab4fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#62 0x00007fa66fadef83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#63 postEventSourceDispatch (s=0xdbbe80) at kernel/qeventdispatcher_glib.cpp:287
#64 0x00007fa6671d2e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007fa6671d3048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007fa6671d30ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007fa66fade7a1 in QEventDispatcherGlib::processEvents (this=0xbabb20, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#68 0x00007fa670084bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#69 0x00007fa66fab00af in QEventLoop::processEvents (this=this@entry=0x7fffe5f75f20, flags=...) at kernel/qeventloop.cpp:149
#70 0x00007fa66fab03a5 in QEventLoop::exec (this=this@entry=0x7fffe5f75f20, flags=...) at kernel/qeventloop.cpp:204
#71 0x00007fa66fab5b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#72 0x00007fa66ffe137c in QApplication::exec () at kernel/qapplication.cpp:3828
#73 0x0000000000402d18 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:146

Possible duplicates by query: bug 330953.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 17:55:58 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 kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:30:40 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.