Bug 353304 - Akonadi crashes while indexing IMAP resource
Summary: Akonadi crashes while indexing IMAP resource
Status: RESOLVED DUPLICATE of bug 351097
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-09-29 05:39 UTC by Kai Krakow
Modified: 2015-10-20 21:07 UTC (History)
3 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 Kai Krakow 2015-09-29 05:39:27 UTC
Application: akonadi_imap_resource (4.88.0)

Qt Version: 5.5.0
Operating System: Linux 4.2.0-gentoo-r1 x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:

Everytime I booted the system, akonadi more or less reliably crashes.

Maybe related is this excerpt from the journal:

Sep 29 07:36:22 jupiter akonadi_maildir_resource[1576]: akonadiagentbase_log: Item does not provide part "RFC822"
Sep 29 07:36:22 jupiter akonadi_maildir_resource[1576]: akonadiagentbase_log: Item does not provide part "RFC822"
Sep 29 07:36:22 jupiter akonadi_invitations_agent[1552]: Failed to open external payload: "/home/kakra/.local/share/akonadi/file_db_data/" "file to open is a directory"
Sep 29 07:36:22 jupiter akonadi_invitations_agent[1552]: Failed to open external payload: "/home/kakra/.local/share/akonadi/file_db_data/" "file to open is a directory"

Sidenote:

Unfortunatly there also seems to be a bug in Dr. Konqi which does not really let me report a crash as duplicate or possibly related report. The buttons are non-functional (or missing in case of "this is a duplicate").

The crash can be reproduced sometimes.

-- Backtrace:
Application: Akonadi-Ressource (akonadi_imap_resource), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f16e9d8e880 (LWP 1541))]

