Bug 282598

Summary: Crash at login (including autostart of kmail2)
Product: [Frameworks and Libraries] Akonadi Reporter: jaript
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jaript 2011-09-23 06:22:57 UTC
Application: akonadi_imap_resource (4.7)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-11-generic x86_64
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
At login, but probably at kmail2 autostart, akonadi crash report tool popped up. In kmail I have one IMAP account, lying on a MS Exchange 2010 server. This causes IMAP mail not to work anymore, seems to have started in the upgrade of the Kubuntu packages a couple of days ago to akonadi-server 1.6.1-0ubuntu1.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f247cdf7700 (LWP 2737)):
#0  0x00007f248a495773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2488de8058 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2488de8519 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f248ded9f3e in QEventDispatcherGlib::processEvents (this=0x13e58c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f248deadcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f248deadef7 in QEventLoop::exec (this=0x7f247cdf6de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f248ddc527f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f248caed9b3 in KIMAP::SessionThread::run (this=0x171f3a0) at ../../kimap/sessionthread.cpp:169
#8  0x00007f248ddc7d05 in QThreadPrivate::start (arg=0x171f3a0) at thread/qthread_unix.cpp:331
#9  0x00007f2489d50edc in start_thread (arg=0x7f247cdf7700) at pthread_create.c:304
#10 0x00007f248a4a189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f24773e8700 (LWP 2738)):
#0  0x00007f248a495773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2488de8058 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2488de8519 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f248ded9f3e in QEventDispatcherGlib::processEvents (this=0x15d6430, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f248deadcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f248deadef7 in QEventLoop::exec (this=0x7f24773e7de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f248ddc527f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f248caed9b3 in KIMAP::SessionThread::run (this=0x13eb960) at ../../kimap/sessionthread.cpp:169
#8  0x00007f248ddc7d05 in QThreadPrivate::start (arg=0x13eb960) at thread/qthread_unix.cpp:331
#9  0x00007f2489d50edc in start_thread (arg=0x7f24773e8700) at pthread_create.c:304
#10 0x00007f248a4a189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f248ea6b780 (LWP 2174)):
[KCrash Handler]
#6  __memmove_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:2825
#7  0x00007f248dde58b9 in QListData::remove (this=0x1376fe8, i=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:58
#8  0x00007f248dde5b9b in QListData::erase (this=0x1376fe8, xi=<optimized out>) at tools/qlist.cpp:412
#9  0x0000000000454585 in erase (it=<optimized out>, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:453
#10 removeFirst (this=0x1376fe8) at /usr/include/qt4/QtCore/qlist.h:273
#11 takeFirst (this=0x1376fe8) at /usr/include/qt4/QtCore/qlist.h:477
#12 SessionPool::declareSessionReady (this=0x1376fa0, session=0x15d7170) at ../../../resources/imap/sessionpool.cpp:207
#13 0x0000000000455edc in SessionPool::onNamespacesTestDone (this=0x1376fa0, job=<optimized out>) at ../../../resources/imap/sessionpool.cpp:435
#14 0x000000000045624f in SessionPool::qt_metacall (this=0x1376fa0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff6c1b3dd0) at ./sessionpool.moc:120
#15 0x00007f248dec1eba in QMetaObject::activate (sender=0x16dcdc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff6c1b3dd0) at kernel/qobject.cpp:3278
#16 0x00007f248adad1d2 in KJob::result (this=<optimized out>, _t1=0x16dcdc0) at ./kjob.moc:194
#17 0x00007f248adad210 in KJob::emitResult (this=0x16dcdc0) at ../../kdecore/jobs/kjob.cpp:312
#18 0x00007f248cad46e4 in KIMAP::Job::handleErrorReplies (this=0x16dcdc0, response=...) at ../../kimap/job.cpp:86
#19 0x00007f248cae538d in KIMAP::NamespaceJob::handleResponse (this=<optimized out>, response=...) at ../../kimap/namespacejob.cpp:128
#20 0x00007f248caebc6a in KIMAP::SessionPrivate::responseReceived (this=0x164ff90, response=...) at ../../kimap/session.cpp:271
#21 0x00007f248caecd42 in KIMAP::Session::qt_metacall (this=0x15d7170, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x178ae60) at ./session.moc:113
#22 0x00007f248dec5a5e in QObject::event (this=0x15d7170, e=<optimized out>) at kernel/qobject.cpp:1217
#23 0x00007f248d25f3d4 in notify_helper (e=0x1352870, receiver=0x15d7170, this=0x11d7d20) at kernel/qapplication.cpp:4486
#24 QApplicationPrivate::notify_helper (this=0x11d7d20, receiver=0x15d7170, e=0x1352870) at kernel/qapplication.cpp:4458
#25 0x00007f248d264241 in QApplication::notify (this=0x7fff6c1b4bf0, receiver=0x15d7170, e=0x1352870) at kernel/qapplication.cpp:4365
#26 0x00007f248b37d266 in KApplication::notify (this=0x7fff6c1b4bf0, receiver=0x15d7170, event=0x1352870) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007f248deaeafc in QCoreApplication::notifyInternal (this=0x7fff6c1b4bf0, receiver=0x15d7170, event=0x1352870) at kernel/qcoreapplication.cpp:787
#28 0x00007f248deb251f in sendEvent (event=0x1352870, receiver=0x15d7170) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x11b3800) at kernel/qcoreapplication.cpp:1428
#30 0x00007f248ded9a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#31 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#32 0x00007f2488de7b4d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f2488de8348 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f2488de8519 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f248ded9ed6 in QEventDispatcherGlib::processEvents (this=0x11b5210, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#36 0x00007f248d306c6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f248deadcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f248deadef7 in QEventLoop::exec (this=0x7fff6c1b4b70, flags=...) at kernel/qeventloop.cpp:201
#39 0x00007f248deb2789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#40 0x00007f248e5a2356 in Akonadi::ResourceBase::init (r=0x133d590) at ../../akonadi/resourcebase.cpp:393
#41 0x000000000041a716 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#42 0x00007f248a3e130d in __libc_start_main (main=0x415050 <main(int, char**)>, argc=3, ubp_av=0x7fff6c1b4d08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6c1b4cf8) at libc-start.c:226
#43 0x0000000000415205 in _start ()

Possible duplicates by query: bug 282076.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-10-11 09:06:44 UTC

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