Bug 360486 - segfault while moving local folders to imap
Summary: segfault while moving local folders to imap
Status: RESOLVED DUPLICATE of bug 374462
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-03-13 17:21 UTC by Tom Mittelstädt
Modified: 2017-04-26 20:50 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 Tom Mittelstädt 2016-03-13 17:21:54 UTC
Application: kmail (5.0.2)

Qt Version: 5.5.1
Operating System: Linux 4.2.0-34-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
Selecting several folders and moving them to an imap destination causes this segfault reproduciable after a few seconds

The crash can be reproduced sometimes.

-- 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 0x7f1080466880 (LWP 26627))]

Thread 10 (Thread 0x7f1074cce700 (LWP 26647)):
#0  0x00007f10a338088d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f109971d1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f109971d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f10a3ec550b in QEventDispatcherGlib::processEvents (this=0x7f10700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f10a3e6c50a in QEventLoop::exec (this=this@entry=0x7f1074ccdd40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f10a3c88ac4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f10a3c8da6e in QThreadPrivate::start (arg=0xdf9f50) at thread/qthread_unix.cpp:331
#7  0x00007f1099f446aa in start_thread (arg=0x7f1074cce700) at pthread_create.c:333
#8  0x00007f10a338be9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f106ffff700 (LWP 26648)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f10952dffeb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f10952e0029 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f1099f446aa in start_thread (arg=0x7f106ffff700) at pthread_create.c:333
#4  0x00007f10a338be9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f102f7fc700 (LWP 26656)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1094fee0d4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f109530fea1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f1099f446aa in start_thread (arg=0x7f102f7fc700) at pthread_create.c:333
#4  0x00007f10a338be9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f1026ffb700 (LWP 26657)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1094fef103 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f109530fea1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f1099f446aa in start_thread (arg=0x7f1026ffb700) at pthread_create.c:333
#4  0x00007f10a338be9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f102effb700 (LWP 26658)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1094fef103 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f109530fea1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f1099f446aa in start_thread (arg=0x7f102effb700) at pthread_create.c:333
#4  0x00007f10a338be9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f102e7fa700 (LWP 26659)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1094fef103 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f109530fea1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f1099f446aa in start_thread (arg=0x7f102e7fa700) at pthread_create.c:333
#4  0x00007f10a338be9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f102dff9700 (LWP 26660)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1094fef103 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f109530fea1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f1099f446aa in start_thread (arg=0x7f102dff9700) at pthread_create.c:333
#4  0x00007f10a338be9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f102d7f8700 (LWP 26661)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1094fef103 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f109530fea1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f1099f446aa in start_thread (arg=0x7f102d7f8700) at pthread_create.c:333
#4  0x00007f10a338be9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f102cff7700 (LWP 26662)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1094fef103 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f109530fea1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f1099f446aa in start_thread (arg=0x7f102cff7700) at pthread_create.c:333
#4  0x00007f10a338be9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f1080466880 (LWP 26627)):
[KCrash Handler]
#6  0x00007f10a3e39488 in QSortFilterProxyModel::parent (this=0xb647b0, child=...) at itemmodels/qsortfilterproxymodel.cpp:1874
#7  0x00007f10a3e2fa52 in QModelIndex::parent (this=0x7ffca1c2ffc0) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:411
#8  QIdentityProxyModel::parent (this=0xd49260, child=...) at itemmodels/qidentityproxymodel.cpp:284
#9  0x00007f109ecc40bb in QModelIndex::parent (this=0x7ffca1c30020) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractitemmodel.h:480
#10 Akonadi::StatisticsProxyModel::parent (this=0xd30680, child=...) at ../../../../akonadi/src/core/models/statisticsproxymodel.cpp:366
#11 0x00007f10a3e3a63b in QModelIndex::parent (this=0x7ffca1c300e0) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:411
#12 QSortFilterProxyModelPrivate::update_persistent_indexes (this=this@entry=0xd4a250, source_indexes=...) at itemmodels/qsortfilterproxymodel.cpp:1036
#13 0x00007f10a3e3a9d1 in QSortFilterProxyModelPrivate::_q_sourceLayoutChanged (this=0xd4a250, sourceParents=..., hint=QAbstractItemModel::NoLayoutChangeHint) at itemmodels/qsortfilterproxymodel.cpp:1341
#14 0x00007f10a3e3febb in QSortFilterProxyModel::qt_static_metacall (_o=_o@entry=0xce2140, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=10, _a=_a@entry=0x7ffca1c303d0) at .moc/moc_qsortfilterproxymodel.cpp:207
#15 0x00007f10a3e9d8ea in QMetaObject::activate (sender=sender@entry=0xd30680, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffca1c303d0) at kernel/qobject.cpp:3713
#16 0x00007f10a3e9e0e7 in QMetaObject::activate (sender=sender@entry=0xd30680, m=m@entry=0x7f10a40b7e20 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffca1c303d0) at kernel/qobject.cpp:3578
#17 0x00007f10a3f19ee6 in QAbstractItemModel::layoutChanged (this=this@entry=0xd30680, _t1=..., _t2=_t2@entry=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:562
#18 0x00007f10a3e32601 in QIdentityProxyModelPrivate::_q_sourceLayoutChanged (this=<optimized out>, sourceParents=..., hint=QAbstractItemModel::NoLayoutChangeHint) at itemmodels/qidentityproxymodel.cpp:536
#19 0x00007f10a3e32bc3 in QIdentityProxyModel::qt_static_metacall (_o=_o@entry=0xd30680, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=15, _a=_a@entry=0x7ffca1c30640) at .moc/moc_qidentityproxymodel.cpp:163
#20 0x00007f10a3e9d8ea in QMetaObject::activate (sender=sender@entry=0xd49260, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffca1c30640) at kernel/qobject.cpp:3713
#21 0x00007f10a3e9e0e7 in QMetaObject::activate (sender=sender@entry=0xd49260, m=m@entry=0x7f10a40b7e20 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffca1c30640) at kernel/qobject.cpp:3578
#22 0x00007f10a3f19ee6 in QAbstractItemModel::layoutChanged (this=this@entry=0xd49260, _t1=..., _t2=_t2@entry=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:562
#23 0x00007f10a3e32601 in QIdentityProxyModelPrivate::_q_sourceLayoutChanged (this=<optimized out>, sourceParents=..., hint=QAbstractItemModel::NoLayoutChangeHint) at itemmodels/qidentityproxymodel.cpp:536
#24 0x00007f10a3e32bc3 in QIdentityProxyModel::qt_static_metacall (_o=_o@entry=0xd49260, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=15, _a=_a@entry=0x7ffca1c308b0) at .moc/moc_qidentityproxymodel.cpp:163
#25 0x00007f10a3e9d8ea in QMetaObject::activate (sender=sender@entry=0xb647b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffca1c308b0) at kernel/qobject.cpp:3713
#26 0x00007f10a3e9e0e7 in QMetaObject::activate (sender=sender@entry=0xb647b0, m=m@entry=0x7f10a40b7e20 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffca1c308b0) at kernel/qobject.cpp:3578
#27 0x00007f10a3f19ee6 in QAbstractItemModel::layoutChanged (this=this@entry=0xb647b0, _t1=..., _t2=_t2@entry=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:562
#28 0x00007f10a3e3ad80 in QSortFilterProxyModelPrivate::_q_sourceColumnsMoved (this=<optimized out>, sourceParent=..., destParent=...) at itemmodels/qsortfilterproxymodel.cpp:1543
#29 0x00007f10a3e3fdf4 in QSortFilterProxyModel::qt_static_metacall (_o=_o@entry=0xb647b0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=16, _a=_a@entry=0x7ffca1c30ab0) at .moc/moc_qsortfilterproxymodel.cpp:219
#30 0x00007f10a3e9d8ea in QMetaObject::activate (sender=sender@entry=0xb9fa70, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=20, argv=argv@entry=0x7ffca1c30ab0) at kernel/qobject.cpp:3713
#31 0x00007f10a3e9e0e7 in QMetaObject::activate (sender=sender@entry=0xb9fa70, m=m@entry=0x7f10a40b7e20 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=20, argv=argv@entry=0x7ffca1c30ab0) at kernel/qobject.cpp:3578
#32 0x00007f10a3f1a422 in QAbstractItemModel::rowsMoved (this=this@entry=0xb9fa70, _t1=..., _t2=2, _t3=2, _t4=..., _t5=_t5@entry=0) at .moc/moc_qabstractitemmodel.cpp:651
#33 0x00007f10a3e17464 in QAbstractItemModel::endMoveRows (this=this@entry=0xb9fa70) at itemmodels/qabstractitemmodel.cpp:2853
#34 0x00007f109ecb20dd in Akonadi::EntityTreeModelPrivate::monitoredCollectionMoved (this=0xc58360, collection=..., sourceCollection=..., destCollection=...) at ../../../../akonadi/src/core/models/entitytreemodel_p.cpp:994
#35 0x00007f10a3e9d8ea in QMetaObject::activate (sender=0xb2d780, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=16, argv=argv@entry=0x7ffca1c30dc0) at kernel/qobject.cpp:3713
#36 0x00007f10a3e9e0e7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f109ef442a0 <Akonadi::Monitor::staticMetaObject>, local_signal_index=local_signal_index@entry=16, argv=argv@entry=0x7ffca1c30dc0) at kernel/qobject.cpp:3578
#37 0x00007f109ebf491f in Akonadi::Monitor::collectionMoved (this=<optimized out>, _t1=..., _t2=..., _t3=...) at ./moc_monitor.cpp:906
#38 0x00007f109ebfb052 in Akonadi::MonitorPrivate::emitCollectionNotification (this=this@entry=0xc55c00, msg=..., col=..., par=..., dest=...) at ../../../../akonadi/src/core/monitor_p.cpp:1062
#39 0x00007f109ec018a0 in Akonadi::MonitorPrivate::emitNotification (this=this@entry=0xc55c00, msg=...) at ../../../../akonadi/src/core/monitor_p.cpp:577
#40 0x00007f109ebbcdbe in Akonadi::ChangeRecorderPrivate::emitNotification (this=0xc55c00, msg=...) at ../../../../akonadi/src/core/changerecorder_p.cpp:498
#41 0x00007f109ec0342c in Akonadi::MonitorPrivate::flushPipeline (this=this@entry=0xc55c00) at ../../../../akonadi/src/core/monitor_p.cpp:796
#42 0x00007f109ec03a09 in Akonadi::MonitorPrivate::dataAvailable (this=0xc55c00) at ../../../../akonadi/src/core/monitor_p.cpp:805
#43 0x00007f10a3e9d8ea in QMetaObject::activate (sender=sender@entry=0xb8c0c0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3713
#44 0x00007f10a3e9e0e7 in QMetaObject::activate (sender=sender@entry=0xb8c0c0, m=m@entry=0x7f109ef43b40 <Akonadi::EntityCacheBase::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#45 0x00007f109ebd89a0 in Akonadi::EntityCacheBase::dataAvailable (this=this@entry=0xb8c0c0) at ./moc_entitycache_p.cpp:144
#46 0x00007f109ebb537e in Akonadi::EntityListCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::processResult (this=0xb8c0c0, job=<optimized out>) at ../../../../akonadi/src/core/entitycache_p.h:500
#47 0x00007f109ebd89d8 in Akonadi::EntityCacheBase::qt_static_metacall (_o=_o@entry=0xb8c0c0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=1, _a=_a@entry=0x7ffca1c31400) at ./moc_entitycache_p.cpp:79
#48 0x00007f10a3e9d8ea in QMetaObject::activate (sender=0x5522930, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3713
#49 0x00007f10a4f23752 in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#50 0x00007f10a4f24311 in KJob::finishJob(bool) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#51 0x00007f109ec673b3 in Akonadi::JobPrivate::delayedEmitResult (this=<optimized out>) at ../../../../akonadi/src/core/jobs/job.cpp:153
#52 Akonadi::Job::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./moc_job.cpp:107
#53 0x00007f10a3e9e7b1 in QObject::event (this=0x5522930, e=<optimized out>) at kernel/qobject.cpp:1239
#54 0x00007f10a47639dc in QApplicationPrivate::notify_helper (this=this@entry=0xa245a0, receiver=receiver@entry=0x5522930, e=e@entry=0x45bd790) at kernel/qapplication.cpp:3716
#55 0x00007f10a4768ea6 in QApplication::notify (this=0x7ffca1c32010, receiver=0x5522930, e=0x45bd790) at kernel/qapplication.cpp:3499
#56 0x00007f10a3e6ed7b in QCoreApplication::notifyInternal (this=0x7ffca1c32010, receiver=0x5522930, event=event@entry=0x45bd790) at kernel/qcoreapplication.cpp:965
#57 0x00007f10a3e71176 in QCoreApplication::sendEvent (event=0x45bd790, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#58 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xa1ee90) at kernel/qcoreapplication.cpp:1593
#59 0x00007f10a3e71658 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#60 0x00007f10a3ec50e3 in postEventSourceDispatch (s=0xa64d80) at kernel/qeventdispatcher_glib.cpp:271
#61 0x00007f109971cff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007f109971d250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007f109971d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007f10a3ec54ef in QEventDispatcherGlib::processEvents (this=0xa64e20, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#65 0x00007f10a3e6c50a in QEventLoop::exec (this=this@entry=0x7ffca1c319c0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#66 0x00007f10a3e745ec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#67 0x00007f10a41a8d1c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1530
#68 0x00007f10a475fe15 in QApplication::exec () at kernel/qapplication.cpp:2976
#69 0x0000000000404260 in main (argc=1, argv=0x7ffca1c32288) at ../../kmail/main.cpp:161

Reported using DrKonqi
Comment 1 Tom Mittelstädt 2016-04-20 07:53:17 UTC
happens here too moving imap to imap (accidentially)
Comment 2 Christoph Feck 2017-04-26 20:50:10 UTC

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