Bug 296418

Summary: kactivitymanager crashes on login
Product: [Unmaintained] plasma4 Reporter: Mathias Homann <Mathias.Homann>
Component: activitiesAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: antonios.pazarlis, chanika, ivan.cukic
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Mathias Homann 2012-03-20 08:28:23 UTC
Application: kactivitymanagerd (1.0)
KDE Platform Version: 4.8.1 (4.8.1) "release 483"
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
loggin into my computer

sometimes, kactivitymanager crashes, sometimes it doesn't. I'm not actually "doing" anything, other than logging in and having my saved session restored.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDE-Aktivitätenverwaltung (kactivitymanagerd), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f73ba0f7760 (LWP 3358))]

Thread 2 (Thread 0x7f73aac79700 (LWP 3392)):
[KCrash Handler]
#6  0x00007f73b4a276e5 in lockInline (this=0x622748) at /usr/include/QtCore/qmutex.h:187
#7  QMutexLocker (m=0x622748, this=0x7f73aac78460) at /usr/include/QtCore/qmutex.h:109
#8  Soprano::Error::ErrorCache::clearError (this=0x7f73a4003260) at /usr/src/debug/soprano-2.7.5/soprano/error.cpp:238
#9  0x00007f73b4a27e48 in Soprano::Error::ErrorCache::setError (this=0x7f73a4003260, error=...) at /usr/src/debug/soprano-2.7.5/soprano/error.cpp:225
#10 0x00007f73b47b93af in Soprano::Client::DBusModel::executeQuery (this=0x7f73a4003250, query=<optimized out>, language=<optimized out>, userQueryLanguage=<optimized out>) at /usr/src/debug/soprano-2.7.5/client/dbus/dbusmodel.cpp:112
#11 0x00007f73b9149d6c in Nepomuk::MainModel::executeQuery (this=0x7ed920, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at /usr/src/debug/kdelibs-4.8.1/nepomuk/core/nepomukmainmodel.cpp:212
#12 0x00007f73aac818fc in activityResource (id=...) at /usr/src/debug/kactivities-4.8.1/service/plugins/nepomuk/NepomukCommon.cpp:49
#13 0x00007f73aac885b8 in RankingsUpdateThread::run (this=0x8942c0) at /usr/src/debug/kactivities-4.8.1/service/plugins/nepomuk/Rankings.cpp:104
#14 0x00007f73b8a1a55b in QThreadPrivate::start (arg=0x8942c0) at thread/qthread_unix.cpp:298
#15 0x00007f73b740ff05 in start_thread (arg=0x7f73aac79700) at pthread_create.c:301
#16 0x00007f73b770010d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f73ba0f7760 (LWP 3358)):
#0  0x00007f73b76f9803 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f73b8b437bf in qt_safe_select (nfds=5, fdread=0x7fff312f5a90, fdwrite=0x7fff312f5b10, fdexcept=0x0, orig_timeout=0x7fff312f5b90) at kernel/qcore_unix.cpp:93
#2  0x00007f73b7194330 in QNativeSocketEnginePrivate::nativeSelect (this=0x8962a0, timeout=<optimized out>, checkRead=<optimized out>, checkWrite=<optimized out>, selectForRead=0x7fff312f5c3e, selectForWrite=0x7fff312f5c3f) at socket/qnativesocketengine_unix.cpp:1115
#3  0x00007f73b7192378 in QNativeSocketEngine::waitForReadOrWrite (this=<optimized out>, readyToRead=0x7fff312f5c3e, readyToWrite=0x7fff312f5c3f, checkRead=true, checkWrite=<optimized out>, msecs=600000, timedOut=0x0) at socket/qnativesocketengine.cpp:1000
#4  0x00007f73b718a5e5 in QAbstractSocket::waitForReadyRead (this=0x7f7ba8, msecs=600000) at socket/qabstractsocket.cpp:1888
#5  0x00007f73b4790cf8 in Soprano::Client::ClientConnection::executeQuery (this=0x8f8f20, modelId=1407896120, query=..., type=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at /usr/src/debug/soprano-2.7.5/client/clientconnection.cpp:269
#6  0x00007f73b4792803 in Soprano::Client::ClientModel::executeQuery (this=<optimized out>, query=<optimized out>, language=<optimized out>, userQueryLanguage=<optimized out>) at /usr/src/debug/soprano-2.7.5/client/clientmodel.cpp:101
#7  0x00007f73b9149d6c in Nepomuk::MainModel::executeQuery (this=0x7ed920, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at /usr/src/debug/kdelibs-4.8.1/nepomuk/core/nepomukmainmodel.cpp:212
#8  0x00007f73b9161d33 in Nepomuk::Types::EntityPrivate::load (this=0x89d980) at /usr/src/debug/kdelibs-4.8.1/nepomuk/types/entity.cpp:76
#9  0x00007f73b916593d in Nepomuk::Types::ClassPrivate::load (this=0x89d980) at /usr/src/debug/kdelibs-4.8.1/nepomuk/types/class.cpp:54
#10 0x00007f73b9160cc9 in Nepomuk::Types::EntityPrivate::init (this=0x89d980) at /usr/src/debug/kdelibs-4.8.1/nepomuk/types/entity.cpp:51
#11 0x00007f73b9166a72 in Nepomuk::Types::Class::isSubClassOf (this=<optimized out>, other=...) at /usr/src/debug/kdelibs-4.8.1/nepomuk/types/class.cpp:493
#12 0x00007f73b913411f in Nepomuk::ResourceData::constHasType (this=0x8629a0, uri=<optimized out>) at /usr/src/debug/kdelibs-4.8.1/nepomuk/core/resourcedata.cpp:255
#13 0x00007f73b9136468 in Nepomuk::ResourceData::load (this=0x8629a0) at /usr/src/debug/kdelibs-4.8.1/nepomuk/core/resourcedata.cpp:438
#14 0x00007f73b9136c9c in Nepomuk::ResourceData::property (this=0x8629a0, uri=...) at /usr/src/debug/kdelibs-4.8.1/nepomuk/core/resourcedata.cpp:265
#15 0x00007f73b914cf03 in Nepomuk::Resource::property (this=0x7fff312f67a0, uri=...) at /usr/src/debug/kdelibs-4.8.1/nepomuk/core/resource.cpp:301
#16 0x00007f73b914d00c in Nepomuk::Resource::symbols (this=0x7fff312f67a0) at /usr/src/debug/kdelibs-4.8.1/nepomuk/core/resource.cpp:841
#17 0x0000000000408a97 in ActivityManager::ActivityIcon (this=0x7fff312f7780, id=...) at /usr/src/debug/kactivities-4.8.1/service/ActivityManager.cpp:736
#18 0x0000000000415dc1 in ActivityManagerAdaptor::ActivityIcon (this=<optimized out>, id=<optimized out>) at /usr/src/debug/kactivities-4.8.1/builddir/service/activitymanageradaptor.cpp:45
#19 0x0000000000416286 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kactivities-4.8.1/builddir/service/activitymanageradaptor.moc:186
#20 ActivityManagerAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kactivities-4.8.1/builddir/service/activitymanageradaptor.moc:171
#21 0x000000000041662b in ActivityManagerAdaptor::qt_metacall (this=0x821240, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff312f6a10) at /usr/src/debug/kactivities-4.8.1/builddir/service/activitymanageradaptor.moc:255
#22 0x00007f73b8e93f6b in QDBusConnectionPrivate::deliverCall (this=0x643f70, object=0x821240, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:947
#23 0x00007f73b8e9513d in QDBusConnectionPrivate::activateCall (this=0x643f70, object=0x821240, flags=273, msg=...) at qdbusintegrator.cpp:857
#24 0x00007f73b8e95a9b in QDBusConnectionPrivate::activateObject (this=0x643f70, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#25 0x00007f73b8e95b8b in QDBusActivateObjectEvent::placeMetaCall (this=0x6e5a20) at qdbusintegrator.cpp:1537
#26 0x00007f73b8b30926 in QObject::event (this=0x7fff312f7780, e=<optimized out>) at kernel/qobject.cpp:1204
#27 0x00007f73b7ea0d84 in QApplication::event (this=0x7fff312f7780, e=0x6e5a20) at kernel/qapplication.cpp:2532
#28 0x00007f73b7e9ce84 in notify_helper (e=0x6e5a20, receiver=0x7fff312f7780, this=0x663600) at kernel/qapplication.cpp:4550
#29 QApplicationPrivate::notify_helper (this=0x663600, receiver=0x7fff312f7780, e=0x6e5a20) at kernel/qapplication.cpp:4522
#30 0x00007f73b7ea1d03 in QApplication::notify (this=0x7fff312f7780, receiver=0x7fff312f7780, e=0x6e5a20) at kernel/qapplication.cpp:4411
#31 0x00007f73b9614656 in KApplication::notify (this=0x7fff312f7780, receiver=0x7fff312f7780, event=0x6e5a20) at /usr/src/debug/kdelibs-4.8.1/kdeui/kernel/kapplication.cpp:311
#32 0x00007f73b8b1789c in QCoreApplication::notifyInternal (this=0x7fff312f7780, receiver=0x7fff312f7780, event=0x6e5a20) at kernel/qcoreapplication.cpp:876
#33 0x00007f73b8b1b13a in sendEvent (event=0x6e5a20, receiver=0x7fff312f7780) at kernel/qcoreapplication.h:231
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6293d0) at kernel/qcoreapplication.cpp:1500
#35 0x00007f73b8b464c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#36 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#37 0x00007f73b3a5c58d in g_main_dispatch (context=0x65a150) at gmain.c:2425
#38 g_main_context_dispatch (context=0x65a150) at gmain.c:2995
#39 0x00007f73b3a5cd88 in g_main_context_iterate (context=0x65a150, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#40 0x00007f73b3a5cf59 in g_main_context_iteration (context=0x65a150, may_block=1) at gmain.c:3136
#41 0x00007f73b8b468ef in QEventDispatcherGlib::processEvents (this=0x6290b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#42 0x00007f73b7f402de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f73b8b16682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f73b8b168d7 in QEventLoop::exec (this=0x7fff312f7710, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f73b8b1b435 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#46 0x0000000000406094 in main (argc=1, argv=0x7fff312f7978) at /usr/src/debug/kactivities-4.8.1/service/main.cpp:37

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

