[Bug 301825] New: Crash of IMAP resource on resume from suspend

Martin Gräßlin mgraesslin at kde.org
Wed Jun 13 17:53:10 BST 2012


https://bugs.kde.org/show_bug.cgi?id=301825

            Bug ID: 301825
          Severity: crash
           Version: 4.8
          Priority: NOR
                CC: kdepim-bugs at kde.org, vkrause at kde.org
          Assignee: ervin at kde.org
           Summary: Crash of IMAP resource on resume from suspend
    Classification: Unclassified
                OS: Linux
          Reporter: mgraesslin at kde.org
          Hardware: Compiled Sources
            Status: NEW
         Component: IMAP resource
           Product: Akonadi

Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.4 (4.8.4) (Compiled from sources)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-2-amd64 x86_64
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
- What I was doing when the application crashed:
Resumed from suspend, probably Internet connection was gone in between
- Unusual behavior I noticed:
The system was in suspend

The crash can be reproduced some of the time.

-- Backtrace:
Application: IMAP Account 1 of type  (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 0x7f2cf9d37760 (LWP 4017))]

Thread 10 (Thread 0x7f2ce5487700 (LWP 6224)):
#0  0x00007f2cf4d0dd93 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f2cf3cce4d4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2cf3cce5f4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2cf914c736 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f2cf911bf92 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f2cf911c1e7 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f2cf901b307 in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f2cf7b222c9 in KIMAP::SessionThread::run (this=0x1ed3a80) at
/home/martin/kdesrc/kde/kdepimlibs/kimap/sessionthread.cpp:181
#8  0x00007f2cf901e32b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f2cf8d86b50 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f2cf4d189dd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f2cdda01700 (LWP 10402)):
#0  0x00007f2cf4d0dd93 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f2cf3cce4d4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2cf3cce5f4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2cf914c736 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f2cf911bf92 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f2cf911c1e7 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f2cf901b307 in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f2cf7b222c9 in KIMAP::SessionThread::run (this=0x22bcf20) at
/home/martin/kdesrc/kde/kdepimlibs/kimap/sessionthread.cpp:181
#8  0x00007f2cf901e32b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f2cf8d86b50 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f2cf4d189dd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f2ce4c86700 (LWP 15948)):
#0  0x00007f2cf914bcd4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#1  0x00007f2cf3ccdd0f in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2cf3cce3fb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2cf3cce5f4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2cf914c736 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f2cf911bf92 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f2cf911c1e7 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f2cf901b307 in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f2cf7b222c9 in KIMAP::SessionThread::run (this=0x22a6d90) at
/home/martin/kdesrc/kde/kdepimlibs/kimap/sessionthread.cpp:181
#9  0x00007f2cf901e32b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f2cf8d86b50 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007f2cf4d189dd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f2cdea03700 (LWP 21895)):
#0  0x00007f2cf4d0dd93 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f2cf3cce4d4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2cf3cce5f4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2cf914c736 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f2cf911bf92 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f2cf911c1e7 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f2cf901b307 in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f2cf7b222c9 in KIMAP::SessionThread::run (this=0x2383b00) at
/home/martin/kdesrc/kde/kdepimlibs/kimap/sessionthread.cpp:181
#8  0x00007f2cf901e32b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f2cf8d86b50 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f2cf4d189dd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f2cd7dda700 (LWP 24731)):
#0  0x00007f2cf4d0dd93 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f2cf3cce4d4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2cf3cce5f4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2cf914c736 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f2cf911bf92 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f2cf911c1e7 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f2cf901b307 in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f2cf7b222c9 in KIMAP::SessionThread::run (this=0x22f1150) at
/home/martin/kdesrc/kde/kdepimlibs/kimap/sessionthread.cpp:181
#8  0x00007f2cf901e32b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f2cf8d86b50 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f2cf4d189dd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2cde202700 (LWP 25516)):
#0  0x00007f2cf4d0dd93 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f2cf3cce4d4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2cf3cce5f4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2cf914c736 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f2cf911bf92 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f2cf911c1e7 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f2cf901b307 in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f2cf7b222c9 in KIMAP::SessionThread::run (this=0x218eef0) at
/home/martin/kdesrc/kde/kdepimlibs/kimap/sessionthread.cpp:181
#8  0x00007f2cf901e32b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f2cf8d86b50 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f2cf4d189dd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2cdd200700 (LWP 25530)):
#0  0x00007f2cf4d0dd93 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f2cf3cce4d4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2cf3cce5f4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2cf914c736 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f2cf911bf92 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f2cf911c1e7 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f2cf901b307 in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f2cf7b222c9 in KIMAP::SessionThread::run (this=0x7f2cd00c9290) at
/home/martin/kdesrc/kde/kdepimlibs/kimap/sessionthread.cpp:181
#8  0x00007f2cf901e32b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f2cf8d86b50 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f2cf4d189dd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2cd6dd8700 (LWP 26377)):
#0  0x00007f2cf8d8b64b in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f2cf901e79f in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f2cf901191f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f2cf901e32b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f2cf8d86b50 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f2cf4d189dd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2cd65d7700 (LWP 26384)):
#0  0x00007f2cf4d0dd93 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f2cf3cce4d4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2cf3cce5f4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2cf914c736 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f2cf911bf92 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f2cf911c1e7 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f2cf901b307 in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f2cf7b222c9 in KIMAP::SessionThread::run (this=0x22b17a0) at
/home/martin/kdesrc/kde/kdepimlibs/kimap/sessionthread.cpp:181
#8  0x00007f2cf901e32b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f2cf8d86b50 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f2cf4d189dd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2cf9d37760 (LWP 4017)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f2cf7b20137 in qDeleteAll<QList<KIMAP::Job*>::const_iterator>
(end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QQueue<KIMAP::Job*> > (c=...) at
/usr/include/qt4/QtCore/qalgorithms.h:330
#9  KIMAP::SessionPrivate::clearJobQueue (this=0x204f2a0) at
/home/martin/kdesrc/kde/kdepimlibs/kimap/session.cpp:401
#10 0x00007f2cf9136756 in QObject::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f2cf8284204 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007f2cf8289083 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007f2cf611d5d6 in KApplication::notify (this=0x7fffd1680110,
receiver=0x22cf010, event=0x7f2cd002ead0) at
/home/martin/kdesrc/kde/kdelibs/kdeui/kernel/kapplication.cpp:311
#14 0x00007f2cf911d1ac in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007f2cf9120f7a in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007f2cf914c2a3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007f2cf3cce205 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f2cf3cce538 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f2cf3cce5f4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f2cf914c6cf in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007f2cf8328aee in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007f2cf911bf92 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007f2cf911c1e7 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007f2cf9121277 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007f2cf985c126 in Akonadi::ResourceBase::init (r=0x20267e0) at
/home/martin/kdesrc/kde/kdepimlibs/akonadi/resourcebase.cpp:412
#26 0x000000000041c396 in Akonadi::ResourceBase::init<ImapResource>
(argc=<optimized out>, argv=<optimized out>) at
/home/martin/kde/include/akonadi/resourcebase.h:188
#27 0x00007f2cf4c5eead in __libc_start_main () from
/lib/x86_64-linux-gnu/libc.so.6
#28 0x0000000000416a75 in _start ()

Possible duplicates by query: bug 295189.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list