Bug 351515 - Akonadi-Resource 15.08 (&15.07.90) crash in background (probably while checking mails)
Summary: Akonadi-Resource 15.08 (&15.07.90) crash in background (probably while checki...
Status: RESOLVED DUPLICATE of bug 351097
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-08-20 11:39 UTC by Jan-Matthias Braun
Modified: 2016-09-06 21:11 UTC (History)
4 users (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 Jan-Matthias Braun 2015-08-20 11:39:30 UTC
Application: akonadi_imap_resource (4.88.0)

Qt Version: 5.5.0
Operating System: Linux 4.1.6+ x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
I was not interacting with kmail, therefore I assume the crash accured during background work. My accounts are typically checked all 5 mins.

The system was not idle, I was working on another application on a different screen & activity.

Distribution: Gentoo

This is most probably a duplicate of Bug 351097, but the crash assistant is not accepting this. I can press the connect to bug report button, but it is ignoring that. So please excuse the noise.

-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f95c713f7c0 (LWP 24377))]

Thread 4 (Thread 0x7f95c6b7a700 (LWP 24410)):
#0  0x00007f95cdf3f3ad in poll () from /lib64/libc.so.6
#1  0x00007f95ccec0172 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f95ccec928f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f95c6c92f69 in QXcbEventReader::run (this=0x11aaad0) at qxcbconnection.cpp:1197
#4  0x00007f95ce83bdee in QThreadPrivate::start (arg=0x11aaad0) at thread/qthread_unix.cpp:331
#5  0x00007f95ccedc324 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f95cdf481ad in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f95c4e04700 (LWP 24501)):
#0  0x00007f95cdf3f3ad in poll () from /lib64/libc.so.6
#1  0x00007f95cb4fcff4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f95cb495dcc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f95cea8537c in QEventDispatcherGlib::processEvents (this=0x7f95b80008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f95cea29532 in QEventLoop::exec (this=this@entry=0x7f95c4e03e00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f95ce836e74 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f95ce83bdee in QThreadPrivate::start (arg=0x13389a0) at thread/qthread_unix.cpp:331
#7  0x00007f95ccedc324 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f95cdf481ad in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f95bffff700 (LWP 27746)):
#0  0x00007f95cea84810 in size (this=0x7f95b40061a0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:105
#1  count (this=0x7f95b40061a0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:314
#2  socketNotifierSourceCheck (source=0x7f95b4006140) at kernel/qeventdispatcher_glib.cpp:74
#3  0x00007f95cb4942c9 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f95cb4fcf98 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f95cb495dcc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f95cea8537c in QEventDispatcherGlib::processEvents (this=0x7f95b4003520, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#7  0x00007f95cea29532 in QEventLoop::exec (this=this@entry=0x7f95bfffee00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007f95ce836e74 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#9  0x00007f95ce83bdee in QThreadPrivate::start (arg=0x134cfe0) at thread/qthread_unix.cpp:331
#10 0x00007f95ccedc324 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f95cdf481ad in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f95c713f7c0 (LWP 24377)):
[KCrash Handler]
#6  0x00007f95cde933c7 in raise () from /lib64/libc.so.6
#7  0x00007f95cde9475a in abort () from /lib64/libc.so.6
#8  0x00007f95ce4a2b4d in __gnu_cxx::__verbose_terminate_handler () at /var/tmp/portage/sys-devel/gcc-5.2.0/work/gcc-5.2.0/libstdc++-v3/libsupc++/vterminate.cc:95
#9  0x00007f95ce4a0966 in __cxxabiv1::__terminate (handler=<optimized out>) at /var/tmp/portage/sys-devel/gcc-5.2.0/work/gcc-5.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:47
#10 0x00007f95ce4a09b1 in std::terminate () at /var/tmp/portage/sys-devel/gcc-5.2.0/work/gcc-5.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:57
#11 0x00007f95ce4a0bc9 in __cxxabiv1::__cxa_throw (obj=0x143b880, tinfo=0x7f95cdb64360 <typeinfo for Akonadi::ProtocolException>, dest=0x7f95cdb11470 <Akonadi::ProtocolException::~ProtocolException()>) at /var/tmp/portage/sys-devel/gcc-5.2.0/work/gcc-5.2.0/libstdc++-v3/libsupc++/eh_throw.cc:87
#12 0x00007f95cdb12281 in ?? () from /usr/lib64/libKF5AkonadiPrivate.so.5
#13 0x00007f95cdb2b09e in ?? () from /usr/lib64/libKF5AkonadiPrivate.so.5
#14 0x00007f95cdb1fad5 in Akonadi::Protocol::deserialize(QIODevice*) () from /usr/lib64/libKF5AkonadiPrivate.so.5
#15 0x00007f95d0205b7b in Akonadi::SessionPrivate::dataReceived() () from /usr/lib64/libKF5AkonadiCore.so.5
#16 0x00007f95cea5bfb1 in QMetaObject::activate (sender=0x1278990, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3718
#17 0x00007f95cea5bfb1 in QMetaObject::activate (sender=0x12a6ee8, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3718
#18 0x00007f95cf989470 in QAbstractSocketPrivate::canReadNotification() () from /usr/lib64/libQt5Network.so.5
#19 0x00007f95cf9a0c41 in QReadNotifier::event(QEvent*) () from /usr/lib64/libQt5Network.so.5
#20 0x00007f95cf6bbb7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007f95cf6bc230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007f95cea2bd3b in QCoreApplication::notifyInternal (this=0x7ffe285acc30, receiver=0x141b370, event=event@entry=0x7ffe285ac990) at kernel/qcoreapplication.cpp:965
#23 0x00007f95cea85a34 in sendEvent (event=0x7ffe285ac990, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#24 socketNotifierSourceDispatch (source=0x11d57c0) at kernel/qeventdispatcher_glib.cpp:101
#25 0x00007f95cb49492d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f95cb4fd058 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f95cb495dcc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f95cea8537c in QEventDispatcherGlib::processEvents (this=0x11e2c50, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#29 0x00007f95cea29532 in QEventLoop::exec (this=this@entry=0x7ffe285acba0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#30 0x00007f95cea3162c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#31 0x00007f95d054360a in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib64/libKF5AkonadiAgentBase.so.5
#32 0x000000000043d833 in int Akonadi::ResourceBase::init<ImapResource>(int, char**) ()
#33 0x00007f95cde807b0 in __libc_start_main () from /lib64/libc.so.6
#34 0x000000000043d6f9 in _start ()