Possible duplicates by query: bug 295755, bug 295007, bug 293188, bug 291375, bug 290234.

Reported using DrKonqi
Comment 1 Ivan Čukić 2012-03-21 17:24:19 UTC
All threading+nepomuk bugs under one roof :)

*** This bug has been marked as a duplicate of bug 290234 ***
Comment 2 Antonios Pazarlis 2012-03-28 09:50:40 UTC
Created attachment 69962 [details]
New crash information added by DrKonqi

kactivitymanagerd (1.0) on KDE Platform 4.8.1 (4.8.1) "release 2" using Qt 4.8.0

- What I was doing when the application crashed:

Just loggin in by restoring the previous session. Not sure if it could be related but nepomuk with strigi was enabled.

-- Backtrace (Reduced):
#6  0x00007fbed6aa46e5 in lockInline (this=0x64a7f8) at /usr/include/QtCore/qmutex.h:187
#7  QMutexLocker (m=0x64a7f8, this=0x7fbecd012460) at /usr/include/QtCore/qmutex.h:109
#8  Soprano::Error::ErrorCache::clearError (this=0x7fbec8003690) at /usr/src/debug/soprano-2.7.5/soprano/error.cpp:238
#9  0x00007fbed6aa4e48 in Soprano::Error::ErrorCache::setError (this=0x7fbec8003690, error=...) at /usr/src/debug/soprano-2.7.5/soprano/error.cpp:225
#10 0x00007fbed68363af in Soprano::Client::DBusModel::executeQuery (this=0x7fbec8003680, query=<optimized out>, language=<optimized out>, userQueryLanguage=<optimized out>) at /usr/src/debug/soprano-2.7.5/client/dbus/dbusmodel.cpp:112