Bug 304126

Summary: KMail crashed when moving folder
Product: [Applications] kontact Reporter: Stefan Kebekus <stefan.kebekus>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: montel
Priority: NOR    
Version: 4.8.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.5
Sentry Crash Report:

Description Stefan Kebekus 2012-07-27 07:55:13 UTC
Application: kontact (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-27-generic-pae i686
Distribution: Ubuntu 12.04 LTS

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

KMail (embedded in contact) crashed when I moved one folde with the mouse from one IMAP account to another. The mail was lost during the process!

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb2179980 (LWP 1597))]

Thread 5 (Thread 0xaf8d7b40 (LWP 1598)):
#0  0xb7760424 in __kernel_vsyscall ()
#1  0xb398496b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb608c3dc in __pthread_cond_wait (cond=0xb5f3ba30, mutex=0xb5f3ba18) at forward.c:139
#3  0xb580a263 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb580a37f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb3980d4c in start_thread (arg=0xaf8d7b40) at pthread_create.c:308
#6  0xb607eace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xaefaeb40 (LWP 1602)):
#0  0xb36d2dcd in __GI_clock_gettime (clock_id=1, tp=0xaefae008) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb62e5315 in do_gettime (frac=0xaefae000, sec=0xaefadff8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb63cf226 in QTimerInfoList::updateCurrentTime (this=0xae602074) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb63cf57a in QTimerInfoList::timerWait (this=0xae602074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb63cde23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xaefae0ec) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb38ad872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb38adfaf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb38ae201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb63ce8e7 in QEventDispatcherGlib::processEvents (this=0xae600468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#10 0xb639a50d in QEventLoop::processEvents (this=0xaefae270, flags=...) at kernel/qeventloop.cpp:149
#11 0xb639a7a9 in QEventLoop::exec (this=0xaefae270, flags=...) at kernel/qeventloop.cpp:204
#12 0xb628394c in QThread::exec (this=0x8fabb20) at thread/qthread.cpp:501
#13 0xb6283a3b in QThread::run (this=0x8fabb20) at thread/qthread.cpp:568
#14 0xb6286de0 in QThreadPrivate::start (arg=0x8fabb20) at thread/qthread_unix.cpp:298
#15 0xb3980d4c in start_thread (arg=0xaefaeb40) at pthread_create.c:308
#16 0xb607eace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xab723b40 (LWP 1609)):
#0  0xb7760424 in __kernel_vsyscall ()
#1  0xb606e17b in read () at ../sysdeps/unix/syscall-template.S:82
#2  0xb38ec6ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb38adbd2 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb38ae042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb38ae201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb63ce8e7 in QEventDispatcherGlib::processEvents (this=0xaae00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb639a50d in QEventLoop::processEvents (this=0xab723240, flags=...) at kernel/qeventloop.cpp:149
#8  0xb639a7a9 in QEventLoop::exec (this=0xab723240, flags=...) at kernel/qeventloop.cpp:204
#9  0xb628394c in QThread::exec (this=0x9609230) at thread/qthread.cpp:501
#10 0xb6377b5d in QInotifyFileSystemWatcherEngine::run (this=0x9609230) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb6286de0 in QThreadPrivate::start (arg=0x9609230) at thread/qthread_unix.cpp:298
#12 0xb3980d4c in start_thread (arg=0xab723b40) at pthread_create.c:308
#13 0xb607eace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa6484b40 (LWP 3502)):
#0  0xb7760424 in __kernel_vsyscall ()
#1  0xb6070380 in __GI___poll (fds=0xae608d80, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb38bba7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb38ae0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb38ae201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb63ce8e7 in QEventDispatcherGlib::processEvents (this=0xae602548, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb639a50d in QEventLoop::processEvents (this=0xa6484240, flags=...) at kernel/qeventloop.cpp:149
#7  0xb639a7a9 in QEventLoop::exec (this=0xa6484240, flags=...) at kernel/qeventloop.cpp:204
#8  0xb628394c in QThread::exec (this=0xa7d6c50) at thread/qthread.cpp:501
#9  0xb6377b5d in QInotifyFileSystemWatcherEngine::run (this=0xa7d6c50) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6286de0 in QThreadPrivate::start (arg=0xa7d6c50) at thread/qthread_unix.cpp:298
#11 0xb3980d4c in start_thread (arg=0xa6484b40) at pthread_create.c:308
#12 0xb607eace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb2179980 (LWP 1597)):
[KCrash Handler]
#7  QModelIndex (other=..., this=0xbfc8a9d0) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0x9208610, child=...) at itemviews/qsortfilterproxymodel.cpp:1659
#9  0xb7442708 in parent (this=0xbfc8aa20) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#10 KIdentityProxyModel::parent (this=0x902f318, child=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:358
#11 0xb7442708 in parent (this=0xbfc8aa80) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#12 KIdentityProxyModel::parent (this=0x9305088, child=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:358
#13 0xb6391c13 in parent (this=<optimized out>) at kernel/qabstractitemmodel.h:393
#14 QAbstractItemModelPrivate::rowsAboutToBeInserted (this=0x9311138, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:575
#15 0xb6395234 in QAbstractItemModel::beginInsertRows (this=0x9305088, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2417
#16 0xb74438aa in KIdentityProxyModelPrivate::_k_sourceRowsAboutToBeInserted (this=0x92fd030, parent=..., start=0, end=0) at ../../kdeui/itemviews/kidentityproxymodel.cpp:700
#17 0xb63b26b1 in QMetaObject::activate (sender=0x902f318, m=0xb64f92b8, local_signal_index=4, argv=0xbfc8ac70) at kernel/qobject.cpp:3547
#18 0xb6404395 in QAbstractItemModel::rowsAboutToBeInserted (this=0x902f318, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:190
#19 0xb639521c in QAbstractItemModel::beginInsertRows (this=0x902f318, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2416
#20 0xb74438aa in KIdentityProxyModelPrivate::_k_sourceRowsAboutToBeInserted (this=0x930f578, parent=..., start=0, end=0) at ../../kdeui/itemviews/kidentityproxymodel.cpp:700
#21 0xb63b26b1 in QMetaObject::activate (sender=0x9208610, m=0xb64f92b8, local_signal_index=4, argv=0xbfc8ade0) at kernel/qobject.cpp:3547
#22 0xb6404395 in QAbstractItemModel::rowsAboutToBeInserted (this=0x9208610, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:190
#23 0xb639521c in QAbstractItemModel::beginInsertRows (this=0x9208610, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2416
#24 0xb6f4f217 in QSortFilterProxyModelPrivate::insert_source_items (this=0x92aef88, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:683
#25 0xb6f537ec in QSortFilterProxyModelPrivate::source_items_inserted (this=0x92aef88, source_parent=..., start=0, end=0, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806
#26 0xb6f53bc0 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x92aef88, source_parent=..., start=0, end=0) at itemviews/qsortfilterproxymodel.cpp:1280
#27 0xb63b26b1 in QMetaObject::activate (sender=0x91b72e8, m=0xb64f92b8, local_signal_index=5, argv=0xbfc8b060) at kernel/qobject.cpp:3547
#28 0xb64043f5 in QAbstractItemModel::rowsInserted (this=0x91b72e8, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#29 0xb63954ae in QAbstractItemModel::endInsertRows (this=0x91b72e8) at kernel/qabstractitemmodel.cpp:2433
#30 0xb403c9d0 in Akonadi::EntityTreeModelPrivate::insertCollection (this=0x92a9ad0, collection=..., parent=...) at ../../akonadi/entitytreemodel_p.cpp:713
#31 0xb4041d36 in Akonadi::EntityTreeModelPrivate::monitoredCollectionAdded (this=0x92a9ad0, collection=..., parent=...) at ../../akonadi/entitytreemodel_p.cpp:750
#32 0xb4030ae0 in qt_static_metacall (_a=0xbfc8b2b4, _id=19, _o=0x91b72e8, _c=<optimized out>) at ./entitytreemodel.moc:138
#33 Akonadi::EntityTreeModel::qt_static_metacall (_o=0x91b72e8, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfc8b2b4) at ./entitytreemodel.moc:113
#34 0xb63b26b1 in QMetaObject::activate (sender=0x928efa8, m=0xb41a02f8, local_signal_index=6, argv=0xbfc8b2b4) at kernel/qobject.cpp:3547
#35 0xb408276d in Akonadi::Monitor::collectionAdded (this=0x928efa8, _t1=..., _t2=...) at ./monitor.moc:231
#36 0xb4086f37 in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x92900a8, msg=..., col=..., par=..., dest=...) at ../../akonadi/monitor_p.cpp:600
#37 0xb4088d79 in Akonadi::MonitorPrivate::emitNotification (this=0x92900a8, msg=...) at ../../akonadi/monitor_p.cpp:285
#38 0xb3fd7c39 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x92900a8, msg=...) at ../../akonadi/changerecorder_p.h:60
#39 0xb4088f16 in Akonadi::MonitorPrivate::flushPipeline (this=0x92900a8) at ../../akonadi/monitor_p.cpp:429
#40 0xb4088fb0 in Akonadi::MonitorPrivate::dataAvailable (this=0x92900a8) at ../../akonadi/monitor_p.cpp:438
#41 0xb4082f33 in qt_static_metacall (_a=0xbfc8b590, _id=23, _o=0x928efa8, _c=<optimized out>) at ./monitor.moc:137
#42 Akonadi::Monitor::qt_static_metacall (_o=0x928efa8, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbfc8b590) at ./monitor.moc:108
#43 0xb63b26b1 in QMetaObject::activate (sender=0x92aa6f0, m=0xb419ee3c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#44 0xb4027d45 in Akonadi::EntityCacheBase::dataAvailable (this=0x92aa6f0) at ./entitycache_p.moc:102
#45 0xb3fde3ee in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0x92aa6f0, job=0x980fba8) at ../../akonadi/entitycache_p.h:192
#46 0xb4027d8e in qt_static_metacall (_a=0xbfc8b738, _o=0x92aa6f0, _c=<optimized out>, _id=<optimized out>) at ./entitycache_p.moc:54
#47 Akonadi::EntityCacheBase::qt_static_metacall (_o=0x92aa6f0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfc8b738) at ./entitycache_p.moc:47
#48 0xb63b26b1 in QMetaObject::activate (sender=0x980fba8, m=0xb67c64ac, local_signal_index=3, argv=0xbfc8b738) at kernel/qobject.cpp:3547
#49 0xb66117b5 in KJob::result (this=0x980fba8, _t1=0x980fba8) at ./kjob.moc:208
#50 0xb6611808 in KJob::emitResult (this=0x980fba8) at ../../kdecore/jobs/kjob.cpp:318
#51 0xb407e72e in Akonadi::JobPrivate::delayedEmitResult (this=0x8e76140) at ../../akonadi/job.cpp:144
#52 0xb63adc01 in QMetaCallEvent::placeMetaCall (this=0xabc3b18, object=0x980fba8) at kernel/qobject.cpp:525
#53 0xb63b6c7b in QObject::event (this=0x980fba8, e=0xabc3b18) at kernel/qobject.cpp:1195
#54 0xb6908ed4 in notify_helper (e=0xabc3b18, receiver=0x980fba8, this=0x8e42f40) at kernel/qapplication.cpp:4559
#55 QApplicationPrivate::notify_helper (this=0x8e42f40, receiver=0x980fba8, e=0xabc3b18) at kernel/qapplication.cpp:4531
#56 0xb690e30d in QApplication::notify (this=0xabc3b18, receiver=0x980fba8, e=0xabc3b18) at kernel/qapplication.cpp:4288
#57 0xb748e401 in KApplication::notify (this=0xbfc8bf74, receiver=0x980fba8, event=0xabc3b18) at ../../kdeui/kernel/kapplication.cpp:311
#58 0xb639b97e in QCoreApplication::notifyInternal (this=0xbfc8bf74, receiver=0x980fba8, event=0xabc3b18) at kernel/qcoreapplication.cpp:876
#59 0xb639fad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8e18ab8) at kernel/qcoreapplication.cpp:1500
#61 0xb639fe0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#62 0xb63ce494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#63 postEventSourceDispatch (s=0x8e46700) at kernel/qeventdispatcher_glib.cpp:279
#64 0xb38add86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#65 0xb38ae125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#66 0xb38ae201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#67 0xb63ce887 in QEventDispatcherGlib::processEvents (this=0x8e19800, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#68 0xb69c1aaa in QGuiEventDispatcherGlib::processEvents (this=0x8e19800, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#69 0xb639a50d in QEventLoop::processEvents (this=0xbfc8bed4, flags=...) at kernel/qeventloop.cpp:149
#70 0xb639a7a9 in QEventLoop::exec (this=0xbfc8bed4, flags=...) at kernel/qeventloop.cpp:204
#71 0xb639feba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#72 0xb6906a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#73 0x0804ac91 in main (argc=-1273368792, argv=0x92aef88) at ../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 304073, bug 303885, bug 301108, bug 301052, bug 300908.

Reported using DrKonqi
Comment 1 Laurent Montel 2012-07-27 08:00:05 UTC
Fixed in 4.8.5