Possible duplicates by query: bug 351097, bug 347595, bug 339739.

Reported using DrKonqi
Comment 1 Jan-Matthias Braun 2015-08-20 16:32:36 UTC
Backtrace: Now with more resolved symbols in the crashing thread!

Application: Akonadi Resource (akonadi_imap_resource), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f77eb3757c0 (LWP 3740))]

Thread 4 (Thread 0x7f77eadb0700 (LWP 3819)):
#0  0x00007f77f21753ad in poll () from /lib64/libc.so.6
#1  0x00007f77f10f6172 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f77f10ff28f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f77eaec8f69 in QXcbEventReader::run (this=0x6e9ad0) at qxcbconnection.cpp:1197
#4  0x00007f77f2a71dee in QThreadPrivate::start (arg=0x6e9ad0) at thread/qthread_unix.cpp:331
#5  0x00007f77f1112324 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f77f217e1ad in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f77e901b700 (LWP 3983)):
#0  0x00007f77f21713fd in read () from /lib64/libc.so.6
#1  0x00007f77eea82073 in ?? () from /usr/lib64/libnvidia-tls.so.355.06
#2  0x00007f77ef733620 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f77ef6ca36c in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f77ef732f98 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f77ef6cbdcc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f77f2cbb37c in QEventDispatcherGlib::processEvents (this=0x7f77dc0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#7  0x00007f77f2c5f532 in QEventLoop::exec (this=this@entry=0x7f77e901ae00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007f77f2a6ce74 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#9  0x00007f77f2a71dee in QThreadPrivate::start (arg=0x880620) at thread/qthread_unix.cpp:331
#10 0x00007f77f1112324 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f77f217e1ad in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f77dbda9700 (LWP 4112)):
#0  0x00007f77f2cba962 in postEventSourcePrepare (s=0x7f77d40012f0, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:260
#1  0x00007f77ef6cbb4d in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f77ef732f20 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f77ef6cbdcc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f77f2cbb37c in QEventDispatcherGlib::processEvents (this=0x7f77d40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#5  0x00007f77f2c5f532 in QEventLoop::exec (this=this@entry=0x7f77dbda8e00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f77f2a6ce74 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f77f2a71dee in QThreadPrivate::start (arg=0x88fa90) at thread/qthread_unix.cpp:331
#8  0x00007f77f1112324 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f77f217e1ad in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f77eb3757c0 (LWP 3740)):
[KCrash Handler]
#6  0x00007f77f20c93c7 in raise () from /lib64/libc.so.6
#7  0x00007f77f20ca75a in abort () from /lib64/libc.so.6
#8  0x00007f77f26d8b4d in __gnu_cxx::__verbose_terminate_handler () at /var/tmp/portage/sys-devel/gcc-5.2.0/work/gcc-5.2.0/libstdc++-v3/libsupc++/vterminate.cc:95
#9  0x00007f77f26d6966 in __cxxabiv1::__terminate (handler=<optimized out>) at /var/tmp/portage/sys-devel/gcc-5.2.0/work/gcc-5.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:47
#10 0x00007f77f26d69b1 in std::terminate () at /var/tmp/portage/sys-devel/gcc-5.2.0/work/gcc-5.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:57
#11 0x00007f77f26d6bc9 in __cxxabiv1::__cxa_throw (obj=0x919ea0, tinfo=0x7f77f1d9a360 <typeinfo for Akonadi::ProtocolException>, dest=0x7f77f1d47470 <Akonadi::ProtocolException::~ProtocolException()>) at /var/tmp/portage/sys-devel/gcc-5.2.0/work/gcc-5.2.0/libstdc++-v3/libsupc++/eh_throw.cc:87
#12 0x00007f77f1d60fcc in Akonadi::Protocol::DataStream::operator>> (this=0x7ffe8827c790, str=...) at /var/tmp/portage/kde-apps/akonadi-15.08.0/work/akonadi-15.08.0/src/private/datastream_p_p.h:211
#13 0x00007f77f1d74f8a in Akonadi::Protocol::CreateItemCommandPrivate::deserialize (this=0x8b8f20, stream=...) at /var/tmp/portage/kde-apps/akonadi-15.08.0/work/akonadi-15.08.0/src/private/protocol.cpp:1955
#14 0x00007f77f1d55745 in Akonadi::Protocol::deserialize (device=<optimized out>) at /var/tmp/portage/kde-apps/akonadi-15.08.0/work/akonadi-15.08.0/src/private/protocol.cpp:627
#15 0x00007f77f4439c6b in Akonadi::SessionPrivate::dataReceived() () from /usr/lib64/libKF5AkonadiCore.so.5
#16 0x00007f77f2c91fb1 in QMetaObject::activate (sender=0x7d9290, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3718
#17 0x00007f77f2c91fb1 in QMetaObject::activate (sender=0x7d64c8, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3718
#18 0x00007f77f3bbf470 in QAbstractSocketPrivate::canReadNotification() () from /usr/lib64/libQt5Network.so.5
#19 0x00007f77f3bd6c41 in QReadNotifier::event(QEvent*) () from /usr/lib64/libQt5Network.so.5
#20 0x00007f77f38f1b7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007f77f38f2230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007f77f2c61d3b in QCoreApplication::notifyInternal (this=0x7ffe8827d060, receiver=0x7a20a0, event=event@entry=0x7ffe8827cdc0) at kernel/qcoreapplication.cpp:965
#23 0x00007f77f2cbba34 in sendEvent (event=0x7ffe8827cdc0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#24 socketNotifierSourceDispatch (source=0x714d40) at kernel/qeventdispatcher_glib.cpp:101
#25 0x00007f77ef6ca92d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f77ef733058 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f77ef6cbdcc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f77f2cbb37c in QEventDispatcherGlib::processEvents (this=0x717fe0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#29 0x00007f77f2c5f532 in QEventLoop::exec (this=this@entry=0x7ffe8827cfd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#30 0x00007f77f2c6762c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#31 0x00007f77f477b60a in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib64/libKF5AkonadiAgentBase.so.5
#32 0x000000000043d833 in int Akonadi::ResourceBase::init<ImapResource>(int, char**) ()
#33 0x00007f77f20b67b0 in __libc_start_main () from /lib64/libc.so.6
#34 0x000000000043d6f9 in _start ()
Comment 2 Jan-Matthias Braun 2015-09-19 20:10:00 UTC
I watched the situation and found out, that from 4 resources, only the gmail imap resource is crashing.
Comment 3 Jan-Matthias Braun 2015-09-19 20:26:24 UTC
I am unsure, if this possibly is something like an updated version of bug #341860 .
Comment 4 Denis Kurz 2016-09-06 21:11:44 UTC

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