Bug 346038

Summary: Kmail started crashing after I added a Gmail account
Product: [Applications] kmail2 Reporter: Pete Smith <peter.f.smith>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: montel, wstrecke
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.14.7
Sentry Crash Report:

Description Pete Smith 2015-04-10 00:55:50 UTC
Application: kmail (4.14.6)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.0-12-generic x86_64
Distribution: Ubuntu Vivid Vervet (development branch)

-- Information about the crash:
It has crashed twice in five minutes, so I chose to follow through with the "Crash Reporting Assistant". This session I had added a Gmail account. It crashed once when pressing okay on the top level configuration dialog, and once when changing folders in the left-hand pane of the main window.  The KDE desktop and applications on this installation of Kubuntu 15.04 beta have been generally unstable.

-- 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 0x7f3489544840 (LWP 3631))]

Thread 5 (Thread 0x7f345f94f700 (LWP 3634)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f347aa8981d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f347aa89859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f348401f6aa in start_thread (arg=0x7f345f94f700) at pthread_create.c:333
#4  0x00007f34867aeeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f341e79f700 (LWP 3635)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f347a7ca20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f347aab8fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f348401f6aa in start_thread (arg=0x7f341e79f700) at pthread_create.c:333
#4  0x00007f34867aeeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f341db60700 (LWP 3636)):
#0  0x00007f3487e56238 in testAndSetOrdered (newValue=0, expectedValue=1, this=0x23b95b0) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:145
#1  testAndSetRelease (newValue=0, expectedValue=1, this=0x23b95b0) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:272
#2  unlockInline (this=0x28a7588) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:171
#3  unlock (this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:121
#4  ~QMutexLocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:115
#5  canWaitLocked (this=0x28a7540) at ../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h:229
#6  postEventSourcePrepare (s=0x7f34100012e0, timeout=0x7f341db5fbc4) at kernel/qeventdispatcher_glib.cpp:279
#7  0x00007f347e3593fd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f347e359de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f347e359fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f3487e5682e in QEventDispatcherGlib::processEvents (this=0x7f34100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#11 0x00007f3487e25cd1 in QEventLoop::processEvents (this=this@entry=0x7f341db5fd90, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f3487e26035 in QEventLoop::exec (this=this@entry=0x7f341db5fd90, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007f3487d19e89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#14 0x00007f3487d1c6ff in QThreadPrivate::start (arg=0x24e6d30) at thread/qthread_unix.cpp:349
#15 0x00007f348401f6aa in start_thread (arg=0x7f341db60700) at pthread_create.c:333
#16 0x00007f34867aeeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f340fdf7700 (LWP 3638)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3471db2a7a in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f3471db2aa9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f348401f6aa in start_thread (arg=0x7f340fdf7700) at pthread_create.c:333
#4  0x00007f34867aeeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f3489544840 (LWP 3631)):
[KCrash Handler]
#6  0x00007f34830ae039 in Akonadi::FavoriteCollectionsModel::removeCollection (this=0x0, collection=...) at ../../akonadi/favoritecollectionsmodel.cpp:294
#7  0x00007f34882734cc in KMMainWidget::slotCollectionRemoved (this=<optimized out>, col=...) at ../../kmail/kmmainwidget.cpp:4501
#8  0x00007f348837392e in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_kmmainwidget.cpp:488
#9  0x00007f3487e3c19c in QMetaObject::activate (sender=0x22eb8c0, m=m@entry=0x7f348344f2c0 <Akonadi::Monitor::staticMetaObject>, local_signal_index=local_signal_index@entry=16, argv=argv@entry=0x7ffcf5fb2940) at kernel/qobject.cpp:3567
#10 0x00007f34830e4a45 in Akonadi::Monitor::collectionRemoved (this=<optimized out>, _t1=...) at ./moc_monitor.cpp:343
#11 0x00007f34830efe0e in Akonadi::MonitorPrivate::emitCollectionNotification (this=this@entry=0x22c1570, msg=..., col=..., par=..., dest=...) at ../../akonadi/monitor_p.cpp:958
#12 0x00007f34830f0b04 in Akonadi::MonitorPrivate::emitNotification (this=0x22c1570, msg=...) at ../../akonadi/monitor_p.cpp:504
#13 0x00007f34830ec75c in Akonadi::MonitorPrivate::dispatchNotifications (this=this@entry=0x22c1570) at ../../akonadi/monitor_p.cpp:737
#14 0x00007f34830eda3f in Akonadi::MonitorPrivate::slotNotify (this=this@entry=0x22c1570, msgs=...) at ../../akonadi/monitor_p.cpp:707
#15 0x00007f3483036564 in Akonadi::ChangeRecorderPrivate::slotNotify (this=0x22c1570, msgs=...) at ../../akonadi/changerecorder_p.cpp:53
#16 0x00007f3487e3c19c in QMetaObject::activate (sender=0x20bf940, m=m@entry=0x7f34834581c0 <Akonadi::NotificationSource::staticMetaObject>, local_signal_index=<optimized out>, argv=argv@entry=0x7ffcf5fb2e40) at kernel/qobject.cpp:3567
#17 0x00007f34831ae8a8 in notifyV3 (_t1=..., this=<optimized out>) at moc_notificationsource_p.cpp:98
#18 Akonadi::NotificationSource::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_notificationsource_p.cpp:49
#19 0x00007f3487e3c19c in QMetaObject::activate (sender=sender@entry=0x2163de0, m=m@entry=0x7f3483453540 <OrgFreedesktopAkonadiNotificationSourceInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffcf5fb2fe0) at kernel/qobject.cpp:3567
#20 0x00007f34831a6700 in notifyV3 (_t1=..., this=0x2163de0) at notificationsourceinterface.moc:264
#21 OrgFreedesktopAkonadiNotificationSourceInterface::qt_static_metacall (_o=_o@entry=0x2163de0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=10, _a=_a@entry=0x7ffcf5fb3200) at notificationsourceinterface.moc:119
#22 0x00007f34831a7603 in OrgFreedesktopAkonadiNotificationSourceInterface::qt_metacall (this=0x2163de0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7ffcf5fb3200) at notificationsourceinterface.moc:192
#23 0x00007f3484bbc6a6 in QDBusConnectionPrivate::deliverCall (this=0x1fc2d60, object=0x2163de0, msg=..., metaTypes=..., slotIdx=15) at qdbusintegrator.cpp:951
#24 0x00007f3487e40891 in QObject::event (this=0x2163de0, e=<optimized out>) at kernel/qobject.cpp:1222
#25 0x00007f34871689bc in QApplicationPrivate::notify_helper (this=this@entry=0x1fdc4a0, receiver=receiver@entry=0x2163de0, e=e@entry=0x3d2cf50) at kernel/qapplication.cpp:4570
#26 0x00007f348716f4d8 in QApplication::notify (this=this@entry=0x7ffcf5fb4a70, receiver=receiver@entry=0x2163de0, e=e@entry=0x3d2cf50) at kernel/qapplication.cpp:4356
#27 0x00007f3488f50b4a in KApplication::notify (this=0x7ffcf5fb4a70, receiver=0x2163de0, event=0x3d2cf50) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f3487e2717d in QCoreApplication::notifyInternal (this=0x7ffcf5fb4a70, receiver=receiver@entry=0x2163de0, event=event@entry=0x3d2cf50) at kernel/qcoreapplication.cpp:955
#29 0x00007f3487e2aa21 in sendEvent (event=0x3d2cf50, receiver=0x2163de0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1f16220) at kernel/qcoreapplication.cpp:1579
#31 0x00007f3487e2aeb3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#32 0x00007f3487e5669e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x1fca1c0) at kernel/qeventdispatcher_glib.cpp:300
#34 0x00007f347e359c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f347e359f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f347e359fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f3487e5680e in QEventDispatcherGlib::processEvents (this=0x1f17b20, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#38 0x00007f3487210c66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f3487e25cd1 in QEventLoop::processEvents (this=this@entry=0x7ffcf5fb3870, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f3487e26035 in QEventLoop::exec (this=this@entry=0x7ffcf5fb3870, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f34875c4a07 in QMenu::exec (this=<optimized out>, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2124
#42 0x00007f34830a5986 in Akonadi::EntityTreeView::contextMenuEvent (this=<optimized out>, event=0x7ffcf5fb3fa0) at ../../akonadi/entitytreeview.cpp:284
#43 0x00007f34871bbdc8 in QWidget::event (this=0x2314630, event=0x7ffcf5fb3fa0) at kernel/qwidget.cpp:8775
#44 0x00007f348758260e in QFrame::event (this=0x2314630, e=0x7ffcf5fb3fa0) at widgets/qframe.cpp:557
#45 0x00007f34876a0163 in QAbstractItemView::viewportEvent (this=this@entry=0x2314630, event=event@entry=0x7ffcf5fb3fa0) at itemviews/qabstractitemview.cpp:1644
#46 0x00007f34876e2950 in QTreeView::viewportEvent (this=0x2314630, event=0x7ffcf5fb3fa0) at itemviews/qtreeview.cpp:1252
#47 0x00007f3487e272e6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1fdc4a0, receiver=receiver@entry=0x22ea820, event=event@entry=0x7ffcf5fb3fa0) at kernel/qcoreapplication.cpp:1065
#48 0x00007f348716899c in QApplicationPrivate::notify_helper (this=this@entry=0x1fdc4a0, receiver=receiver@entry=0x22ea820, e=e@entry=0x7ffcf5fb3fa0) at kernel/qapplication.cpp:4566
#49 0x00007f3487170a2f in QApplication::notify (this=this@entry=0x7ffcf5fb4a70, receiver=receiver@entry=0x22ea820, e=e@entry=0x7ffcf5fb3fa0) at kernel/qapplication.cpp:4192
#50 0x00007f3488f50b4a in KApplication::notify (this=0x7ffcf5fb4a70, receiver=0x22ea820, event=0x7ffcf5fb3fa0) at ../../kdeui/kernel/kapplication.cpp:311
#51 0x00007f3487e2717d in QCoreApplication::notifyInternal (this=0x7ffcf5fb4a70, receiver=receiver@entry=0x22ea820, event=event@entry=0x7ffcf5fb3fa0) at kernel/qcoreapplication.cpp:955
#52 0x00007f34871e8a0d in sendSpontaneousEvent (event=0x7ffcf5fb3fa0, receiver=0x22ea820) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#53 QETWidget::translateMouseEvent (this=this@entry=0x276a4d0, event=event@entry=0x7ffcf5fb42d0) at kernel/qapplication_x11.cpp:4637
#54 0x00007f34871e824c in QApplication::x11ProcessEvent (this=0x7ffcf5fb4a70, event=event@entry=0x7ffcf5fb42d0) at kernel/qapplication_x11.cpp:3626
#55 0x00007f3487210ba2 in x11EventSourceDispatch (s=0x1fdca90, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#56 0x00007f347e359c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f347e359f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f347e359fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f3487e5680e in QEventDispatcherGlib::processEvents (this=0x1f17b20, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#60 0x00007f3487210c66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#61 0x00007f3487e25cd1 in QEventLoop::processEvents (this=this@entry=0x7ffcf5fb46b0, flags=...) at kernel/qeventloop.cpp:149
#62 0x00007f3487e26035 in QEventLoop::exec (this=this@entry=0x7ffcf5fb46b0, flags=...) at kernel/qeventloop.cpp:204
#63 0x00007f3487e2bab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#64 0x00007f3487166c1c in QApplication::exec () at kernel/qapplication.cpp:3828
#65 0x0000000000402d82 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

The reporter indicates this bug may be a duplicate of or related to bug 345530.

Possible duplicates by query: bug 345530.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-01-13 14:39:17 UTC
*** Bug 347334 has been marked as a duplicate of this bug. ***