Bug 319825

Summary: KMail crashes when trying to access GMail IMAP accounts.
Product: [Applications] kontact Reporter: stef kariotidis <stef.kariotidis>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: 4.10.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description stef kariotidis 2013-05-14 12:32:17 UTC
Application: kontact (4.10.2)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-19-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
While trying to access an inbox from a GMail IMAP account, all IMAP folders became unresponsive; at the end KMail crashed.

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

Thread 5 (Thread 0x7fa440768700 (LWP 3960)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa45d051585 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa45d0515d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa457aa7f8e in start_thread (arg=0x7fa440768700) at pthread_create.c:311
#4  0x00007fa45de49e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fa3fff55700 (LWP 3961)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa45cd97a09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa45d07fcee in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa457aa7f8e in start_thread (arg=0x7fa3fff55700) at pthread_create.c:311
#4  0x00007fa45de49e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fa3f2735700 (LWP 3965)):
#0  0x00007fa457aab056 in __pthread_mutex_unlock_usercnt (mutex=0x7fa3ec000a60, decr=1) at pthread_mutex_unlock.c:37
#1  0x00007fa4574245f1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa4573e5188 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa4573e5304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa45f26f036 in QEventDispatcherGlib::processEvents (this=0x7fa3ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fa45f23f38f in QEventLoop::processEvents (this=this@entry=0x7fa3f2734d50, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fa45f23f618 in QEventLoop::exec (this=this@entry=0x7fa3f2734d50, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fa45f141410 in QThread::exec (this=this@entry=0x26914f0) at thread/qthread.cpp:542
#8  0x00007fa45f220edf in QInotifyFileSystemWatcherEngine::run (this=0x26914f0) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007fa45f143bec in QThreadPrivate::start (arg=0x26914f0) at thread/qthread_unix.cpp:338
#10 0x00007fa457aa7f8e in start_thread (arg=0x7fa3f2735700) at pthread_create.c:311
#11 0x00007fa45de49e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fa3f0c45700 (LWP 3970)):
#0  0x00007fa457424359 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa4574245b9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa4573e47d5 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa4573e50fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa4573e5304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa45f26f036 in QEventDispatcherGlib::processEvents (this=0x7fa3e80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fa45f23f38f in QEventLoop::processEvents (this=this@entry=0x7fa3f0c44d80, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fa45f23f618 in QEventLoop::exec (this=this@entry=0x7fa3f0c44d80, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fa45f141410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007fa45f143bec in QThreadPrivate::start (arg=0x2222e60) at thread/qthread_unix.cpp:338
#10 0x00007fa457aa7f8e in start_thread (arg=0x7fa3f0c45700) at pthread_create.c:311
#11 0x00007fa45de49e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fa4608d3800 (LWP 3959)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::updateChildrenMapping (this=this@entry=0x24f7f20, source_parent=..., parent_mapping=parent_mapping@entry=0x2c10300, orient=orient@entry=Qt::Vertical, start=start@entry=0, end=end@entry=0, delta_item_count=delta_item_count@entry=1, remove=remove@entry=true) at itemviews/qsortfilterproxymodel.cpp:948
#7  0x00007fa45eb74eb0 in source_items_removed (orient=Qt::Vertical, end=0, start=0, source_parent=..., this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:890
#8  QSortFilterProxyModelPrivate::source_items_removed (this=0x24f7f20, source_parent=..., start=0, end=<optimized out>, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:848
#9  0x00007fa45f2550ef in QMetaObject::activate (sender=sender@entry=0x226e230, m=m@entry=0x7fa45f59b5e0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fff0c7b49c0) at kernel/qobject.cpp:3539
#10 0x00007fa45f2a0174 in QAbstractItemModel::rowsRemoved (this=this@entry=0x226e230, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:211
#11 0x00007fa45f23b06d in QAbstractItemModel::endRemoveRows (this=0x226e230) at kernel/qabstractitemmodel.cpp:2487
#12 0x00007fa45eb73717 in QSortFilterProxyModelPrivate::remove_proxy_interval (this=this@entry=0x25ccbc0, source_to_proxy=..., proxy_to_source=..., proxy_start=<optimized out>, proxy_end=<optimized out>, proxy_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=emit_signal@entry=true) at itemviews/qsortfilterproxymodel.cpp:569
#13 0x00007fa45eb774fa in QSortFilterProxyModelPrivate::remove_source_items (this=this@entry=0x25ccbc0, 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
#14 0x00007fa45eb77d91 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x25ccbc0, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1161
#15 0x00007fa45f248ad7 in QMetaMethod::invoke (this=this@entry=0x7fff0c7b4ea0, object=object@entry=0x226e230, connectionType=connectionType@entry=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#16 0x00007fa45f24aeac in QMetaObject::invokeMethod (obj=obj@entry=0x226e230, member=member@entry=0x7fa45fde2d12 "_q_sourceDataChanged", type=type@entry=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#17 0x00007fa45fc4b0a3 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x7fa45fde2d12 "_q_sourceDataChanged", obj=0x226e230) at /usr/include/qt4/QtCore/qobjectdefs.h:418
#18 invokeDataChanged (bottomRight=..., topLeft=..., this=<optimized out>) at ../../kdeui/itemviews/krecursivefilterproxymodel.cpp:55
#19 KRecursiveFilterProxyModelPrivate::sourceDataChanged (this=0x242c080, source_top_left=..., source_bottom_right=...) at ../../kdeui/itemviews/krecursivefilterproxymodel.cpp:131
#20 0x00007fa45f2550ef in QMetaObject::activate (sender=sender@entry=0x222ac90, m=m@entry=0x7fa45f59b5e0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff0c7b5440) at kernel/qobject.cpp:3539
#21 0x00007fa45f29ff97 in QAbstractItemModel::dataChanged (this=this@entry=0x222ac90, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#22 0x00007fa45fc48ff7 in KIdentityProxyModelPrivate::_k_sourceDataChanged (this=<optimized out>, topLeft=..., bottomRight=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:573
#23 0x00007fa45f2550ef in QMetaObject::activate (sender=sender@entry=0x222db40, m=m@entry=0x7fa45f59b5e0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff0c7b55f0) at kernel/qobject.cpp:3539
#24 0x00007fa45f29ff97 in QAbstractItemModel::dataChanged (this=this@entry=0x222db40, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#25 0x00007fa45fc48ff7 in KIdentityProxyModelPrivate::_k_sourceDataChanged (this=<optimized out>, topLeft=..., bottomRight=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:573
#26 0x00007fa45f2550ef in QMetaObject::activate (sender=sender@entry=0x244fb70, m=m@entry=0x7fa45f59b5e0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff0c7b57a0) at kernel/qobject.cpp:3539
#27 0x00007fa45f29ff97 in QAbstractItemModel::dataChanged (this=this@entry=0x244fb70, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#28 0x00007fa45eb7793c in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x2536b70, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1210
#29 0x00007fa45f2550ef in QMetaObject::activate (sender=sender@entry=0x23e8810, m=m@entry=0x7fa45f59b5e0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff0c7b5a40) at kernel/qobject.cpp:3539
#30 0x00007fa45f29ff97 in QAbstractItemModel::dataChanged (this=this@entry=0x23e8810, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#31 0x00007fa45a438f9b in Akonadi::EntityTreeModelPrivate::changeFetchState (this=<optimized out>, parent=...) at ../../akonadi/entitytreemodel_p.cpp:237
#32 0x00007fa45f25a5be in QObject::event (this=0x23e8810, e=<optimized out>) at kernel/qobject.cpp:1194
#33 0x00007fa45e5e68ec in QApplicationPrivate::notify_helper (this=this@entry=0x1fb89a0, receiver=receiver@entry=0x23e8810, e=e@entry=0x4e46210) at kernel/qapplication.cpp:4567
#34 0x00007fa45e5e925b in QApplication::notify (this=this@entry=0x7fff0c7b6510, receiver=receiver@entry=0x23e8810, e=e@entry=0x4e46210) at kernel/qapplication.cpp:4428
#35 0x00007fa45fc89af6 in KApplication::notify (this=0x7fff0c7b6510, receiver=0x23e8810, event=0x4e46210) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x00007fa45f24063e in QCoreApplication::notifyInternal (this=0x7fff0c7b6510, receiver=receiver@entry=0x23e8810, event=event@entry=0x4e46210) at kernel/qcoreapplication.cpp:946
#37 0x00007fa45f244171 in sendEvent (event=0x4e46210, receiver=0x23e8810) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1f3a6a0) at kernel/qcoreapplication.cpp:1570
#39 0x00007fa45f2444a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#40 0x00007fa45f26ee83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#41 postEventSourceDispatch (s=0x1fc4cd0) at kernel/qeventdispatcher_glib.cpp:279
#42 0x00007fa4573e4f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fa4573e5248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fa4573e5304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fa45f26f016 in QEventDispatcherGlib::processEvents (this=0x1fb8f50, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00007fa45e68c1ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007fa45f23f38f in QEventLoop::processEvents (this=this@entry=0x7fff0c7b6380, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007fa45f23f618 in QEventLoop::exec (this=this@entry=0x7fff0c7b6380, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007fa45f244cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#50 0x00007fa45e5e4ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#51 0x00000000004033a9 in main (argc=1, argv=0x7fff0c7b6658) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 318760, bug 317145, bug 311779, bug 309147, bug 306051.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:29:36 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 21:24:18 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.