Thread 4 (Thread 0x7f16e9277700 (LWP 1559)):
#0  0x000000396c0df47d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003bc9e0aa02 in poll (__timeout=-1, __nfds=1, __fds=0x7f16e9276c40) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x136cfc0, cond=cond@entry=0x136d000, vector=vector@entry=0x0, count=count@entry=0x0) at /var/tmp/portage/x11-libs/libxcb-1.11-r1/work/libxcb-1.11/src/xcb_conn.c:459
#3  0x0000003bc9e0c4cf in xcb_wait_for_event (c=0x136cfc0) at /var/tmp/portage/x11-libs/libxcb-1.11-r1/work/libxcb-1.11/src/xcb_in.c:623
#4  0x00007f16e98dd989 in QXcbEventReader::run (this=0x137ad40) at qxcbconnection.cpp:1197
#5  0x000000386389f5c3 in QThreadPrivate::start (arg=0x137ad40) at thread/qthread_unix.cpp:331
#6  0x000000396c808224 in start_thread (arg=0x7f16e9277700) at pthread_create.c:310
#7  0x000000396c0e80cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f16e33d7700 (LWP 1764)):
#0  0x000000396c0df47d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00000034d3a48bc4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f16dc003020, timeout=-1, context=0x7f16dc000990) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:4103
#2  g_main_context_iterate (context=context@entry=0x7f16dc000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3803
#3  0x00000034d3a48cdc in g_main_context_iteration (context=0x7f16dc000990, may_block=1) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3869
#4  0x0000003863a8873b in QEventDispatcherGlib::processEvents (this=0x7f16dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x0000003863a3d29b in QEventLoop::exec (this=this@entry=0x7f16e33d6d50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x000000386389aeba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x000000386389f5c3 in QThreadPrivate::start (arg=0x14b7430) at thread/qthread_unix.cpp:331
#8  0x000000396c808224 in start_thread (arg=0x7f16e33d7700) at pthread_create.c:310
#9  0x000000396c0e80cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f16e23d5700 (LWP 1807)):
#0  0x000000386387ce70 in g_main_context_iteration@plt () from /usr/lib64/libQt5Core.so.5
#1  0x0000003863a8873b in QEventDispatcherGlib::processEvents (this=0x7f16d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#2  0x0000003863a3d29b in QEventLoop::exec (this=this@entry=0x7f16e23d4d50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#3  0x000000386389aeba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#4  0x000000386389f5c3 in QThreadPrivate::start (arg=0x14b7dc0) at thread/qthread_unix.cpp:331
#5  0x000000396c808224 in start_thread (arg=0x7f16e23d5700) at pthread_create.c:310
#6  0x000000396c0e80cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f16e9d8e880 (LWP 1541)):
[KCrash Handler]
#6  0x000000396c034ee7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x000000396c03624a in __GI_abort () at abort.c:89
#8  0x0000003ce72605e5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/libstdc++.so.6
#9  0x0000003ce725e706 in __cxxabiv1::__terminate(void (*)()) () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/libstdc++.so.6
#10 0x0000003ce725e733 in std::terminate() () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/libstdc++.so.6
#11 0x0000003ce725e953 in __cxa_throw () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/libstdc++.so.6
#12 0x0000003b8942da61 in Akonadi::Protocol::DataStream::waitForData (this=this@entry=0x7ffcfb735df0, size=size@entry=2097152) at /var/tmp/portage/kde-apps/akonadi-15.08.1/work/akonadi-15.08.1/src/private/datastream_p.cpp:64
#13 0x0000003b89444133 in Akonadi::Protocol::DataStream::operator>> (this=0x7ffcfb735df0, str=...) at /var/tmp/portage/kde-apps/akonadi-15.08.1/work/akonadi-15.08.1/src/private/datastream_p_p.h:205
#14 0x0000003b89438c15 in Akonadi::Protocol::deserialize (device=<optimized out>) at /var/tmp/portage/kde-apps/akonadi-15.08.1/work/akonadi-15.08.1/src/private/protocol.cpp:627
#15 0x000000383c7085fb in Akonadi::SessionPrivate::dataReceived (this=0x145dc80) at /var/tmp/portage/kde-apps/kdepimlibs-15.08.1/work/kdepimlibs-15.08.1/akonadi/src/core/session.cpp:239
#16 0x0000003863a64b61 in QMetaObject::activate (sender=0x142ff60, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3718
#17 0x0000003863a64b61 in QMetaObject::activate (sender=sender@entry=0x1460788, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3718
#18 0x0000003863a651f7 in QMetaObject::activate (sender=sender@entry=0x1460788, m=m@entry=0x3863c70ac0 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3583
#19 0x0000003863ad18c0 in QIODevice::readyRead (this=this@entry=0x1460788) at .moc/moc_qiodevice.cpp:155
#20 0x00000038662cc1f8 in QAbstractSocketPrivate::canReadNotification (this=0x1459180) at socket/qabstractsocket.cpp:730
#21 0x00000038662d8bb1 in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1169
#22 0x000000383d55d82c in QApplicationPrivate::notify_helper (this=this@entry=0x1360930, receiver=receiver@entry=0x13f3ad0, e=e@entry=0x7ffcfb736400) at kernel/qapplication.cpp:3717
#23 0x000000383d562640 in QApplication::notify (this=0x7ffcfb736680, receiver=0x13f3ad0, e=0x7ffcfb736400) at kernel/qapplication.cpp:3500
#24 0x0000003863a3e65d in QCoreApplication::notifyInternal (this=0x7ffcfb736680, receiver=0x13f3ad0, event=event@entry=0x7ffcfb736400) at kernel/qcoreapplication.cpp:965
#25 0x0000003863a891de in sendEvent (event=0x7ffcfb736400, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#26 socketNotifierSourceDispatch (source=0x13a6170) at kernel/qeventdispatcher_glib.cpp:101
#27 0x00000034d3a489e4 in g_main_dispatch (context=0x7f16e40016f0) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3122
#28 g_main_context_dispatch (context=context@entry=0x7f16e40016f0) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3737
#29 0x00000034d3a48c38 in g_main_context_iterate (context=context@entry=0x7f16e40016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3808
#30 0x00000034d3a48cdc in g_main_context_iteration (context=0x7f16e40016f0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3869
#31 0x0000003863a8871c in QEventDispatcherGlib::processEvents (this=0x13a8790, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#32 0x0000003863a3d29b in QEventLoop::exec (this=this@entry=0x7ffcfb736600, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#33 0x0000003863a44186 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#34 0x000000383cee80dc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1528
#35 0x000000383d559fa5 in QApplication::exec () at kernel/qapplication.cpp:2977
#36 0x00000038436280ba in Akonadi::ResourceBase::init (r=r@entry=0x145ef10) at /var/tmp/portage/kde-apps/kdepimlibs-15.08.1/work/kdepimlibs-15.08.1/akonadi/src/agentbase/resourcebase.cpp:602
#37 0x000000000043e748 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:193
#38 0x000000396c021b75 in __libc_start_main (main=0x43e5c0 <main(int, char**)>, argc=3, argv=0x7ffcfb736798, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcfb736788) at libc-start.c:289
#39 0x000000000043e627 in _start ()

Possible duplicates by query: bug 352495, bug 351097.

Reported using DrKonqi
Comment 1 Weng Xuetian 2015-10-20 21:07:17 UTC

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