Bug 353306 - akonadi crash
Summary: akonadi crash
Status: RESOLVED DUPLICATE of bug 351850
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-09-29 06:10 UTC by Nigel Kukard
Modified: 2016-03-21 23:56 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.94 KB, text/plain)
2015-10-04 08:59 UTC, Nigel Kukard
Details
New crash information added by DrKonqi (7.70 KB, text/plain)
2015-10-04 19:38 UTC, Nigel Kukard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nigel Kukard 2015-09-29 06:10:36 UTC
Application: akonadi_imap_resource (4.88.0)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-11-generic x86_64
Distribution: Ubuntu Wily Werewolf (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
I was in a different application. It seems to happen frequently, about 2-3 times a day.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Akonadi Resource (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 0x7feedb692840 (LWP 2540))]

Thread 4 (Thread 0x7feed8ba1700 (LWP 2554)):
#0  0x00007feeeafb08dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007feee679ebd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007feee67a074f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007feedb3389e9 in QXcbEventReader::run (this=0x15a5290) at qxcbconnection.cpp:1105
#4  0x00007feeeb8b925e in QThreadPrivate::start (arg=0x15a5290) at thread/qthread_unix.cpp:337
#5  0x00007feee69bd6aa in start_thread (arg=0x7feed8ba1700) at pthread_create.c:333
#6  0x00007feeeafbbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7feed1c46700 (LWP 21758)):
#0  0x00007ffc2f94fc4f in clock_gettime ()
#1  0x00007feeeafca38d in __GI___clock_gettime (clock_id=<optimized out>, tp=tp@entry=0x7feed1c45af0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007feeeb96a346 in qt_clock_gettime (ts=0x7feed1c45af0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:161
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:170
#5  0x00007feeebaed8a9 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7feecc1c6060) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007feeebaede15 in QTimerInfoList::timerWait (this=0x7feecc1c6060, tm=...) at kernel/qtimerinfo_unix.cpp:379
#7  0x00007feeebaef1fe in timerSourcePrepareHelper (timeout=0x7feed1c45bc4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7feed1c45bc4) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007feee5e5f77d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007feee5e6011b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007feee5e602fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007feeebaefe1b in QEventDispatcherGlib::processEvents (this=0x7feecc0caf90, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007feeeba962da in QEventLoop::exec (this=this@entry=0x7feed1c45d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007feeeb8b4374 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#15 0x00007feeeb8b925e in QThreadPrivate::start (arg=0x16d5300) at thread/qthread_unix.cpp:337
#16 0x00007feee69bd6aa in start_thread (arg=0x7feed1c46700) at pthread_create.c:333
#17 0x00007feeeafbbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7feecb640700 (LWP 23701)):
#0  0x00007feee5ea48b4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007feee5e5f800 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007feee5e6011b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feee5e602fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007feeebaefe1b in QEventDispatcherGlib::processEvents (this=0x7feec001bc60, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007feeeba962da in QEventLoop::exec (this=this@entry=0x7feecb63fd80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007feeeb8b4374 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007feeeb8b925e in QThreadPrivate::start (arg=0x16d4020) at thread/qthread_unix.cpp:337
#8  0x00007feee69bd6aa in start_thread (arg=0x7feecb640700) at pthread_create.c:333
#9  0x00007feeeafbbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7feedb692840 (LWP 2540)):
[KCrash Handler]
#6  0x00007feeeef2aa3d in KIMAP::SearchJob::handleResponse(KIMAP::Message const&) () from /usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#7  0x00007feeeef3241b in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#8  0x00007feeebaca1d1 in QObject::event (this=0x168b8c0, e=<optimized out>) at kernel/qobject.cpp:1245
#9  0x00007feeec3e7b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1579410, receiver=receiver@entry=0x168b8c0, e=e@entry=0x7feec00231b0) at kernel/qapplication.cpp:3720
#10 0x00007feeec3ed230 in QApplication::notify (this=0x7ffc2f894710, receiver=0x168b8c0, e=0x7feec00231b0) at kernel/qapplication.cpp:3503
#11 0x00007feeeba98a9b in QCoreApplication::notifyInternal (this=0x7ffc2f894710, receiver=0x168b8c0, event=event@entry=0x7feec00231b0) at kernel/qcoreapplication.cpp:935
#12 0x00007feeeba9abd7 in QCoreApplication::sendEvent (event=0x7feec00231b0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x15706c0) at kernel/qcoreapplication.cpp:1552
#14 0x00007feeeba9b108 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#15 0x00007feeebaef9f3 in postEventSourceDispatch (s=0x15ce430) at kernel/qeventdispatcher_glib.cpp:271
#16 0x00007feee5e5fff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007feee5e60250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007feee5e602fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007feeebaefdff in QEventDispatcherGlib::processEvents (this=0x15dc820, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#20 0x00007feeeba962da in QEventLoop::exec (this=this@entry=0x7ffc2f894680, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#21 0x00007feeeba9de4c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#22 0x00007feeebe3409c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#23 0x00007feeec3e4025 in QApplication::exec () at kernel/qapplication.cpp:2956
#24 0x00007feeeea330ea in Akonadi::ResourceBase::init (r=r@entry=0x16ae900) at ../../../../akonadi/src/agentbase/resourcebase.cpp:599
#25 0x000000000043de13 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:193
#26 0x00007feeeaed5a40 in __libc_start_main (main=0x43dc70 <main(int, char**)>, argc=3, argv=0x7ffc2f894828, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc2f894818) at libc-start.c:289
#27 0x000000000043dcd9 in _start ()

