<?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>264504</bug_id>
          
          <creation_ts>2011-01-27 17:17:37 +0000</creation_ts>
          <short_desc>Akonadi Agent crashes everytime Nepomuk is disabled and re-enabled</short_desc>
          <delta_ts>2011-01-27 22:03:47 +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>Nepomuk Feeder Agents</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>251795</dup_id>
          
          <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>0</everconfirmed>
          <reporter name="Alvaro Manuel Recio Perez">amrecio</reporter>
          <assigned_to name="Tobias Koenig">tokoe</assigned_to>
          <cc>pim-bugs-null</cc>
    
    <cc>vkrause</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>1079483</commentid>
    <comment_count>0</comment_count>
    <who name="Alvaro Manuel Recio Perez">amrecio</who>
    <bug_when>2011-01-27 17:17:37 +0000</bug_when>
    <thetext>Application: akonadi_nepomuk_calendar_feeder (0.1)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
I&apos;m using Akonadi with some resources (notes, mail and calendars). Whenever Nepomuk is disabled and then  re-enabled in System Settings, Akonadi crashes.

Aditionally, Akonadi seems to be triggering a bug in Nepomuk (almost certainly Bug 246678) which makes the process virtuoso-t consume 100% CPU (or one core in multi-core processors).

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Agent (akonadi_nepomuk_calendar_feeder), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f352915cddc in QMutex::lock (this=0x16d76d8) at thread/qmutex.cpp:151
#7  0x00007f3523468d9d in ?? () from /usr/lib/libsopranoclient.so.1
#8  0x00007f3529160c22 in QThreadStorageData::set (this=&lt;value optimized out&gt;, p=0x172aa10) at thread/qthreadstorage.cpp:148
#9  0x00007f352346907e in ?? () from /usr/lib/libsopranoclient.so.1
#10 0x00007f35234690c9 in ?? () from /usr/lib/libsopranoclient.so.1
#11 0x00007f3523468087 in Soprano::Client::LocalSocketClient::connect(QString const&amp;) () from /usr/lib/libsopranoclient.so.1
#12 0x00007f3528bf86f0 in (anonymous namespace)::GlobalModelContainer::init (this=0x16d6360, forced=&lt;value optimized out&gt;) at ../../nepomuk/core/nepomukmainmodel.cpp:102
#13 0x00007f3528bfbb6a in Nepomuk::MainModel::init (this=0x16d5460) at ../../nepomuk/core/nepomukmainmodel.cpp:176
#14 0x00007f3528bf1f24 in Nepomuk::ResourceManager::init (this=0x16d4bc0) at ../../nepomuk/core/resourcemanager.cpp:328
#15 0x00007f3528bf5515 in Nepomuk::ResourceManagerPrivate::_k_storageServiceInitialized (this=0x16d4700, success=&lt;value optimized out&gt;) at ../../nepomuk/core/resourcemanager.cpp:219
#16 0x00007f3528bf55f5 in Nepomuk::ResourceManager::qt_metacall (this=0x16d4bc0, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0x7fff3b192170) at ./resourcemanager.moc:90
#17 0x00007f3528e950ee in QDBusConnectionPrivate::deliverCall (this=&lt;value optimized out&gt;, object=&lt;value optimized out&gt;, msg=&lt;value optimized out&gt;, metaTypes=..., slotIdx=&lt;value optimized out&gt;) at qdbusintegrator.cpp:919
#18 0x00007f3528ea00ef in QDBusCallDeliveryEvent::placeMetaCall (this=0x7f35236a0af0, object=0x7f3529161b20) at qdbusintegrator_p.h:103
#19 0x00007f3529267bde in QObject::event (this=0x16d4bc0, e=0x16d76d8) at kernel/qobject.cpp:1219
#20 0x00007f35264c1fdc in QApplicationPrivate::notify_helper (this=0x15eed70, receiver=0x16d4bc0, e=0x186ebb0) at kernel/qapplication.cpp:4396
#21 0x00007f35264c7aed in QApplication::notify (this=0x7fff3b192c30, receiver=0x16d4bc0, e=0x186ebb0) at kernel/qapplication.cpp:4277
#22 0x00007f352a10aa36 in KApplication::notify (this=0x7fff3b192c30, receiver=0x16d4bc0, event=0x186ebb0) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f3529255cdc in QCoreApplication::notifyInternal (this=0x7fff3b192c30, receiver=0x16d4bc0, event=0x186ebb0) at kernel/qcoreapplication.cpp:732
#24 0x00007f3529258c22 in sendEvent (receiver=0x0, event_type=&lt;value optimized out&gt;, data=0x15d75e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=&lt;value optimized out&gt;, data=0x15d75e0) at kernel/qcoreapplication.cpp:1373
#26 0x00007f3529282653 in sendPostedEvents (s=0x15f1990) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#27 postEventSourceDispatch (s=0x15f1990) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007f35236e3342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x00007f35236e72a8 in ?? () from /lib/libglib-2.0.so.0
#30 0x00007f35236e745c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x00007f3529282193 in QEventDispatcherGlib::processEvents (this=0x15d6cd0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:415
#32 0x00007f3526574a4e in QGuiEventDispatcherGlib::processEvents (this=0x16d76d8, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f3529254a02 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=) at kernel/qeventloop.cpp:149
#34 0x00007f3529254dec in QEventLoop::exec (this=0x7fff3b192bb0, flags=) at kernel/qeventloop.cpp:201
#35 0x00007f3529258ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#36 0x00007f3529608fd6 in Akonadi::AgentBase::init (r=0x16a2af0) at ../../akonadi/agentbase.cpp:541
#37 0x00000000004093d8 in init&lt;Akonadi::NepomukCalendarFeeder&gt; (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at /usr/include/akonadi/agentbase.h:342
#38 main (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at ../../../agents/nepomuk_calendar_feeder/nepomukcalendarfeeder.cpp:177

This bug may be a duplicate of or related to bug 251795.

Possible duplicates by query: bug 263203, bug 259454, bug 259453.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1079655</commentid>
    <comment_count>1</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-01-27 22:03:47 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>