Bug 296933

Summary: Kmail crashes when moving folders
Product: [Applications] kmail2 Reporter: Pat Clay <kdebugs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pat Clay 2012-03-28 02:25:26 UTC
Application: kmail (4.8.0)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.2.0-20-generic-pae i686
Distribution: Ubuntu precise (development branch)

-- Information about the crash:
I had just imported my old emails (from old Kmail), and was moving the mail from the /import folder to the inbox.  Some moved, then it crashed.  This has happened several times.

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0xaeb52b40 (LWP 19889)):
#0  0xb7785424 in __kernel_vsyscall ()
#1  0xb588e96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5ef53dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb38a1263 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb38a137f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb588ad4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb5ee7ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xae229b40 (LWP 19890)):
#0  0xb4376dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb616cda5 in do_gettime (frac=0xae229040, sec=0xae229038) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb62569a6 in QTimerInfoList::updateCurrentTime (this=0xad802074) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb6256596 in timerSourceCheckHelper (src=0xad802040) at kernel/qeventdispatcher_glib.cpp:150
#5  timerSourceCheckHelper (src=0xad802040) at kernel/qeventdispatcher_glib.cpp:144
#6  0xb44ffb0b in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb45000a2 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb4500261 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb6256067 in QEventDispatcherGlib::processEvents (this=0xad800468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#10 0xb6221c8d in QEventLoop::processEvents (this=0xae229270, flags=...) at kernel/qeventloop.cpp:149
#11 0xb6221f29 in QEventLoop::exec (this=0xae229270, flags=...) at kernel/qeventloop.cpp:204
#12 0xb610b94c in QThread::exec (this=0x9b66f58) at thread/qthread.cpp:501
#13 0xb610ba3b in QThread::run (this=0x9b66f58) at thread/qthread.cpp:568
#14 0xb610ede0 in QThreadPrivate::start (arg=0x9b66f58) at thread/qthread_unix.cpp:298
#15 0xb588ad4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0xb5ee7ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xac9a7b40 (LWP 19895)):
#0  0xb5ef578f in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0xb5ed9368 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb450db6b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb450010e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4500261 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6256067 in QEventDispatcherGlib::processEvents (this=0xabf00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb6221c8d in QEventLoop::processEvents (this=0xac9a7240, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6221f29 in QEventLoop::exec (this=0xac9a7240, flags=...) at kernel/qeventloop.cpp:204
#8  0xb610b94c in QThread::exec (this=0x9d865b8) at thread/qthread.cpp:501
#9  0xb61ff2dd in QInotifyFileSystemWatcherEngine::run (this=0x9d865b8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb610ede0 in QThreadPrivate::start (arg=0x9d865b8) at thread/qthread_unix.cpp:298
#11 0xb588ad4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb5ee7ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb14dd740 (LWP 19885)):
[KCrash Handler]
#7  QModelIndex (other=..., this=0xbf88b980) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0x98d3d88, child=...) at itemviews/qsortfilterproxymodel.cpp:1659
#9  0xb74cddd8 in parent (this=0xbf88b9d0) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#10 KIdentityProxyModel::parent (this=0x9a047d0, child=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:358
#11 0xb74cddd8 in parent (this=0xbf88ba30) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#12 KIdentityProxyModel::parent (this=0x9a29090, child=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:358
#13 0xb4bdadd3 in sibling (acolumn=<optimized out>, arow=<optimized out>, this=<optimized out>) at /usr/include/qt4/QtCore/qabstractitemmodel.h:396
#14 KPIM::StatisticsProxyModel::Private::sourceLayoutAboutToBeChanged (this=0x99faa70) at ../../libkdepim/statisticsproxymodel.cpp:214
#15 0xb4bdaf1b in KPIM::StatisticsProxyModel::qt_static_metacall (_o=0x9a29090, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf88bbb0) at ./statisticsproxymodel.moc:55
#16 0xb6239e31 in QMetaObject::activate (sender=0x9a29090, m=0xb63812b8, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3547
#17 0xb628b905 in QAbstractItemModel::layoutAboutToBeChanged (this=0x9a29090) at .moc/release-shared/moc_qabstractitemmodel.cpp:183
#18 0xb74cff36 in KIdentityProxyModelPrivate::_k_sourceLayoutAboutToBeChanged (this=0x9a2bca0) at ../../kdeui/itemviews/kidentityproxymodel.cpp:588
#19 0xb6239e31 in QMetaObject::activate (sender=0x9a047d0, m=0xb63812b8, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3547
#20 0xb628b905 in QAbstractItemModel::layoutAboutToBeChanged (this=0x9a047d0) at .moc/release-shared/moc_qabstractitemmodel.cpp:183
#21 0xb74cff36 in KIdentityProxyModelPrivate::_k_sourceLayoutAboutToBeChanged (this=0x99f8a88) at ../../kdeui/itemviews/kidentityproxymodel.cpp:588
#22 0xb6239e31 in QMetaObject::activate (sender=0x98d3d88, m=0xb63812b8, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3547
#23 0xb628b905 in QAbstractItemModel::layoutAboutToBeChanged (this=0x98d3d88) at .moc/release-shared/moc_qabstractitemmodel.cpp:183
#24 0xb6b055bb in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x99469c0) at itemviews/qsortfilterproxymodel.cpp:1240
#25 0xb6239e31 in QMetaObject::activate (sender=0x9893300, m=0xb63812b8, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3547
#26 0xb628b905 in QAbstractItemModel::layoutAboutToBeChanged (this=0x9893300) at .moc/release-shared/moc_qabstractitemmodel.cpp:183
#27 0xb621c77c in QAbstractItemModel::beginMoveRows (this=0x9893300, sourceParent=..., sourceFirst=28, sourceLast=28, destinationParent=..., destinationChild=0) at kernel/qabstractitemmodel.cpp:2635
#28 0xb53b10b4 in Akonadi::EntityTreeModelPrivate::monitoredCollectionMoved (this=0x9939e38, collection=..., sourceCollection=..., destCollection=...) at ../../akonadi/entitytreemodel_p.cpp:917
#29 0xb539b353 in qt_static_metacall (_a=0xbf88c1e0, _id=22, _o=0x9893300, _c=<optimized out>) at ./entitytreemodel.moc:141
#30 Akonadi::EntityTreeModel::qt_static_metacall (_o=0x9893300, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0xbf88c1e0) at ./entitytreemodel.moc:113
#31 0xb6239e31 in QMetaObject::activate (sender=0x976b668, m=0xb550a2f8, local_signal_index=9, argv=0xbf88c1e0) at kernel/qobject.cpp:3547
#32 0xb53ed0a5 in Akonadi::Monitor::collectionMoved (this=0x976b668, _t1=..., _t2=..., _t3=...) at ./monitor.moc:252
#33 0xb53f166b in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x9771a78, msg=..., col=..., par=..., dest=...) at ../../akonadi/monitor_p.cpp:612
#34 0xb53f3599 in Akonadi::MonitorPrivate::emitNotification (this=0x9771a78, msg=...) at ../../akonadi/monitor_p.cpp:285
#35 0xb5342ae9 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x9771a78, msg=...) at ../../akonadi/changerecorder_p.h:60
#36 0xb53f3736 in Akonadi::MonitorPrivate::flushPipeline (this=0x9771a78) at ../../akonadi/monitor_p.cpp:429
#37 0xb53f37d0 in Akonadi::MonitorPrivate::dataAvailable (this=0x9771a78) at ../../akonadi/monitor_p.cpp:438
#38 0xb53ed753 in qt_static_metacall (_a=0xbf88c4c0, _id=23, _o=0x976b668, _c=<optimized out>) at ./monitor.moc:137
#39 Akonadi::Monitor::qt_static_metacall (_o=0x976b668, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbf88c4c0) at ./monitor.moc:108
#40 0xb6239e31 in QMetaObject::activate (sender=0x98d5850, m=0xb5508e3c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#41 0xb5392565 in Akonadi::EntityCacheBase::dataAvailable (this=0x98d5850) at ./entitycache_p.moc:102
#42 0xb53494de in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::processResult (this=0x98d5850, job=0xa6dbf70) at ../../akonadi/entitycache_p.h:192
#43 0xb53925ae in qt_static_metacall (_a=0xbf88c668, _o=0x98d5850, _c=<optimized out>, _id=<optimized out>) at ./entitycache_p.moc:54
#44 Akonadi::EntityCacheBase::qt_static_metacall (_o=0x98d5850, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf88c668) at ./entitycache_p.moc:47
#45 0xb6239e31 in QMetaObject::activate (sender=0xa6dbf70, m=0xb73254ac, local_signal_index=3, argv=0xbf88c668) at kernel/qobject.cpp:3547
#46 0xb7174f85 in KJob::result (this=0xa6dbf70, _t1=0xa6dbf70) at ./kjob.moc:208
#47 0xb7174fd8 in KJob::emitResult (this=0xa6dbf70) at ../../kdecore/jobs/kjob.cpp:318
#48 0xb53e8f4e in Akonadi::JobPrivate::delayedEmitResult (this=0xa5c7dc8) at ../../akonadi/job.cpp:144
#49 0xb6235381 in QMetaCallEvent::placeMetaCall (this=0xa577960, object=0xa6dbf70) at kernel/qobject.cpp:525
#50 0xb623e3fb in QObject::event (this=0xa6dbf70, e=0xa577960) at kernel/qobject.cpp:1195
#51 0xb64bed24 in notify_helper (e=0xa577960, receiver=0xa6dbf70, this=0x9769bb8) at kernel/qapplication.cpp:4555
#52 QApplicationPrivate::notify_helper (this=0x9769bb8, receiver=0xa6dbf70, e=0xa577960) at kernel/qapplication.cpp:4527
#53 0xb64c415d in QApplication::notify (this=0xa577960, receiver=0xa6dbf70, e=0xa577960) at kernel/qapplication.cpp:4284
#54 0xb7519801 in KApplication::notify (this=0xbf88cedc, receiver=0xa6dbf70, event=0xa577960) at ../../kdeui/kernel/kapplication.cpp:311
#55 0xb62230fe in QCoreApplication::notifyInternal (this=0xbf88cedc, receiver=0xa6dbf70, event=0xa577960) at kernel/qcoreapplication.cpp:876
#56 0xb6227258 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#57 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9733150) at kernel/qcoreapplication.cpp:1500
#58 0xb622758c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#59 0xb6255c14 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#60 postEventSourceDispatch (s=0x9769d60) at kernel/qeventdispatcher_glib.cpp:279
#61 0xb44ffd7a in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#62 0xb4500185 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#63 0xb4500261 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#64 0xb6256007 in QEventDispatcherGlib::processEvents (this=0x9733ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#65 0xb657789a in QGuiEventDispatcherGlib::processEvents (this=0x9733ec0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#66 0xb6221c8d in QEventLoop::processEvents (this=0xbf88ce04, flags=...) at kernel/qeventloop.cpp:149
#67 0xb6221f29 in QEventLoop::exec (this=0xbf88ce04, flags=...) at kernel/qeventloop.cpp:204
#68 0xb622763a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#69 0xb64bc8c4 in QApplication::exec () at kernel/qapplication.cpp:3816
#70 0x0804a266 in main (argc=-1253011672, argv=0x99469c0) at ../../kmail/main.cpp:145

This bug may be a duplicate of or related to bug 296832.

Possible duplicates by query: bug 296832, bug 295622, bug 284134, bug 274398, bug 272884.

Reported using DrKonqi
Comment 1 Laurent Montel 2012-03-28 06:38:15 UTC

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