<?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>253674</bug_id>
          
          <creation_ts>2010-10-09 16:14:56 +0000</creation_ts>
          <short_desc>akonadi crashes if kmail is started while akonadi hasn&apos;t been running before</short_desc>
          <delta_ts>2017-01-07 21:59:08 +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>general</component>
          <version>4.9</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UNMAINTAINED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Davide Bettio">davide.bettio</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>forsuspicioussenders</cc>
    
    <cc>marko.gabriel.cz</cc>
    
    <cc>vkrause</cc>
    
    <cc>willihope</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>1029648</commentid>
    <comment_count>0</comment_count>
    <who name="Davide Bettio">davide.bettio</who>
    <bug_when>2010-10-09 16:14:56 +0000</bug_when>
    <thetext>Application: akonadi_maildispatcher_agent (0.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-25-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Trying to start kmail while akonadi wasn&apos;t running (for example when kmail is started when there isn&apos;t any KDE application running)
kmail probably crashes too (kmail main window has been closed but I didn&apos;t see any crash report)

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Agent (akonadi_maildispatcher_agent), signal: Aborted
[KCrash Handler]
#6  0x00007f5a4352ca75 in *__GI_raise (sig=&lt;value optimized out&gt;) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f5a435305c0 in *__GI_abort () at abort.c:92
#8  0x00007f5a450af8e4 in qt_message_output (msgType=QtFatalMsg, buf=&lt;value optimized out&gt;) at global/qglobal.cpp:2259
#9  0x00007f5a45774f61 in ~QDebug (this=0x15b12e0) at /usr/include/qt4/QtCore/qdebug.h:85
#10 Akonadi::AgentBasePrivate::delayedInit (this=0x15b12e0) at ../../akonadi/agentbase.cpp:250
#11 0x00007f5a45772393 in Akonadi::AgentBase::qt_metacall (this=0x15b3560, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0x15ba4a0) at ./agentbase.moc:115
#12 0x0000000000409cd0 in MailDispatcherAgent::qt_metacall (this=0x1519, _c=5401, _id=6, _a=0xffffffffffffffff) at ./maildispatcheragent.moc:84
#13 0x00007f5a451bce7e in QObject::event (this=0x15b3560, e=0x1519) at kernel/qobject.cpp:1219
#14 0x00007f5a41ae36ec in QApplicationPrivate::notify_helper (this=0x14ae4f0, receiver=0x15b3560, e=0x15b8eb0) at kernel/qapplication.cpp:4396
#15 0x00007f5a41ae91dd in QApplication::notify (this=0x7fff7f814420, receiver=0x15b3560, e=0x15b8eb0) at kernel/qapplication.cpp:4277
#16 0x00007f5a43fdb536 in KApplication::notify (this=0x7fff7f814420, receiver=0x15b3560, event=0x15b8eb0) at ../../kdeui/kernel/kapplication.cpp:310
#17 0x00007f5a451ab0ac in QCoreApplication::notifyInternal (this=0x7fff7f814420, receiver=0x15b3560, event=0x15b8eb0) at kernel/qcoreapplication.cpp:732
#18 0x00007f5a451adfd2 in QCoreApplication::sendEvent (receiver=0x0, event_type=&lt;value optimized out&gt;, data=0x1495c90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=&lt;value optimized out&gt;, data=0x1495c90) at kernel/qcoreapplication.cpp:1373
#20 0x00007f5a451d7643 in QCoreApplication::sendPostedEvents (s=0x14b1f10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#21 postEventSourceDispatch (s=0x14b1f10) at kernel/qeventdispatcher_glib.cpp:277
#22 0x00007f5a40c348c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x00007f5a40c38748 in ?? () from /lib/libglib-2.0.so.0
#24 0x00007f5a40c388fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x00007f5a451d7183 in QEventDispatcherGlib::processEvents (this=0x14953e0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:415
#26 0x00007f5a41b9597e in QGuiEventDispatcherGlib::processEvents (this=0x1519, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007f5a451a9dd2 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=) at kernel/qeventloop.cpp:149
#28 0x00007f5a451aa1bc in QEventLoop::exec (this=0x7fff7f8143a0, flags=) at kernel/qeventloop.cpp:201
#29 0x00007f5a451ae26b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#30 0x00007f5a45771fc6 in Akonadi::AgentBase::init (r=0x15b3560) at ../../akonadi/agentbase.cpp:501
#31 0x0000000000408d45 in Akonadi::AgentBase::init&lt;MailDispatcherAgent&gt; (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at /usr/include/KDE/Akonadi/../../akonadi/agentbase.h:317
#32 main (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at ../../../agents/maildispatcher/maildispatcheragent.cpp:289

Possible duplicates by query: bug 223761.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1141541</commentid>
    <comment_count>1</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-07-13 22:31:51 +0000</bug_when>
    <thetext>*** Bug 253675 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1141543</commentid>
    <comment_count>2</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-07-13 22:32:15 +0000</bug_when>
    <thetext>*** Bug 269912 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1154345</commentid>
    <comment_count>3</comment_count>
      <attachid>62873</attachid>
    <who name="">forsuspicioussenders</who>
    <bug_when>2011-08-16 15:44:31 +0000</bug_when>
    <thetext>Created attachment 62873
New crash information added by DrKonqi

akonadi_maildispatcher_agent (0.1) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

Simply replying to an email in Kmail when akonadi is not running causes Kmail to hang.

-- Backtrace (Reduced):
#9  0x00007fd25cb602cd in ~QDebug (this=0x18063d0) at /usr/include/qt4/QtCore/qdebug.h:85
#10 Akonadi::AgentBasePrivate::delayedInit (this=0x18063d0) at ../../akonadi/agentbase.cpp:278
#11 0x00007fd25cb6147b in Akonadi::AgentBase::qt_metacall (this=0x18737d0, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x187a170) at ./agentbase.moc:120
#12 0x0000000000409340 in _start ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1197436</commentid>
    <comment_count>4</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-12-10 09:17:38 +0000</bug_when>
    <thetext>*** Bug 288621 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1205660</commentid>
    <comment_count>5</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-12-27 23:54:42 +0000</bug_when>
    <thetext>valid in master. I have a similar core file from the nepomuk feeder:

#3  0x00007f2ee486d98d in QDebug::~QDebug (this=0x7fff2b780e80, __in_chrg=&lt;optimized out&gt;) at /usr/include/QtCore/qdebug.h:85
#4  0x00007f2ee4869a6f in Akonadi::AgentBasePrivate::delayedInit (this=0x5f8170) at /kde/src/pim/kdepimlibs/akonadi/agentbase.cpp:288
#5  0x00007f2ee486cb46 in Akonadi::AgentBase::qt_static_metacall (_o=0x4dc1e0, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x5e7f60) at /kde/build/pim/kdepimlibs/akonadi/agentbase.moc:97
#6  0x00007f2ee4469916 in QObject::event (this=0x4dc1e0, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1204
#7  0x00007f2ee244be84 in notify_helper (e=0x60b710, receiver=0x4dc1e0, this=0x454200) at kernel/qapplication.cpp:4550
#8  QApplicationPrivate::notify_helper (this=0x454200, receiver=0x4dc1e0, e=0x60b710) at kernel/qapplication.cpp:4522
#9  0x00007f2ee2450d03 in QApplication::notify (this=0x7fff2b781900, receiver=0x4dc1e0, e=0x60b710) at kernel/qapplication.cpp:4411
#10 0x00007f2ee507752b in KApplication::notify (this=0x7fff2b781900, receiver=0x4dc1e0, event=0x60b710) at /kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#11 0x00007f2ee445088c in QCoreApplication::notifyInternal (this=0x7fff2b781900, receiver=0x4dc1e0, event=0x60b710) at kernel/qcoreapplication.cpp:876
#12 0x00007f2ee445412a in sendEvent (event=0x60b710, receiver=0x4dc1e0) at kernel/qcoreapplication.h:231
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x434670) at kernel/qcoreapplication.cpp:1500
#14 0x00007f2ee447f4b3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#15 postEventSourceDispatch (s=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:279
#16 0x00007f2edf0e358d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#17 0x00007f2edf0e3d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f2edf0e3f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f2ee447f8df in QEventDispatcherGlib::processEvents (this=0x434350, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#20 0x00007f2ee24ef2de in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=&lt;optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#21 0x00007f2ee444f672 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f2ee444f8c7 in QEventLoop::exec (this=0x7fff2b781860, flags=...) at kernel/qeventloop.cpp:204
#23 0x00007f2ee4454425 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#24 0x00007f2ee486b771 in Akonadi::AgentBase::init (r=0x4dc1e0) at /kde/src/pim/kdepimlibs/akonadi/agentbase.cpp:564
#25 0x000000000040b17f in Akonadi::AgentBase::init&lt;Akonadi::NepomukFeederAgent&gt; (argc=3, argv=0x7fff2b781a58) at /kde/inst/kdepimlibs/include/akonadi/agentbase.h:342
#26 0x0000000000409d0d in main (argc=3, argv=0x7fff2b781a58) at /kde/src/pim/kdepim-runtime/agents/nepomukfeeder/nepomukfeederagent.cpp:332</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1626495</commentid>
    <comment_count>6</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2016-09-24 20:34:43 +0000</bug_when>
    <thetext>This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1651040</commentid>
    <comment_count>7</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2017-01-07 21:59:08 +0000</bug_when>
    <thetext>Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>62873</attachid>
            <date>2011-08-16 15:44:31 +0000</date>
            <delta_ts>2011-08-16 15:44:31 +0000</delta_ts>
            <desc>New crash information added by DrKonqi</desc>
            <filename>drkonqireport</filename>
            <type>text/plain</type>
            <size>2070</size>
            <attacher>forsuspicioussenders</attacher>
            
              <data encoding="base64">QXBwbGljYXRpb246IGFrb25hZGlfbWFpbGRpc3BhdGNoZXJfYWdlbnQgKDAuMSkKS0RFIFBsYXRm
