Bug 287077 - IMAP crashed when resuming from sleep
Summary: IMAP crashed when resuming from sleep
Status: RESOLVED DUPLICATE of bug 286393
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-20 15:21 UTC by Ryan Nowakowski
Modified: 2011-11-20 17:37 UTC (History)
2 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 Ryan Nowakowski 2011-11-20 15:21:19 UTC
Application: akonadi_imap_resource (4.7)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
IMAP crashed when resuming from sleep.  I was resuming from sleep when IMAP crashed.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Home of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f505c1e0780 (LWP 1829))]

Thread 4 (Thread 0x7f504a75b700 (LWP 2321)):
#0  0x00007f5057c04773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5056556f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5056557429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f505b64af3e in QEventDispatcherGlib::processEvents (this=0x21d63a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f505b61ecf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f505b61eef7 in QEventLoop::exec (this=0x7f504a75ade0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f505b53627f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f505a25ec13 in ?? () from /usr/lib/libkimap.so.4
#8  0x00007f505b538d05 in QThreadPrivate::start (arg=0x7f5044000e20) at thread/qthread_unix.cpp:331
#9  0x00007f50574bfefc in start_thread (arg=0x7f504a75b700) at pthread_create.c:304
#10 0x00007f5057c1089d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5048f31700 (LWP 7154)):
#0  0x00007f5057c04773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5056556f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5056557429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f505b64af3e in QEventDispatcherGlib::processEvents (this=0x2569d70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f505b61ecf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f505b61eef7 in QEventLoop::exec (this=0x7f5048f30de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f505b53627f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f505a25ec13 in ?? () from /usr/lib/libkimap.so.4
#8  0x00007f505b538d05 in QThreadPrivate::start (arg=0x252b190) at thread/qthread_unix.cpp:331
#9  0x00007f50574bfefc in start_thread (arg=0x7f5048f31700) at pthread_create.c:304
#10 0x00007f5057c1089d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5049f5a700 (LWP 7155)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f505b537d13 in QMutexPrivate::wait (this=0x7f50440029e0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f505b534365 in QMutex::lock (this=0x7f5044002120) at thread/qmutex.cpp:204
#3  0x00007f505b6370e0 in relock (mtx2=0x7f5044002120, mtx1=0x7f504400edb0) at ../../include/QtCore/private/../../../src/corelib/thread/qorderedmutexlocker_p.h:108
#4  relock (mtx2=0x7f5044002120, mtx1=0x7f504400edb0) at kernel/qobject.cpp:818
#5  QObject::~QObject (this=0x7f50400013e0, __in_chrg=<optimized out>) at kernel/qobject.cpp:888
#6  0x00007f505a538ada in ~QHostInfoResult (this=0x7f50400013e0, __in_chrg=<optimized out>) at kernel/qhostinfo_p.h:77
#7  ~QHostInfoRunnable (this=0x7f50400013c0, __in_chrg=<optimized out>) at kernel/qhostinfo_p.h:146
#8  QHostInfoRunnable::~QHostInfoRunnable (this=0x7f50400013c0, __in_chrg=<optimized out>) at kernel/qhostinfo_p.h:146
#9  0x00007f505b52d7c7 in QThreadPoolThread::run (this=0x21c0300) at concurrent/qthreadpool.cpp:119
#10 0x00007f505b538d05 in QThreadPrivate::start (arg=0x21c0300) at thread/qthread_unix.cpp:331
#11 0x00007f50574bfefc in start_thread (arg=0x7f5049f5a700) at pthread_create.c:304
#12 0x00007f5057c1089d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f505c1e0780 (LWP 1829)):
[KCrash Handler]
#6  __memmove_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1554
#7  0x00007f505b5568b9 in QListData::remove (this=0x2194e38, i=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:58
#8  0x00007f505b556b9b in QListData::erase (this=0x2194e38, xi=<optimized out>) at tools/qlist.cpp:412
#9  0x0000000000454595 in erase (it=<optimized out>, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:453
#10 removeFirst (this=0x2194e38) at /usr/include/qt4/QtCore/qlist.h:273
#11 takeFirst (this=0x2194e38) at /usr/include/qt4/QtCore/qlist.h:477
#12 SessionPool::declareSessionReady (this=0x2194df0, session=0x26b7c80) at ../../../resources/imap/sessionpool.cpp:207
#13 0x0000000000455d10 in SessionPool::onLoginDone (this=0x2194df0, job=0x2520920) at ../../../resources/imap/sessionpool.cpp:348
#14 0x000000000045622f in SessionPool::qt_metacall (this=0x2194df0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff676412d0) at ./sessionpool.moc:118
#15 0x00007f505b632eba in QMetaObject::activate (sender=0x2520920, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff676412d0) at kernel/qobject.cpp:3278
#16 0x00007f505851c5b2 in KJob::result (this=<optimized out>, _t1=0x2520920) at ./kjob.moc:194
#17 0x00007f505851c5f0 in KJob::emitResult (this=0x2520920) at ../../kdecore/jobs/kjob.cpp:312
#18 0x00007f505a25cbad in KIMAP::SessionPrivate::clearJobQueue() () from /usr/lib/libkimap.so.4
#19 0x00007f505a25dead in KIMAP::Session::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkimap.so.4
#20 0x00007f505b636a5e in QObject::event (this=0x26b7c80, e=<optimized out>) at kernel/qobject.cpp:1217
#21 0x00007f505a9d0424 in notify_helper (e=0x7f50400008b0, receiver=0x26b7c80, this=0x1fe9780) at kernel/qapplication.cpp:4486
#22 QApplicationPrivate::notify_helper (this=0x1fe9780, receiver=0x26b7c80, e=0x7f50400008b0) at kernel/qapplication.cpp:4458
#23 0x00007f505a9d5291 in QApplication::notify (this=0x7fff67641b50, receiver=0x26b7c80, e=0x7f50400008b0) at kernel/qapplication.cpp:4365
#24 0x00007f5058aec126 in KApplication::notify (this=0x7fff67641b50, receiver=0x26b7c80, event=0x7f50400008b0) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f505b61fafc in QCoreApplication::notifyInternal (this=0x7fff67641b50, receiver=0x26b7c80, event=0x7f50400008b0) at kernel/qcoreapplication.cpp:787
#26 0x00007f505b62351f in sendEvent (event=0x7f50400008b0, receiver=0x26b7c80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1fc0800) at kernel/qcoreapplication.cpp:1428
#28 0x00007f505b64aa73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f5056556a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f5056557258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f5056557429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f505b64aed6 in QEventDispatcherGlib::processEvents (this=0x1fc2210, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007f505aa7807e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f505b61ecf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f505b61eef7 in QEventLoop::exec (this=0x7fff67641ad0, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f505b623789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#38 0x00007f505bd13546 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#39 0x000000000041a716 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#40 0x00007f5057b5030d in __libc_start_main (main=0x415050 <main(int, char**)>, argc=3, ubp_av=0x7fff67641c68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff67641c58) at libc-start.c:226
#41 0x0000000000415205 in _start ()

Possible duplicates by query: bug 282076.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-11-20 17:37:09 UTC

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