Bug 414388

Summary: EWS resource crashed when going to offline mode
Product: [Frameworks and Libraries] Akonadi Reporter: Vadim A. Misbakh-Soloviov (mva) <kde>
Component: EWS ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: krissn
Priority: NOR Keywords: drkonqi
Version: 5.12.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vadim A. Misbakh-Soloviov (mva) 2019-11-22 08:23:02 UTC
Application: akonadi_ews_resource (5.12.2)
 (Compiled from sources)
Qt Version: 5.12.5
Frameworks Version: 5.63.0
Operating System: Linux 5.2.11 x86_64
Distribution: "Gentoo GNU/Linux"

-- Information about the crash:
- What I was doing when the application crashed:
Clicked "Offline mode" checkbox in "File" menu.

And right before that I experienced issues with EWS resource (it doesn't receive any messages from the server, so I tried to restart resource few times (with no luck) and reconfigured it from log-polling to ask server for new mail every 0.5 min

-- Backtrace:
Application: UTS (akonadi_ews_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3480ebf340 (LWP 148642))]

Thread 4 (Thread 0x7f346ffff700 (LWP 148800)):
#0  0x00007f3488605224 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f34885ba93a in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f348cb709bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f348cb1c84b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f348c988431 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f348c9894c2 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f348bc1542a in start_thread () at /lib64/libpthread.so.0
#7  0x00007f348c60643f in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f347cee8700 (LWP 148795)):
#0  0x00007f348c5fa473 in poll () at /lib64/libc.so.6
#1  0x00007f34885ba80e in g_main_context_iterate.isra () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f34885ba92f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f348cb709bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f348cb1c84b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f348c988431 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f3494b5f4e6 in QDBusConnectionManager::run() () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f348c9894c2 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#8  0x00007f348bc1542a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f348c60643f in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f347ec4a700 (LWP 148792)):
#0  0x00007f348bc1bf85 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f347f245eeb in util_queue_thread_func () at /usr/lib64/dri/i965_dri.so
#2  0x00007f347f245b07 in impl_thrd_routine () at /usr/lib64/dri/i965_dri.so
#3  0x00007f348bc1542a in start_thread () at /lib64/libpthread.so.0
#4  0x00007f348c60643f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f3480ebf340 (LWP 148642)):
[KCrash Handler]
#6  0x00007f348caba669 in QSettings::setValue(QString const&, QVariant const&) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f349586936e in Akonadi::AgentBase::setOnline(bool) () at /usr/lib64/libKF5AkonadiAgentBase.so.5
#8  0x00007f3495894455 in Akonadi__StatusAdaptor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/libKF5AkonadiAgentBase.so.5
#9  0x00007f3495894873 in Akonadi__StatusAdaptor::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib64/libKF5AkonadiAgentBase.so.5
#10 0x00007f3494b6b96b in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) () at /usr/lib64/libQt5DBus.so.5
#11 0x00007f3494b70c17 in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) [clone .part.0] () at /usr/lib64/libQt5DBus.so.5
#12 0x00007f3494b7124e in QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) () at /usr/lib64/libQt5DBus.so.5
#13 0x00007f3494b73d8e in QDBusActivateObjectEvent::placeMetaCall(QObject*) () at /usr/lib64/libQt5DBus.so.5
#14 0x00007f348cb477aa in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#15 0x00007f348d596c32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f348d5a0188 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f348cb1d890 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#18 0x00007f348cb207a3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f348cb70c03 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f34885ba505 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#21 0x00007f34885ba8a0 in g_main_context_iterate.isra () at /usr/lib64/libglib-2.0.so.0
#22 0x00007f34885ba92f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#23 0x00007f348cb709a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#24 0x00007f348cb1c84b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#25 0x00007f348cb24312 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#26 0x00007f3495878a1e in Akonadi::ResourceBase::init(Akonadi::ResourceBase&) () at /usr/lib64/libKF5AkonadiAgentBase.so.5
#27 0x000055b8e9a16632 in int Akonadi::ResourceBase::init<EwsResource>(int, char**) ()
#28 0x00007f348c524e9b in __libc_start_main () at /lib64/libc.so.6
#29 0x000055b8e99bcd9a in _start ()
[Inferior 1 (process 148642) detached]

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

Possible duplicates by query: bug 411378, bug 411089.

Reported using DrKonqi
Comment 1 Christoph Feck 2019-12-19 15:36:34 UTC

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