Summary: | akonadi_imap_resource (4.14) segfault | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Garry Williams <gtwilliams> |
Component: | IMAP resource | Assignee: | Christian Mollekopf <chrigi_1> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | dvratil, jan_braun, kdepim-bugs, raghu, stephan.diestelhorst, vincent.dema+kde_bug, vkrause |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Garry Williams
2014-12-13 23:07:05 UTC
Application: akonadi_imap_resource (4.14) KDE Platform Version: 4.14.2 Qt Version: 4.8.6 Operating System: Linux 3.17.4-031704-generic x86_64 Distribution: Ubuntu 14.04.1 LTS -- Information about the crash: - What I was doing when the application crashed: Left GMail IMAP resource running over night and this morning the thing crashed. Restarting the agent does scanning of some folders, and then crashes with this bug reproducibly within tens of seconds. Happy to add more detial, will akonadictl restart next. The crash can be reproduced every time. -- Backtrace: Application: GMail vom Typ 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 0x7f016084b7c0 (LWP 19103))] Thread 3 (Thread 0x7f014c193700 (LWP 19105)): #0 0x00007f015c1e6bad in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f015b16bfe4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f0144003290, timeout=-1, context=0x7f01440009a0) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:4028 #2 g_main_context_iterate (context=context@entry=0x7f01440009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3729 #3 0x00007f015b16c0ec in g_main_context_iteration (context=0x7f01440009a0, may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795 #4 0x00007f015fe857be in QEventDispatcherGlib::processEvents (this=0x7f01440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436 #5 0x00007f015fe570af in QEventLoop::processEvents (this=this@entry=0x7f014c192e20, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007f015fe573a5 in QEventLoop::exec (this=this@entry=0x7f014c192e20, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007f015fd53c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537 #8 0x00007f015fd5632f in QThreadPrivate::start (arg=0xca5530) at thread/qthread_unix.cpp:349 #9 0x00007f015b850182 in start_thread (arg=0x7f014c193700) at pthread_create.c:312 #10 0x00007f015c1f3efd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7f0149998700 (LWP 19110)): #0 0x00007f015fe85b2a in testAndSetOrdered (newValue=1, expectedValue=0, this=0xbe7eb0) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:145 #1 testAndSetAcquire (newValue=1, expectedValue=0, this=0xbe7eb0) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:267 #2 tryLockInline (this=0xbe7e68) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:181 #3 lockInline (this=0xbe7e68) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:189 #4 QMutexLocker (m=0xbe7e68, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:109 #5 canWaitLocked (this=0xbe7e20) at ../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h:228 #6 postEventSourcePrepare (s=0x7f0140001350, timeout=timeout@entry=0x7f0149997c64) at kernel/qeventdispatcher_glib.cpp:270 #7 0x00007f015b16b68d in g_main_context_prepare (context=context@entry=0x7f01400009a0, priority=priority@entry=0x7f0149997ce8) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3352 #8 0x00007f015b16bf03 in g_main_context_iterate (context=context@entry=0x7f01400009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3714 #9 0x00007f015b16c0ec in g_main_context_iteration (context=0x7f01400009a0, may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795 #10 0x00007f015fe857be in QEventDispatcherGlib::processEvents (this=0x7f01400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436 #11 0x00007f015fe570af in QEventLoop::processEvents (this=this@entry=0x7f0149997e20, flags=...) at kernel/qeventloop.cpp:149 #12 0x00007f015fe573a5 in QEventLoop::exec (this=this@entry=0x7f0149997e20, flags=...) at kernel/qeventloop.cpp:204 #13 0x00007f015fd53c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537 #14 0x00007f015fd5632f in QThreadPrivate::start (arg=0xbb8010) at thread/qthread_unix.cpp:349 #15 0x00007f015b850182 in start_thread (arg=0x7f0149998700) at pthread_create.c:312 #16 0x00007f015c1f3efd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7f016084b7c0 (LWP 19103)): [KCrash Handler] #6 0x00007f015daf168d in KIMAP::SearchJob::handleResponse(KIMAP::Message const&) () from /usr/lib/libkimap.so.4 #7 0x00007f015dae1df4 in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/libkimap.so.4 #8 0x00007f015fe70c1e in QObject::event (this=0xc42940, e=<optimized out>) at kernel/qobject.cpp:1194 #9 0x00007f015f1f1e2c in QApplicationPrivate::notify_helper (this=this@entry=0xaac110, receiver=receiver@entry=0xc42940, e=e@entry=0x7f01400095f0) at kernel/qapplication.cpp:4567 #10 0x00007f015f1f84a0 in QApplication::notify (this=this@entry=0x7fff8f17b090, receiver=receiver@entry=0xc42940, e=e@entry=0x7f01400095f0) at kernel/qapplication.cpp:4353 #11 0x00007f015d336cca in KApplication::notify (this=0x7fff8f17b090, receiver=0xc42940, event=0x7f01400095f0) at ../../kdeui/kernel/kapplication.cpp:311 #12 0x00007f015fe584dd in QCoreApplication::notifyInternal (this=0x7fff8f17b090, receiver=receiver@entry=0xc42940, event=event@entry=0x7f01400095f0) at kernel/qcoreapplication.cpp:953 #13 0x00007f015fe5bb3d in sendEvent (event=0x7f01400095f0, receiver=0xc42940) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #14 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xa66220) at kernel/qcoreapplication.cpp:1577 #15 0x00007f015fe5bfe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470 #16 0x00007f015fe85f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #17 postEventSourceDispatch (s=0xaac5b0) at kernel/qeventdispatcher_glib.cpp:287 #18 0x00007f015b16be04 in g_main_dispatch (context=0xaa7890) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064 #19 g_main_context_dispatch (context=context@entry=0xaa7890) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3663 #20 0x00007f015b16c048 in g_main_context_iterate (context=context@entry=0xaa7890, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734 #21 0x00007f015b16c0ec in g_main_context_iteration (context=0xaa7890, may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795 #22 0x00007f015fe857a1 in QEventDispatcherGlib::processEvents (this=0xa67700, flags=...) at kernel/qeventdispatcher_glib.cpp:434 #23 0x00007f015f293bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #24 0x00007f015fe570af in QEventLoop::processEvents (this=this@entry=0x7fff8f17b000, flags=...) at kernel/qeventloop.cpp:149 #25 0x00007f015fe573a5 in QEventLoop::exec (this=this@entry=0x7fff8f17b000, flags=...) at kernel/qeventloop.cpp:204 #26 0x00007f015fe5cb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225 #27 0x00007f0160339783 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4 #28 0x0000000000418993 in _start () Possible duplicates by query: bug 341860, bug 340865, bug 340157, bug 339395, bug 332724. An https://bugs.kde.org/ berichten It really seems to be a dupe of bug 341860 , and bug 340157 looks quite similar, too. Created attachment 93976 [details]
New crash information added by DrKonqi
akonadi_imap_resource (4.14) on KDE Platform 4.14.5 using Qt 4.8.6
- What I was doing when the application crashed: watching a movie, listenning to music, or nothing at all.
I receive this error every 5 or 10 minutes, whatever the thing I am doing.
This error makes kmail unusable for me: either I leave the error opened and I cannot check for new emails, or I close it and it is going to reappear soon.
-- Backtrace (Reduced):
#5 0x00007fa3bbf1f59d in KIMAP::SearchJob::handleResponse(KIMAP::Message const&) () at /lib64/libkimap.so.4
#6 0x00007fa3bbf10e6b in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () at /lib64/libkimap.so.4
#7 0x00007fa3be2f2d61 in QObject::event(QEvent*) () at /lib64/libQtCore.so.4
#8 0x00007fa3bd66e79c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#9 0x00007fa3bd674e40 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQtGui.so.4
Looks like bug #345748 is a duplicate and my bug #351515 could be the current state of the same bug. I don't know the code, but from the backtrace they both seem to trigger after receiving something. I know this is a hand-waving argument. I am getting this crash too I am on arch here is the backtrace Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f6c00400880 (LWP 20176))] Thread 4 (Thread 0x7f6bfe445700 (LWP 20177)): #0 0x00007f6c0fd0018d in poll () from /usr/lib/libc.so.6 #1 0x00007f6c0b3deae2 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f6c0b3e0757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007f6c00183379 in ?? () from /usr/lib/libQt5XcbQpa.so.5 #4 0x00007f6c10601b8e in ?? () from /usr/lib/libQt5Core.so.5 #5 0x00007f6c0b5fe4a4 in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f6c0fd0913d in clone () from /usr/lib/libc.so.6 Thread 3 (Thread 0x7f6bf7bd1700 (LWP 20180)): #0 0x00007f6c0fd0018d in poll () from /usr/lib/libc.so.6 #1 0x00007f6c0a3b1fbc in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f6c0a3b20cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f6c1083956b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #4 0x00007f6c107e057a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f6c105fcbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #6 0x00007f6c10601b8e in ?? () from /usr/lib/libQt5Core.so.5 #7 0x00007f6c0b5fe4a4 in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007f6c0fd0913d in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f6bf5548700 (LWP 20182)): #0 0x00007f6c0a3f6614 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0 #1 0x00007f6c0a3b1540 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #2 0x00007f6c0a3b1eeb in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007f6c0a3b20cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f6c1083956b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f6c107e057a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00007f6c105fcbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #7 0x00007f6c10601b8e in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007f6c0b5fe4a4 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f6c0fd0913d in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f6c00400880 (LWP 20176)): [KCrash Handler] #5 0x00007f6c13513243 in Akonadi::Entity::id() const () from /usr/lib/libKF5AkonadiCore.so.5 #6 0x000000000045442e in ImapResourceBase::retrieveItems(Akonadi::Collection const&) () #7 0x00007f6c138edf25 in ?? () from /usr/lib/libKF5AkonadiAgentBase.so.5 #8 0x00007f6c138f03f0 in ?? () from /usr/lib/libKF5AkonadiAgentBase.so.5 #9 0x00007f6c1081131a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #10 0x00007f6c11b7de52 in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib/libKF5CoreAddons.so.5 #11 0x00007f6c11b7ebc1 in KJob::finishJob(bool) () from /usr/lib/libKF5CoreAddons.so.5 #12 0x00007f6c135c023b in ?? () from /usr/lib/libKF5AkonadiCore.so.5 #13 0x00007f6c108121e1 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #14 0x00007f6c111539ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #15 0x00007f6c11158e86 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #16 0x00007f6c107e2bab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #17 0x00007f6c107e4fa6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5 #18 0x00007f6c10839143 in ?? () from /usr/lib/libQt5Core.so.5 #19 0x00007f6c0a3b1dc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #20 0x00007f6c0a3b2020 in ?? () from /usr/lib/libglib-2.0.so.0 #21 0x00007f6c0a3b20cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #22 0x00007f6c1083954f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #23 0x00007f6c107e057a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #24 0x00007f6c107e853c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #25 0x00007f6c138ea73a in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libKF5AkonadiAgentBase.so.5 #26 0x000000000043d083 in int Akonadi::ResourceBase::init<ImapResource>(int, char**) () #27 0x00007f6c0fc40610 in __libc_start_main () from /usr/lib/libc.so.6 #28 0x000000000043cf49 in _start () @Raghavendra kamath: you are hitting a different issue (the bt is different) *** This bug has been marked as a duplicate of bug 351850 *** |