b3JtIFZlcnNpb246IDQuNi4yICg0LjYuMikKUXQgVmVyc2lvbjogNC43LjIKT3BlcmF0aW5nIFN5
c3RlbTogTGludXggMi42LjM4LTEwLWdlbmVyaWMgeDg2XzY0CkRpc3RyaWJ1dGlvbjogVWJ1bnR1
IDExLjA0CgotLSBJbmZvcm1hdGlvbiBhYm91dCB0aGUgY3Jhc2g6Ci0gV2hhdCBJIHdhcyBkb2lu
ZyB3aGVuIHRoZSBhcHBsaWNhdGlvbiBjcmFzaGVkOgoKU2ltcGx5IHJlcGx5aW5nIHRvIGFuIGVt
YWlsIGluIEttYWlsIHdoZW4gYWtvbmFkaSBpcyBub3QgcnVubmluZyBjYXVzZXMgS21haWwgdG8g
aGFuZy4KClRoZSBjcmFzaCBjYW4gYmUgcmVwcm9kdWNlZCBldmVyeSB0aW1lLgoKLS0gQmFja3Ry
YWNlOgpBcHBsaWNhdGlvbjogQWtvbmFkaSBBZ2VudCAoYWtvbmFkaV9tYWlsZGlzcGF0Y2hlcl9h
Z2VudCksIHNpZ25hbDogQWJvcnRlZApbQ3VycmVudCB0aHJlYWQgaXMgMSAoVGhyZWFkIDB4N2Zk
MjVkMGU4NzgwIChMV1AgMjA5NDUpKV0KClRocmVhZCAyIChUaHJlYWQgMHg3ZmQyNTBlZmM3M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