Bug 340592 - kontact crash on wake-from-suspend
Summary: kontact crash on wake-from-suspend
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
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: 2014-11-03 08:27 UTC by RJVB
Modified: 2018-02-01 09:51 UTC (History)
1 user (show)

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 RJVB 2014-11-03 08:27:00 UTC
Application: kontact (4.14.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.11.6-ck1-kubuntu-amdf10-rjvb x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I had suspended my laptop in the evening by closing the lid (without verifying whatever it was doing). After waking it, I was greeted by kwallet asking me my password (undoubtedly at some akonadi resource's request) and the crash reporter window directly behind it.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
To enable execution of this file add
	add-auto-load-safe-path /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20-gdb.py
line to your configuration file "/home/bertin/.gdbinit".
To completely disable this security protection add
	set auto-load safe-path /
line to your configuration file "/home/bertin/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
	info "(gdb)Auto-loading safe path"
[Current thread is 1 (Thread 0x7f54bbef0800 (LWP 4525))]

Thread 4 (Thread 0x7f549c8fe700 (LWP 4526)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f54b6bbb81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f54b6bbb859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f54b32bf182 in start_thread (arg=0x7f549c8fe700) at pthread_create.c:312
#4  0x00007f54b939afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f545bfdb700 (LWP 4527)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f54b68fc20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f54b6beafd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f54b32bf182 in start_thread (arg=0x7f545bfdb700) at pthread_create.c:312
#4  0x00007f54b939afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f544cd72700 (LWP 4534)):
#0  0x00007fffb610c970 in clock_gettime ()
#1  0x00007f54b93a946d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f54b9a46e4f in do_gettime (frac=0x7f544cd71b40, sec=0x7f544cd71b30) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007f54b9b36115 in updateCurrentTime (this=0x7f5448003130) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7f5448003130, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x00007f54b9b345b4 in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f544cd71c14) at kernel/qeventdispatcher_glib.cpp:143
#7  0x00007f54b9b3468d in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#8  0x00007f54b2ddf68d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f54b2ddff03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f54b2de00ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f54b9b3472e in QEventDispatcherGlib::processEvents (this=0x7f54480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0x00007f54b9b025af in QEventLoop::processEvents (this=this@entry=0x7f544cd71de0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f54b9b028ed in QEventLoop::exec (this=this@entry=0x7f544cd71de0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f54b99e5413 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#15 0x00007f54b99e7e03 in QThreadPrivate::start (arg=0x175aef0) at thread/qthread_unix.cpp:349
#16 0x00007f54b32bf182 in start_thread (arg=0x7f544cd72700) at pthread_create.c:312
#17 0x00007f54b939afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f54bbef0800 (LWP 4525)):
[KCrash Handler]
#6  QSharedDataPointer (o=..., this=0x7fffb60e9120) at /usr/include/qt4/QtCore/qshareddata.h:93
#7  assignEntityPrivate (one=..., other=...) at ../../akonadi/entity.cpp:49
#8  0x00007f54b82b3b75 in Akonadi::Entity::Entity (this=0x7fffb60e9180, other=...) at ../../akonadi/entity.cpp:55
#9  0x00007f54536ce00d in MailCommon::FolderCollection::collection (this=<optimized out>) at ../../mailcommon/folder/foldercollection.cpp:151
#10 0x00007f5453a62728 in KMMainWidget::slotMessageSelected (this=0x1c66ec0, item=...) at ../../kmail/kmmainwidget.cpp:4467
#11 0x00007f5453b4dcc5 in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_kmmainwidget.cpp:380
#12 0x00007f54b9b1995a in QMetaObject::activate (sender=0x1c821a0, m=m@entry=0x7f54530bd820 <MessageList::Pane::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffb60e9310) at kernel/qobject.cpp:3567
#13 0x00007f5452e7f082 in MessageList::Pane::messageSelected (this=<optimized out>, _t1=...) at ./moc_pane.cpp:165
#14 0x00007f54b9b1995a in QMetaObject::activate (sender=sender@entry=0x1c859c0, m=m@entry=0x7f54530bf7a0 <MessageList::Widget::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffb60e9430) at kernel/qobject.cpp:3567
#15 0x00007f5452e90b82 in MessageList::Widget::messageSelected (this=this@entry=0x1c859c0, _t1=...) at moc_widget.cpp:120
#16 0x00007f5452e873ae in MessageList::Widget::viewMessageSelected (this=0x1c859c0, msg=<optimized out>) at ../../messagelist/widget.cpp:270
#17 0x00007f5452e613c0 in MessageList::Core::View::slotSelectionChanged (this=0x1cedde0) at ../../messagelist/core/view.cpp:1964
#18 0x00007f54b9b1995a in QMetaObject::activate (sender=sender@entry=0x1b58ea0, m=m@entry=0x7f54bb090fc0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffb60e95f0) at kernel/qobject.cpp:3567
#19 0x00007f54baaee6c7 in QItemSelectionModel::selectionChanged (this=this@entry=0x1b58ea0, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:165
#20 0x00007f54baaf40a8 in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x1b58ea0, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1544
#21 0x00007f54baaf4916 in QItemSelectionModel::select (this=0x1b58ea0, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#22 0x00007f54baaef698 in QItemSelectionModel::select (this=this@entry=0x1b58ea0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:985
#23 0x00007f54baaee940 in QItemSelectionModel::setCurrentIndex (this=0x1b58ea0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1174
#24 0x00007f5452e61119 in MessageList::Core::View::setCurrentMessageItem (this=0x1cedde0, it=0x77f9230, center=center@entry=false) at ../../messagelist/core/view.cpp:890
#25 0x00007f5452e42714 in MessageList::Core::ModelPrivate::viewItemJobStep (this=0x1cf6520) at ../../messagelist/core/model.cpp:4003
#26 0x00007f5452e42c3e in MessageList::Core::Model::setStorageModel (this=0x1b34430, storageModel=<optimized out>, preSelectionMode=<optimized out>) at ../../messagelist/core/model.cpp:868
#27 0x00007f54b9b1995a in QMetaObject::activate (sender=0x1cf6f90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567
#28 0x00007f54b9b1e121 in QObject::event (this=0x1cf6f90, e=<optimized out>) at kernel/qobject.cpp:1184
#29 0x00007f54ba5040ac in QApplicationPrivate::notify_helper (this=this@entry=0x12db5e0, receiver=receiver@entry=0x1cf6f90, e=e@entry=0x7fffb60e9fd0) at kernel/qapplication.cpp:4570
#30 0x00007f54ba50b0c5 in QApplication::notify (this=this@entry=0x7fffb60ea340, receiver=receiver@entry=0x1cf6f90, e=e@entry=0x7fffb60e9fd0) at kernel/qapplication.cpp:4356
#31 0x00007f54bb2d5cca in KApplication::notify (this=0x7fffb60ea340, receiver=0x1cf6f90, event=0x7fffb60e9fd0) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007f54b9b03c04 in QCoreApplication::notifyInternal (this=0x7fffb60ea340, receiver=0x1cf6f90, event=0x7fffb60e9fd0) at kernel/qcoreapplication.cpp:953
#33 0x00007f54b9b376e3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QTimerInfoList::activateTimers (this=0x12e0e80) at kernel/qeventdispatcher_unix.cpp:621
#35 0x00007f54b9b34521 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#36 0x00007f54b2ddfe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f54b2de0048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f54b2de00ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f54b9b3472e in QEventDispatcherGlib::processEvents (this=0x1294bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#40 0x00007f54ba5b2d86 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f54b9b025af in QEventLoop::processEvents (this=this@entry=0x7fffb60ea240, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f54b9b028ed in QEventLoop::exec (this=this@entry=0x7fffb60ea240, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f54b9b089a9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#44 0x00007f54ba50231c in QApplication::exec () at kernel/qapplication.cpp:3828
#45 0x0000000000403660 in main (argc=2, argv=0x7fffb60ea488) at ../../../kontact/src/main.cpp:219

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

Possible duplicates by query: bug 336868, bug 336571, bug 334779, bug 331678, bug 331499.

Reported using DrKonqi
Comment 1 Franz Klotsche 2015-11-15 14:34:36 UTC
Application: akonadi_imap_resource (4.13)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.19.0-33-generic x86_64
Distribution: Ubuntu 14.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:
After waking the laptop Kontact crashed when syncing with hotmail.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Hotmail of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2b2f9397c0 (LWP 2834))]

Thread 2 (Thread 0x7f2b1ac70700 (LWP 6914)):
#0  0x00007f2b2b2c712d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2b29dc5fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2b29dc60ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2b2ecf37be in QEventDispatcherGlib::processEvents (this=0x7f2b0c014960, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f2b2ecc50af in QEventLoop::processEvents (this=this@entry=0x7f2b1ac6fe20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2b2ecc53a5 in QEventLoop::exec (this=this@entry=0x7f2b1ac6fe20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2b2ebc1c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#7  0x00007f2b2ebc432f in QThreadPrivate::start (arg=0x25012b0) at thread/qthread_unix.cpp:349
#8  0x00007f2b2a6ef182 in start_thread (arg=0x7f2b1ac70700) at pthread_create.c:312
#9  0x00007f2b2b2d447d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f2b2f9397c0 (LWP 2834)):
[KCrash Handler]
#6  0x00007f2b2ecd9997 in QObject::disconnect (sender=0x24fb9d0, signal=0x2531b09 "stateChanged(KIMAP::Session::State,KIMAP::Session::State)", signal@entry=0x473ac8 "2stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=receiver@entry=0x2386990, method=0x253a869 "onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)", method@entry=0x473a80 "1onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)") at kernel/qobject.cpp:2883
#7  0x000000000045f455 in SessionPool::killSession (this=this@entry=0x2386990, session=0x24fb9d0, termination=termination@entry=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:182
#8  0x000000000045f7f5 in SessionPool::disconnect (this=0x2386990, termination=termination@entry=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:115
#9  0x000000000041ffeb in ImapResource::doSetOnline (this=0x24a4d40, online=<optimized out>) at ../../../resources/imap/imapresource.cpp:623
#10 0x00007f2b2f339f21 in Akonadi::AgentBase::setOnlineInternal(bool) () from /usr/lib/libakonadi-kde.so.4
#11 0x00007f2b2f33a761 in ?? () from /usr/lib/libakonadi-kde.so.4
#12 0x00007f2b2ecda87a in QMetaObject::activate (sender=0x2369600, m=m@entry=0x7f2b2c8af980 <Solid::Networking::Notifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff23203100) at kernel/qobject.cpp:3539
#13 0x00007f2b2c6002de in Solid::Networking::Notifier::statusChanged (this=<optimized out>, _t1=Solid::Networking::Unconnected) at ./networking.moc:103
#14 0x00007f2b2ecda87a in QMetaObject::activate (sender=0x23812a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff23203260) at kernel/qobject.cpp:3539
#15 0x00007f2b2c6795f8 in statusChanged (_t1=1, this=<optimized out>) at org_kde_solid_networking_client.moc:131
#16 OrgKdeSolidNetworkingClientInterface::qt_static_metacall (_o=0x23812a0, _c=589311456, _id=1, _a=0x7fff232034a0) at org_kde_solid_networking_client.moc:57
#17 0x00007f2b2c67990f in OrgKdeSolidNetworkingClientInterface::qt_metacall (this=0x23812a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff232034a0) at org_kde_solid_networking_client.moc:98
#18 0x00007f2b2f0521f6 in QDBusConnectionPrivate::deliverCall (this=0x23a9f10, object=0x23812a0, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:951
#19 0x00007f2b2ecdec1e in QObject::event (this=0x23812a0, e=<optimized out>) at kernel/qobject.cpp:1194
#20 0x00007f2b2e05fe2c in QApplicationPrivate::notify_helper (this=this@entry=0x22eaa80, receiver=receiver@entry=0x23812a0, e=e@entry=0x2393ca0) at kernel/qapplication.cpp:4567
#21 0x00007f2b2e0664a0 in QApplication::notify (this=this@entry=0x7fff23203bd0, receiver=receiver@entry=0x23812a0, e=e@entry=0x2393ca0) at kernel/qapplication.cpp:4353
#22 0x00007f2b2c19bd1a in KApplication::notify (this=0x7fff23203bd0, receiver=0x23812a0, event=0x2393ca0) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f2b2ecc64dd in QCoreApplication::notifyInternal (this=0x7fff23203bd0, receiver=receiver@entry=0x23812a0, event=event@entry=0x2393ca0) at kernel/qcoreapplication.cpp:953
#24 0x00007f2b2ecc9b3d in sendEvent (event=0x2393ca0, receiver=0x23812a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x22b9220) at kernel/qcoreapplication.cpp:1577
#26 0x00007f2b2ecc9fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#27 0x00007f2b2ecf3f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=0x22de8f0) at kernel/qeventdispatcher_glib.cpp:287
#29 0x00007f2b29dc5e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f2b29dc6048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f2b29dc60ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f2b2ecf37a1 in QEventDispatcherGlib::processEvents (this=0x22ea0d0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#33 0x00007f2b2e101be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f2b2ecc50af in QEventLoop::processEvents (this=this@entry=0x7fff23203b40, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f2b2ecc53a5 in QEventLoop::exec (this=this@entry=0x7fff23203b40, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f2b2eccab79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#37 0x00007f2b2f41a243 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#38 0x00000000004215c3 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:192
#39 0x00007f2b2b1fbec5 in __libc_start_main (main=0x4178a0 <main(int, char**)>, argc=3, argv=0x7fff23203ce8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff23203cd8) at libc-start.c:287
#40 0x0000000000417a54 in _start ()

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

Possible duplicates by query: bug 350559, bug 345833, bug 344791.

Report to https://bugs.kde.org/
Comment 2 Franz Klotsche 2015-11-17 18:58:49 UTC
(In reply to Franz Klotsche from comment #1)
> Application: akonadi_imap_resource (4.13)
> KDE Platform Version: 4.13.3
> Qt Version: 4.8.6
> Operating System: Linux 3.19.0-33-generic x86_64
> Distribution: Ubuntu 14.04.3 LTS
> 
> -- Information about the crash:
> - What I was doing when the application crashed:
> After waking the laptop Kontact crashed when syncing with hotmail.
> 
> The crash can be reproduced sometimes.
> 
> -- Backtrace:
> Application: Hotmail of type IMAP E-Mail Server (akonadi_imap_resource),
> signal: Segmentation fault
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> [Current thread is 1 (Thread 0x7f2b2f9397c0 (LWP 2834))]
> 
> Thread 2 (Thread 0x7f2b1ac70700 (LWP 6914)):
> #0  0x00007f2b2b2c712d in poll () at ../sysdeps/unix/syscall-template.S:81
> #1  0x00007f2b29dc5fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #2  0x00007f2b29dc60ec in g_main_context_iteration () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #3  0x00007f2b2ecf37be in QEventDispatcherGlib::processEvents
> (this=0x7f2b0c014960, flags=...) at kernel/qeventdispatcher_glib.cpp:436
> #4  0x00007f2b2ecc50af in QEventLoop::processEvents
> (this=this@entry=0x7f2b1ac6fe20, flags=...) at kernel/qeventloop.cpp:149
> #5  0x00007f2b2ecc53a5 in QEventLoop::exec (this=this@entry=0x7f2b1ac6fe20,
> flags=...) at kernel/qeventloop.cpp:204
> #6  0x00007f2b2ebc1c5f in QThread::exec (this=<optimized out>) at
> thread/qthread.cpp:537
> #7  0x00007f2b2ebc432f in QThreadPrivate::start (arg=0x25012b0) at
> thread/qthread_unix.cpp:349
> #8  0x00007f2b2a6ef182 in start_thread (arg=0x7f2b1ac70700) at
> pthread_create.c:312
> #9  0x00007f2b2b2d447d in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
> 
> Thread 1 (Thread 0x7f2b2f9397c0 (LWP 2834)):
> [KCrash Handler]
> #6  0x00007f2b2ecd9997 in QObject::disconnect (sender=0x24fb9d0,
> signal=0x2531b09
> "stateChanged(KIMAP::Session::State,KIMAP::Session::State)",
> signal@entry=0x473ac8
> "2stateChanged(KIMAP::Session::State,KIMAP::Session::State)",
> receiver=receiver@entry=0x2386990, method=0x253a869
> "onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)",
> method@entry=0x473a80
> "1onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)") at
> kernel/qobject.cpp:2883
> #7  0x000000000045f455 in SessionPool::killSession
> (this=this@entry=0x2386990, session=0x24fb9d0,
> termination=termination@entry=SessionPool::LogoutSession) at
> ../../../resources/imap/sessionpool.cpp:182
> #8  0x000000000045f7f5 in SessionPool::disconnect (this=0x2386990,
> termination=termination@entry=SessionPool::LogoutSession) at
> ../../../resources/imap/sessionpool.cpp:115
> #9  0x000000000041ffeb in ImapResource::doSetOnline (this=0x24a4d40,
> online=<optimized out>) at ../../../resources/imap/imapresource.cpp:623
> #10 0x00007f2b2f339f21 in Akonadi::AgentBase::setOnlineInternal(bool) ()
> from /usr/lib/libakonadi-kde.so.4
> #11 0x00007f2b2f33a761 in ?? () from /usr/lib/libakonadi-kde.so.4
> #12 0x00007f2b2ecda87a in QMetaObject::activate (sender=0x2369600,
> m=m@entry=0x7f2b2c8af980 <Solid::Networking::Notifier::staticMetaObject>,
> local_signal_index=local_signal_index@entry=0,
> argv=argv@entry=0x7fff23203100) at kernel/qobject.cpp:3539
> #13 0x00007f2b2c6002de in Solid::Networking::Notifier::statusChanged
> (this=<optimized out>, _t1=Solid::Networking::Unconnected) at
> ./networking.moc:103
> #14 0x00007f2b2ecda87a in QMetaObject::activate (sender=0x23812a0,
> m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff23203260)
> at kernel/qobject.cpp:3539
> #15 0x00007f2b2c6795f8 in statusChanged (_t1=1, this=<optimized out>) at
> org_kde_solid_networking_client.moc:131
> #16 OrgKdeSolidNetworkingClientInterface::qt_static_metacall (_o=0x23812a0,
> _c=589311456, _id=1, _a=0x7fff232034a0) at
> org_kde_solid_networking_client.moc:57
> #17 0x00007f2b2c67990f in OrgKdeSolidNetworkingClientInterface::qt_metacall
> (this=0x23812a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff232034a0)
> at org_kde_solid_networking_client.moc:98
> #18 0x00007f2b2f0521f6 in QDBusConnectionPrivate::deliverCall
> (this=0x23a9f10, object=0x23812a0, msg=..., metaTypes=..., slotIdx=5) at
> qdbusintegrator.cpp:951
> #19 0x00007f2b2ecdec1e in QObject::event (this=0x23812a0, e=<optimized out>)
> at kernel/qobject.cpp:1194
> #20 0x00007f2b2e05fe2c in QApplicationPrivate::notify_helper
> (this=this@entry=0x22eaa80, receiver=receiver@entry=0x23812a0,
> e=e@entry=0x2393ca0) at kernel/qapplication.cpp:4567
> #21 0x00007f2b2e0664a0 in QApplication::notify
> (this=this@entry=0x7fff23203bd0, receiver=receiver@entry=0x23812a0,
> e=e@entry=0x2393ca0) at kernel/qapplication.cpp:4353
> #22 0x00007f2b2c19bd1a in KApplication::notify (this=0x7fff23203bd0,
> receiver=0x23812a0, event=0x2393ca0) at
> ../../kdeui/kernel/kapplication.cpp:311
> #23 0x00007f2b2ecc64dd in QCoreApplication::notifyInternal
> (this=0x7fff23203bd0, receiver=receiver@entry=0x23812a0,
> event=event@entry=0x2393ca0) at kernel/qcoreapplication.cpp:953
> #24 0x00007f2b2ecc9b3d in sendEvent (event=0x2393ca0, receiver=0x23812a0) at
> ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
> #25 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
> event_type=event_type@entry=0, data=0x22b9220) at
> kernel/qcoreapplication.cpp:1577
> #26 0x00007f2b2ecc9fe3 in QCoreApplication::sendPostedEvents
> (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
> kernel/qcoreapplication.cpp:1470
> #27 0x00007f2b2ecf3f83 in sendPostedEvents () at
> ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
> #28 postEventSourceDispatch (s=0x22de8f0) at
> kernel/qeventdispatcher_glib.cpp:287
> #29 0x00007f2b29dc5e04 in g_main_context_dispatch () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #30 0x00007f2b29dc6048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #31 0x00007f2b29dc60ec in g_main_context_iteration () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #32 0x00007f2b2ecf37a1 in QEventDispatcherGlib::processEvents
> (this=0x22ea0d0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
> #33 0x00007f2b2e101be6 in QGuiEventDispatcherGlib::processEvents
> (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
> #34 0x00007f2b2ecc50af in QEventLoop::processEvents
> (this=this@entry=0x7fff23203b40, flags=...) at kernel/qeventloop.cpp:149
> #35 0x00007f2b2ecc53a5 in QEventLoop::exec (this=this@entry=0x7fff23203b40,
> flags=...) at kernel/qeventloop.cpp:204
> #36 0x00007f2b2eccab79 in QCoreApplication::exec () at
> kernel/qcoreapplication.cpp:1225
> #37 0x00007f2b2f41a243 in
> Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from
> /usr/lib/libakonadi-kde.so.4
> #38 0x00000000004215c3 in Akonadi::ResourceBase::init<ImapResource>
> (argc=<optimized out>, argv=<optimized out>) at
> /usr/include/akonadi/resourcebase.h:192
> #39 0x00007f2b2b1fbec5 in __libc_start_main (main=0x4178a0 <main(int,
> char**)>, argc=3, argv=0x7fff23203ce8, init=<optimized out>, fini=<optimized
> out>, rtld_fini=<optimized out>, stack_end=0x7fff23203cd8) at
> libc-start.c:287
> #40 0x0000000000417a54 in _start ()
> 
> The reporter indicates this bug may be a duplicate of or related to bug
> 344791.
> 
> Possible duplicates by query: bug 350559, bug 345833, bug 344791.
> 
> Report to https://bugs.kde.org/

Error is reproducible. In my case occurs especially with hotmail, the last email account created.
Comment 3 Denis Kurz 2017-06-23 20:18:59 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 4 Denis Kurz 2018-02-01 09:51:35 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.