Bug 314837

Summary: kactivitymanagerd crashed after logging on to KDE
Product: [Unmaintained] nepomuk Reporter: Eugene <ken20001>
Component: generalAssignee: Nepomuk Bugs Coordination <nepomuk-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: bladud, nepomuk-bugs, plasma-bugs
Priority: NOR    
Version: 4.10.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.2
Sentry Crash Report:

Description Eugene 2013-02-10 18:16:30 UTC
Application: kactivitymanagerd (3.0)
KDE Platform Version: 4.10.00
Qt Version: 4.8.3
Operating System: Linux 3.5.0-23-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
I just logged in to KDE when the applciation crashed. No unusual desktop activity detected.

-- Backtrace:
Application: Керування просторами дій у KDE (kactivitymanagerd), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
[Current thread is 1 (Thread 0x7f04242a5780 (LWP 2264))]

Thread 6 (Thread 0x7f041ccdc700 (LWP 2271)):
#0  0x00007f042b1d805d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f0418000a60) at pthread_mutex_unlock.c:290
#2  0x00007f04273d9e51 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f042739c60b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f042739ccab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f042739cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f042d286c16 in QEventDispatcherGlib::processEvents (this=0x7f04180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f042d2572bf in QEventLoop::processEvents (this=this@entry=0x7f041ccdbdf0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f042d257548 in QEventLoop::exec (this=0x7f041ccdbdf0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f042d158b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x000000000040ec4a in ?? ()
#11 0x00007f042d15baec in QThreadPrivate::start (arg=0x12b6880) at thread/qthread_unix.cpp:338
#12 0x00007f042b1d4e9a in start_thread (arg=0x7f041ccdc700) at pthread_create.c:308
#13 0x00007f042be65cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0417fff700 (LWP 2274)):
[KCrash Handler]
#6  0x00007f042bda8425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f042bdabb8b in __GI_abort () at abort.c:91
#8  0x00007f042bde639e in __libc_message (do_abort=2, fmt=0x7f042bef0028 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007f042bdf0b96 in malloc_printerr (action=3, str=0x7f042beec94b "invalid fastbin entry (free)", ptr=<optimized out>) at malloc.c:5007
#10 0x00007f042d1a53b8 in QString::free (d=0x7f041000d400) at tools/qstring.cpp:1235
#11 0x00007f042d1a8a79 in QString::resize (this=0x7f0417ffe050, size=<optimized out>) at tools/qstring.cpp:1277
#12 0x00007f042d28fbb0 in QUtf8::convertToUnicode (chars=<optimized out>, len=<optimized out>, state=0x0) at codecs/qutfcodec.cpp:257
#13 0x00007f042d1a2bfb in QString::fromUtf8 (str=<optimized out>, size=<optimized out>) at tools/qstring.cpp:4020
#14 0x00007f042d890320 in Soprano::DataStream::readString (this=this@entry=0x7f0417ffe130, s=...) at ../../soprano/datastream.cpp:270
#15 0x00007f042d89066e in Soprano::DataStream::readError (this=0x7f0417ffe130, error=...) at ../../soprano/datastream.cpp:398
#16 0x00007f0427cafcf8 in Soprano::Client::ClientConnection::iteratorNext (this=0x1332bd0, id=958666116) at ../../client/clientconnection.cpp:580
#17 0x00007f0427cb31e4 in Soprano::Client::ClientQueryResultIteratorBackend::next (this=0x7f0410015760) at ../../client/clientqueryresultiteratorbackend.cpp:46
#18 0x00007f042db5f309 in Soprano::Iterator<Soprano::BindingSet>::next (this=this@entry=0x7f0417ffe2f0) at /usr/include/Soprano/../soprano/iterator.h:239
#19 0x00007f042db5b922 in Nepomuk2::ResourceData::load (this=this@entry=0x7f0410004340) at ../../libnepomukcore/resource/resourcedata.cpp:343
#20 0x00007f042db5bdee in Nepomuk2::ResourceData::property (this=0x7f0410004340, uri=...) at ../../libnepomukcore/resource/resourcedata.cpp:234
#21 0x00007f042db6d3a3 in Nepomuk2::Resource::property (this=this@entry=0x7f0417ffe490, uri=...) at ../../libnepomukcore/resource/resource.cpp:226
#22 0x00007f042db6ea78 in Nepomuk2::Resource::symbols (this=0x7f0417ffe490) at ../../libnepomukcore/resource/resource.cpp:571
#23 0x000000000041d285 in ?? ()
#24 0x000000000041d548 in ?? ()
#25 0x00007f042d26d43e in QObject::event (this=0x12fa3d0, e=<optimized out>) at kernel/qobject.cpp:1195
#26 0x00007f042c5ffe9c in QApplicationPrivate::notify_helper (this=this@entry=0x1137bc0, receiver=receiver@entry=0x12fa3d0, e=e@entry=0x1343400) at kernel/qapplication.cpp:4562
#27 0x00007f042c60430a in QApplication::notify (this=0x10df2a0, receiver=0x12fa3d0, e=0x1343400) at kernel/qapplication.cpp:4423
#28 0x00007f042e6e2636 in KApplication::notify (this=0x10df2a0, receiver=0x12fa3d0, event=0x1343400) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f042d25856e in QCoreApplication::notifyInternal (this=0x10df2a0, receiver=receiver@entry=0x12fa3d0, event=event@entry=0x1343400) at kernel/qcoreapplication.cpp:915
#30 0x00007f042d25c3f1 in sendEvent (event=0x1343400, receiver=0x12fa3d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x12fb810) at kernel/qcoreapplication.cpp:1539
#32 0x00007f042d286a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x7f04100012d0) at kernel/qeventdispatcher_glib.cpp:279
#34 0x00007f042739cab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f042739cde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f042739cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f042d286bf6 in QEventDispatcherGlib::processEvents (this=0x7f04100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007f042d2572bf in QEventLoop::processEvents (this=this@entry=0x7f0417ffedf0, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f042d257548 in QEventLoop::exec (this=0x7f0417ffedf0, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f042d158b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#41 0x000000000040ec1a in ?? ()
#42 0x00007f042d15baec in QThreadPrivate::start (arg=0x1143da0) at thread/qthread_unix.cpp:338
#43 0x00007f042b1d4e9a in start_thread (arg=0x7f0417fff700) at pthread_create.c:308
#44 0x00007f042be65cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#45 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f04177fe700 (LWP 2275)):
#0  0x00007f042be588bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f04273d915f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f042739c914 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f042739cd22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f042739cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f042d286c16 in QEventDispatcherGlib::processEvents (this=0x7f04080008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f042d2572bf in QEventLoop::processEvents (this=this@entry=0x7f04177fddf0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f042d257548 in QEventLoop::exec (this=0x7f04177fddf0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f042d158b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x000000000040ebea in ?? ()
#10 0x00007f042d15baec in QThreadPrivate::start (arg=0x127b640) at thread/qthread_unix.cpp:338
#11 0x00007f042b1d4e9a in start_thread (arg=0x7f04177fe700) at pthread_create.c:308
#12 0x00007f042be65cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f04162f2700 (LWP 2279)):
#0  0x00007f04273d9e51 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f042739c60b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f042739ccab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f042739cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f042d286c16 in QEventDispatcherGlib::processEvents (this=0x7f040c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f042d2572bf in QEventLoop::processEvents (this=this@entry=0x7f04162f1df0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f042d257548 in QEventLoop::exec (this=0x7f04162f1df0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f042d158b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f04167d980a in ?? () from /usr/lib/kde4/activitymanager_plugin_activityranking.so
#9  0x00007f042d15baec in QThreadPrivate::start (arg=0x139e420) at thread/qthread_unix.cpp:338
#10 0x00007f042b1d4e9a in start_thread (arg=0x7f04162f2700) at pthread_create.c:308
#11 0x00007f042be65cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f04158dc700 (LWP 2280)):
#0  0x00007f042b1d6f69 in __pthread_mutex_lock (mutex=0x7f0400000a60) at pthread_mutex_lock.c:92
#1  0x00007f04273d9e21 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f042739c897 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f042739cd22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f042739cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f042d286c16 in QEventDispatcherGlib::processEvents (this=0x7f04000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f042d2572bf in QEventLoop::processEvents (this=this@entry=0x7f04158dbdd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f042d257548 in QEventLoop::exec (this=0x7f04158dbdd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f042d158b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f042d2379af in QInotifyFileSystemWatcherEngine::run (this=0x13c1c90) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f042d15baec in QThreadPrivate::start (arg=0x13c1c90) at thread/qthread_unix.cpp:338
#11 0x00007f042b1d4e9a in start_thread (arg=0x7f04158dc700) at pthread_create.c:308
#12 0x00007f042be65cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f04242a5780 (LWP 2264)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x00007f042d15a594 in _q_futex (timeout=0x0, val=2, op=0, addr=0x7f041000d400, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x7f041000d400, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007f042d1567a5 in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x00007f042d5d0138 in lockInline (this=0x7f04100146a0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:190
#5  QMutexLocker (m=0x7f04100146a0, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:109
#6  QDBusConnectionPrivate::processFinishedCall (call=0x7f0410014670) at qdbusintegrator.cpp:1789
#7  0x00007f0427a6486a in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#8  0x00007f0427a67933 in dbus_connection_dispatch () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#9  0x00007f042d5ccb49 in q_dbus_connection_dispatch (connection=<optimized out>) at qdbus_symbols_p.h:115
#10 QDBusConnectionPrivate::doDispatch (this=0x1107f50) at qdbusintegrator.cpp:1129
#11 0x00007f042d5d0d75 in QDBusConnectionPrivate::socketRead (this=0x1107f50, fd=5) at qdbusintegrator.cpp:1149
#12 0x00007f042d26df5f in QMetaObject::activate (sender=0x1144110, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9af5f930) at kernel/qobject.cpp:3547
#13 0x00007f042d2b879e in QSocketNotifier::activated (this=<optimized out>, _t1=5) at .moc/release-shared/moc_qsocketnotifier.cpp:103
#14 0x00007f042d2757eb in QSocketNotifier::event (this=0x1144110, e=0x7fff9af5ff50) at kernel/qsocketnotifier.cpp:317
#15 0x00007f042c5ffe9c in QApplicationPrivate::notify_helper (this=this@entry=0x1137bc0, receiver=receiver@entry=0x1144110, e=e@entry=0x7fff9af5ff50) at kernel/qapplication.cpp:4562
#16 0x00007f042c60430a in QApplication::notify (this=0x10df2a0, receiver=0x1144110, e=0x7fff9af5ff50) at kernel/qapplication.cpp:4423
#17 0x00007f042e6e2636 in KApplication::notify (this=0x10df2a0, receiver=0x1144110, event=0x7fff9af5ff50) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007f042d25856e in QCoreApplication::notifyInternal (this=0x10df2a0, receiver=0x1144110, event=0x7fff9af5ff50) at kernel/qcoreapplication.cpp:915
#19 0x00007f042d2863f8 in sendEvent (event=0x7fff9af5ff50, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 socketNotifierSourceDispatch (source=0x1137810) at kernel/qeventdispatcher_glib.cpp:110
#21 0x00007f042739cab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f042739cde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f042739cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f042d286bf6 in QEventDispatcherGlib::processEvents (this=0x10b89e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#25 0x00007f042c6a4c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f042d2572bf in QEventLoop::processEvents (this=this@entry=0x7fff9af60190, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f042d257548 in QEventLoop::exec (this=0x7fff9af60190, flags=...) at kernel/qeventloop.cpp:204
#28 0x00007f042d25c708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#29 0x000000000040a745 in ?? ()
#30 0x00007f042bd9376d in __libc_start_main (main=0x40a540, argc=1, ubp_av=0x7fff9af60488, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff9af60478) at libc-start.c:226
#31 0x000000000040a965 in _start ()

Possible duplicates by query: bug 314055, bug 311589, bug 309216, bug 307561, bug 306284.

Reported using DrKonqi
Comment 1 Simeon Bird 2013-05-05 04:10:52 UTC
Looks like a ResourceWatcher dbus problem, should be fixed in 4.10.2