Bug 264504

Summary: Akonadi Agent crashes everytime Nepomuk is disabled and re-enabled
Product: [Frameworks and Libraries] Akonadi Reporter: Alvaro Manuel Recio Perez <amrecio>
Component: Nepomuk Feeder AgentsAssignee: Tobias Koenig <tokoe>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alvaro Manuel Recio Perez 2011-01-27 17:17:37 UTC
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'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=<value optimized out>, 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&) () from /usr/lib/libsopranoclient.so.1
#12 0x00007f3528bf86f0 in (anonymous namespace)::GlobalModelContainer::init (this=0x16d6360, forced=<value optimized out>) 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=<value optimized out>) at ../../nepomuk/core/resourcemanager.cpp:219
#16 0x00007f3528bf55f5 in Nepomuk::ResourceManager::qt_metacall (this=0x16d4bc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3b192170) at ./resourcemanager.moc:90
#17 0x00007f3528e950ee in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) 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=<value optimized out>, data=0x15d75e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, 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=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#32 0x00007f3526574a4e in QGuiEventDispatcherGlib::processEvents (this=0x16d76d8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f3529254a02 in QEventLoop::processEvents (this=<value optimized out>, 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<Akonadi::NepomukCalendarFeeder> (argc=<value optimized out>, argv=<value optimized out>) at /usr/include/akonadi/agentbase.h:342
#38 main (argc=<value optimized out>, argv=<value optimized out>) 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
Comment 1 Christophe Marin 2011-01-27 22:03:47 UTC

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