<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>353304</bug_id>
          
          <creation_ts>2015-09-29 05:39:27 +0000</creation_ts>
          <short_desc>Akonadi crashes while indexing IMAP resource</short_desc>
          <delta_ts>2015-10-20 21:07:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>Akonadi</product>
          <component>IMAP resource</component>
          <version>unspecified</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>351097</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Kai Krakow">kai</reporter>
          <assigned_to name="Christian Mollekopf">chrigi_1</assigned_to>
          <cc>pim-bugs-null</cc>
    
    <cc>vkrause</cc>
    
    <cc>wengxt</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1546912</commentid>
    <comment_count>0</comment_count>
    <who name="Kai Krakow">kai</who>
    <bug_when>2015-09-29 05:39:27 +0000</bug_when>
    <thetext>Application: akonadi_imap_resource (4.88.0)

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

-- 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 &quot;RFC822&quot;
Sep 29 07:36:22 jupiter akonadi_maildir_resource[1576]: akonadiagentbase_log: Item does not provide part &quot;RFC822&quot;
Sep 29 07:36:22 jupiter akonadi_invitations_agent[1552]: Failed to open external payload: &quot;/home/kakra/.local/share/akonadi/file_db_data/&quot; &quot;file to open is a directory&quot;
Sep 29 07:36:22 jupiter akonadi_invitations_agent[1552]: Failed to open external payload: &quot;/home/kakra/.local/share/akonadi/file_db_data/&quot; &quot;file to open is a directory&quot;

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 &quot;this is a duplicate&quot;).

The crash can be reproduced sometimes.

-- Backtrace:
Application: Akonadi-Ressource (akonadi_imap_resource), signal: Aborted
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
[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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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&gt;&gt; (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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x0) at kernel/qobject.cpp:3718
#17 0x0000003863a64b61 in QMetaObject::activate (sender=sender@entry=0x1460788, signalOffset=&lt;optimized out&gt;, 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 &lt;QIODevice::staticMetaObject&gt;, 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=&lt;optimized out&gt;, e=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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&lt;ImapResource&gt; (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:193
#38 0x000000396c021b75 in __libc_start_main (main=0x43e5c0 &lt;main(int, char**)&gt;, argc=3, argv=0x7ffcfb736798, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7ffcfb736788) at libc-start.c:289
#39 0x000000000043e627 in _start ()

Possible duplicates by query: bug 352495, bug 351097.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1551568</commentid>
    <comment_count>1</comment_count>
    <who name="Weng Xuetian">wengxt</who>
    <bug_when>2015-10-20 21:07:17 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 351097 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>