Bug 271639

Summary: akonadi crased while kmail was checking imap accounts
Product: [Frameworks and Libraries] Akonadi Reporter: Dmitriy <distselemov>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dmitriy 2011-04-24 20:10:15 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-3.dmz.1-liquorix-amd64 x86_64
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
My Kmail has 2 imap accaunts on Yandex and Gmail. Akonadi crashed while Kmail was checking them both. Before crash it also said that it could't connect to them (to yandex firstly) as the connection time had elapsed.

-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f83dbaf0760 (LWP 4362))]

Thread 3 (Thread 0x7f83c73a6700 (LWP 6894)):
#0  0xffffffffff600137 in ?? ()
#1  0x00007fffe6dff7a1 in ?? ()
#2  0x00007f83d6316e7f in clock_gettime (clock_id=-952476848, tp=0x7f83c73a5b50) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007f83dae85252 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007f83daf487dd in QTimerInfoList::updateCurrentTime (this=0x1ad1120) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007f83daf48b65 in QTimerInfoList::timerWait (this=0x1ad1120, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007f83daf475cc in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f83c73a5c7c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007f83daf47675 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007f83d6066957 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#10 0x00007f83d6067879 in ?? () from /lib/libglib-2.0.so.0
#11 0x00007f83d6067f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#12 0x00007f83daf47de6 in QEventDispatcherGlib::processEvents (this=0x1b271f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007f83daf1c022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f83daf1c26c in QEventLoop::exec (this=0x7f83c73a5e00, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007f83dae317d4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#16 0x00007f83d9b49d23 in ?? () from /usr/lib/libkimap.so.4
#17 0x00007f83dae34035 in QThreadPrivate::start (arg=0x1ba84e0) at thread/qthread_unix.cpp:320
#18 0x00007f83d6fca8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#19 0x00007f83d770b02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f83c679d700 (LWP 6911)):
#0  0x00007f83d7700113 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f83d60679e4 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f83d6067f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f83daf47de6 in QEventDispatcherGlib::processEvents (this=0x1947c30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f83daf1c022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f83daf1c26c in QEventLoop::exec (this=0x7f83c679ce00, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f83dae317d4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f83d9b49d23 in ?? () from /usr/lib/libkimap.so.4
#8  0x00007f83dae34035 in QThreadPrivate::start (arg=0x1ab4fa0) at thread/qthread_unix.cpp:320
#9  0x00007f83d6fca8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f83d770b02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f83dbaf0760 (LWP 4362)):
[KCrash Handler]
#6  QMutex::lock (this=0x400000041) at thread/qmutex.cpp:151
#7  0x00007f83daf1fb4e in QCoreApplication::postEvent (receiver=0x18fc560, event=0x1aa8d60, priority=0) at kernel/qcoreapplication.cpp:1140
#8  0x00007f83d9b31c9c in KIMAP::Job::handleErrorReplies(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#9  0x00007f83d9b45aa7 in KIMAP::SelectJob::handleResponse(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#10 0x00007f83d9b47f1c in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#11 0x00007f83d9b48fc2 in KIMAP::Session::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkimap.so.4
#12 0x00007f83daf30fea in QObject::event (this=0x1c349b0, e=<value optimized out>) at kernel/qobject.cpp:1217
#13 0x00007f83da2bdd14 in QApplicationPrivate::notify_helper (this=0x17f9240, receiver=0x1c349b0, e=0x7f83c003ba60) at kernel/qapplication.cpp:4462
#14 0x00007f83da2c28da in QApplication::notify (this=<value optimized out>, receiver=0x1c349b0, e=0x7f83c003ba60) at kernel/qapplication.cpp:4341
#15 0x00007f83d85ec436 in KApplication::notify (this=0x7fffe6cc35e0, receiver=0x1c349b0, event=0x7f83c003ba60) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007f83daf1cc8c in QCoreApplication::notifyInternal (this=0x7fffe6cc35e0, receiver=0x1c349b0, event=0x7f83c003ba60) at kernel/qcoreapplication.cpp:731
#17 0x00007f83daf204b5 in sendEvent (receiver=0x0, event_type=0, data=0x17df510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x17df510) at kernel/qcoreapplication.cpp:1372
#19 0x00007f83daf47bf3 in sendPostedEvents (s=0x17fbdc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#20 postEventSourceDispatch (s=0x17fbdc0) at kernel/qeventdispatcher_glib.cpp:277
#21 0x00007f83d60674a3 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x00007f83d6067c80 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007f83d6067f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x00007f83daf47d8f in QEventDispatcherGlib::processEvents (this=0x17df110, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#25 0x00007f83da3644de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f83daf1c022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f83daf1c26c in QEventLoop::exec (this=0x7fffe6cc3560, flags=...) at kernel/qeventloop.cpp:201
#28 0x00007f83daf2076b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#29 0x00007f83db61ffa2 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#30 0x0000000000420b38 in _start ()

This bug may be a duplicate of or related to bug 252682.

Possible duplicates by query: bug 251337.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-07-13 13:21:55 UTC

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