Possible duplicates by query: bug 351850, bug 350548, bug 349800, bug 348365, bug 348319.

Reported using DrKonqi
Comment 1 Nigel Kukard 2015-10-04 08:59:28 UTC
Created attachment 94833 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.88.0) using Qt 5.4.2

- What I was doing when the application crashed:

Reading & deleting mail. I'm not sure if it was the same account as crashed or not, I have quite a number of accounts.

-- Backtrace (Reduced):
#6  0x00007fec42f32a3d in KIMAP::SearchJob::handleResponse(KIMAP::Message const&) () from /usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#7  0x00007fec42f3a41b in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#8  0x00007fec3fad3651 in QObject::event (this=0xd38620, e=<optimized out>) at kernel/qobject.cpp:1245
#9  0x00007fec403f0b8c in QApplicationPrivate::notify_helper (this=this@entry=0xafc160, receiver=receiver@entry=0xd38620, e=e@entry=0x7fec14021520) at kernel/qapplication.cpp:3720
#10 0x00007fec403f6230 in QApplication::notify (this=0x7ffe6011df40, receiver=0xd38620, e=0x7fec14021520) at kernel/qapplication.cpp:3503
Comment 2 Nigel Kukard 2015-10-04 19:38:56 UTC
Created attachment 94841 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.88.0) using Qt 5.4.2

- What I was doing when the application crashed:

I was in a different terminal. It seems it crashed again.

-- Backtrace (Reduced):
#6  0x00007fd2d5a1da3d in KIMAP::SearchJob::handleResponse(KIMAP::Message const&) () from /usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#7  0x00007fd2d5a2541b in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#8  0x00007fd2d25be651 in QObject::event (this=0x2086ca0, e=<optimized out>) at kernel/qobject.cpp:1245
#9  0x00007fd2d2edbb8c in QApplicationPrivate::notify_helper (this=this@entry=0x2016160, receiver=receiver@entry=0x2086ca0, e=e@entry=0x7fd2ac021b00) at kernel/qapplication.cpp:3720
#10 0x00007fd2d2ee1230 in QApplication::notify (this=0x7fff154dc500, receiver=0x2086ca0, e=0x7fd2ac021b00) at kernel/qapplication.cpp:3503
Comment 3 Bron Mach 2015-11-03 23:43:23 UTC
Same crash might have happened today when downloading many messages from inbox using KMail.
Kubuntu 15.10
4.2.0-16-generic #19-Ubuntu SMP ... x86_64 ... GNU/Linux
Qt 5.4.2
Plasma 5.4.2

Backtrace of the crash I experienced:

Application: Akonadi Resource (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 0x7f9043f41840 (LWP 1977))]

Thread 4 (Thread 0x7f9041450700 (LWP 1984)):
#0  0x00007f90538868dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f904f04dbd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f904f04f74f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f9043be7a39 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4  0x00007f90541902be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f904f26c6aa in start_thread (arg=0x7f9041450700) at pthread_create.c:333
#6  0x00007f9053891eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f9036e3f700 (LWP 3185)):
#0  0x00007f90538868dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f904e70f1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f904e70f2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f90543c729b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f905436d75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f905418b3d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f90541902be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f904f26c6aa in start_thread (arg=0x7f9036e3f700) at pthread_create.c:333
#8  0x00007f9053891eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f9037640700 (LWP 3391)):
#0  0x00007f905388249d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f904af6ff75 in ?? () from /usr/lib/nvidia-352/tls/libnvidia-tls.so.352.41
#2  0x00007f904e7524e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f904e70ecd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f904e70f190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f904e70f2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f90543c729b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f905436d75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f905418b3d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f90541902be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f904f26c6aa in start_thread (arg=0x7f9037640700) at pthread_create.c:333
#11 0x00007f9053891eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9043f41840 (LWP 1977)):
[KCrash Handler]
#6  0x00007f90577ffa3d in KIMAP::SearchJob::handleResponse(KIMAP::Message const&) () from /usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#7  0x00007f905780741b in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#8  0x00007f90543a1651 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f9054cbeb8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f9054cc4230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f905436ff1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f9054372057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f90543c6e73 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f904e70eff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f904e70f250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f904e70f2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f90543c729b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f905436d75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f90543752cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f905730821a in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#21 0x000000000043eaf3 in int Akonadi::ResourceBase::init<ImapResource>(int, char**) ()
#22 0x00007f90537aba40 in __libc_start_main (main=0x43e950 <main>, argc=3, argv=0x7fff7f6b6e38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7f6b6e28) at libc-start.c:289
#23 0x000000000043e9b9 in _start ()
Comment 4 Daniel Vrátil 2016-03-21 23:56:18 UTC

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