Bug 314014 - Activities KRunner causes DBus crash 99% of the time
Summary: Activities KRunner causes DBus crash 99% of the time
Status: RESOLVED DUPLICATE of bug 316358
Alias: None
Product: kactivitymanagerd
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-28 02:55 UTC by Ryan Rix
Modified: 2016-02-28 10:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Rix 2013-01-28 02:55:40 UTC
Application: krunner (0.1)
KDE Platform Version: 4.9.97
Qt Version: 4.8.4
Operating System: Linux 3.7.2-201.fc18.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

-- Information about the crash:
- What I was doing when the application crashed:
yuenhoe came up with a cool tool to tie Firefox profiles to activities. http://yuenhoe.com/blog/2012/08/associating-firefox-profiles-with-kde-activities/

I use it to launch my firefox sessions on a regular basis; however when i do this, KRunner almost always crashes when i type "activity" (for activityfox); I've also basically trained myself not to use KRunner for activity management, which is a shame, since the activity runner used to be very useful. I've been having this issue for upwards a year, and just haven't got around to reporting it until now, unfortunately :(

I have a fairly high number of activities, upwards of 30 which may contribute to this crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Run Command Interface (krunner), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4755476880 (LWP 1903))]

Thread 10 (Thread 0x7f474a52f700 (LWP 1908)):
#0  0x000000317e8e998d in poll () from /lib64/libc.so.6
#1  0x0000003181c47d44 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#2  0x0000003181c47e64 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x0000003189da60d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#4  0x0000003189d767df in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x0000003189d76a68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x0000003189c78950 in QThread::exec() () from /lib64/libQtCore.so.4
#7  0x0000003189d5700f in QInotifyFileSystemWatcherEngine::run() () from /lib64/libQtCore.so.4
#8  0x0000003189c7b92c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#9  0x000000317f407d15 in start_thread () from /lib64/libpthread.so.0
#10 0x000000317e8f246d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f4738dc2700 (LWP 5820)):
[KCrash Handler]
#5  0x000000317e835ba5 in raise () from /lib64/libc.so.6
#6  0x000000317e837358 in abort () from /lib64/libc.so.6
#7  0x0000003187030ab5 in _dbus_abort () from /lib64/libdbus-1.so.3
#8  0x0000003187027545 in _dbus_warn_check_failed () from /lib64/libdbus-1.so.3
#9  0x000000318b61c4b6 in QDBusConnectionPrivate::waitForFinished(QDBusPendingCallPrivate*) () from /lib64/libQtDBus.so.4
#10 0x000000318b65baa7 in QDBusPendingCallPrivate::waitForFinished() () from /lib64/libQtDBus.so.4
#11 0x000000318b65c292 in QDBusPendingCallWatcher::waitForFinished() () from /lib64/libQtDBus.so.4
#12 0x00007f4739b84978 in KActivities::Info::icon() const () from /lib64/libkactivities.so.6
#13 0x00007f4739dcbda6 in ActivityRunner::addMatch(KActivities::Info const&, QList<Plasma::QueryMatch>&) () from /usr/lib64/kde4/krunner_activities.so
#14 0x00007f4739dcc395 in ActivityRunner::match(Plasma::RunnerContext&) () from /usr/lib64/kde4/krunner_activities.so
#15 0x0000003007cfb6be in Plasma::AbstractRunner::performMatch(Plasma::RunnerContext&) () from /lib64/libplasma.so.3
#16 0x00000031abc0c98a in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /lib64/libthreadweaver.so.4
#17 0x00000031abc0cb01 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#18 0x00000031abc0c15f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#19 0x00000031abc0c21b in ThreadWeaver::Thread::run() () from /lib64/libthreadweaver.so.4
#20 0x0000003189c7b92c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#21 0x000000317f407d15 in start_thread () from /lib64/libpthread.so.0
#22 0x000000317e8f246d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f4733fff700 (LWP 5821)):
#0  0x000000317f40b5e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003189c7be8b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000031abc0aad1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#3  0x00000031abc0d31b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /lib64/libthreadweaver.so.4
#4  0x00000031abc0c18f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#5  0x00000031abc0c21b in ThreadWeaver::Thread::run() () from /lib64/libthreadweaver.so.4
#6  0x0000003189c7b92c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#7  0x000000317f407d15 in start_thread () from /lib64/libpthread.so.0
#8  0x000000317e8f246d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f47337fe700 (LWP 5822)):
#0  0x000000317f40b5e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003189c7be8b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000031abc0aad1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#3  0x00000031abc0d31b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /lib64/libthreadweaver.so.4
#4  0x00000031abc0c18f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#5  0x00000031abc0c21b in ThreadWeaver::Thread::run() () from /lib64/libthreadweaver.so.4
#6  0x0000003189c7b92c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#7  0x000000317f407d15 in start_thread () from /lib64/libpthread.so.0
#8  0x000000317e8f246d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f4723fff700 (LWP 5823)):
#0  0x000000317f40b5e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003189c7be8b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000031abc0aad1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#3  0x00000031abc0d31b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /lib64/libthreadweaver.so.4
#4  0x00000031abc0c18f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#5  0x00000031abc0c21b in ThreadWeaver::Thread::run() () from /lib64/libthreadweaver.so.4
#6  0x0000003189c7b92c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#7  0x000000317f407d15 in start_thread () from /lib64/libpthread.so.0
#8  0x000000317e8f246d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f4732ffd700 (LWP 5824)):
#0  0x000000317f40b5e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003189c7be8b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000031abc0aad1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#3  0x00000031abc0d31b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /lib64/libthreadweaver.so.4
#4  0x00000031abc0d334 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /lib64/libthreadweaver.so.4
#5  0x00000031abc0c18f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#6  0x00000031abc0c21b in ThreadWeaver::Thread::run() () from /lib64/libthreadweaver.so.4
#7  0x0000003189c7b92c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#8  0x000000317f407d15 in start_thread () from /lib64/libpthread.so.0
#9  0x000000317e8f246d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f47327fc700 (LWP 5825)):
#0  0x000000317f40b5e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003189c7be8b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000031abc0aad1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#3  0x00000031abc0d31b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /lib64/libthreadweaver.so.4
#4  0x00000031abc0c18f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#5  0x00000031abc0c21b in ThreadWeaver::Thread::run() () from /lib64/libthreadweaver.so.4
#6  0x0000003189c7b92c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#7  0x000000317f407d15 in start_thread () from /lib64/libpthread.so.0
#8  0x000000317e8f246d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f4731ffb700 (LWP 5826)):
#0  0x000000317f40b5e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003189c7be8b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000031abc0aad1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#3  0x00000031abc0d31b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /lib64/libthreadweaver.so.4
#4  0x00000031abc0c18f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#5  0x00000031abc0c21b in ThreadWeaver::Thread::run() () from /lib64/libthreadweaver.so.4
#6  0x0000003189c7b92c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#7  0x000000317f407d15 in start_thread () from /lib64/libpthread.so.0
#8  0x000000317e8f246d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f47317fa700 (LWP 5827)):
#0  0x000000317f40b5e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003189c7be8b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000031abc0aad1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#3  0x00000031abc0d31b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /lib64/libthreadweaver.so.4
#4  0x00000031abc0c18f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /lib64/libthreadweaver.so.4
#5  0x00000031abc0c21b in ThreadWeaver::Thread::run() () from /lib64/libthreadweaver.so.4
#6  0x0000003189c7b92c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#7  0x000000317f407d15 in start_thread () from /lib64/libpthread.so.0
#8  0x000000317e8f246d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f4755476880 (LWP 1903)):
#0  0x000000317e8eebd9 in syscall () from /lib64/libc.so.6
#1  0x0000003189c7a3d4 in QMutexPrivate::wait(int) () from /lib64/libQtCore.so.4
#2  0x0000003189c765e5 in QMutex::lockInternal() () from /lib64/libQtCore.so.4
#3  0x000000318b61bb15 in QDBusConnectionPrivate::doDispatch() () from /lib64/libQtDBus.so.4
#4  0x000000318b61fb75 in QDBusConnectionPrivate::socketRead(int) () from /lib64/libQtDBus.so.4
#5  0x0000003189d8cebf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#6  0x0000003189dd7c5e in QSocketNotifier::activated(int) () from /lib64/libQtCore.so.4
#7  0x0000003189d9489b in QSocketNotifier::event(QEvent*) () from /lib64/libQtCore.so.4
#8  0x000000318cdca5cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#9  0x000000318cdcea4a in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#10 0x0000003001e46f26 in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#11 0x0000003189d77a8e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#12 0x0000003189da58d8 in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#13 0x0000003181c47a75 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#14 0x0000003181c47da8 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#15 0x0000003181c47e64 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#16 0x0000003189da60d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#17 0x000000318ce6a73e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#18 0x0000003189d767df in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#19 0x0000003189d76a68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#20 0x0000003189d7b858 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#21 0x0000003005e277df in kdemain () from /lib64/libkdeinit4_krunner.so
#22 0x000000317e821a05 in __libc_start_main () from /lib64/libc.so.6
#23 0x00000000004008d1 in _start ()

Possible duplicates by query: bug 313114, bug 311926, bug 310570, bug 309949, bug 309485.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-02-01 09:25:40 UTC
> #12 0x00007f4739b84978 in KActivities::Info::icon() const () from /lib64/libkactivities.so.6

Please install debug symbols and provide a better backtrace.
Comment 2 Ryan Rix 2013-02-01 10:09:32 UTC
Sorry about that; my debuginfo's aren't updated with my packages all the time ...

process 3057: arguments to dbus_pending_call_block() were incorrect, assertion "pending != NULL" failed in file dbus-pending-call.c line 746.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace

Thread 6 (Thread 0x7fffd2545700 (LWP 13170)):
#0  0x000000317e835ba5 in raise () from /lib64/libc.so.6
#1  0x000000317e837358 in abort () from /lib64/libc.so.6
#2  0x0000003187030ab5 in _dbus_abort () from /lib64/libdbus-1.so.3
#3  0x0000003187027545 in _dbus_warn_check_failed () from /lib64/libdbus-1.so.3
#4  0x00007ffff49a24b6 in QDBusConnectionPrivate::waitForFinished(QDBusPendingCallPrivate*) () from /lib64/libQtDBus.so.4
#5  0x00007ffff49e1aa7 in QDBusPendingCallPrivate::waitForFinished() () from /lib64/libQtDBus.so.4
#6  0x00007ffff49e2292 in QDBusPendingCallWatcher::waitForFinished() () from /lib64/libQtDBus.so.4
#7  0x00007fffd4b0b978 in waitForCallFinished (mutex=0x7fffbc10f2e8, watcher=<optimized out>)
    at /usr/src/debug/kactivities-4.9.98/src/lib/core/utils_p.h:96
#8  KActivities::Info::icon (this=0x7fffd2544b30) at /usr/src/debug/kactivities-4.9.98/src/lib/core/info.cpp:176
#9  0x00007fffd4d1eda6 in ActivityRunner::addMatch (this=this@entry=0x11fcb50, activity=..., matches=...)
    at /usr/src/debug/kde-workspace-4.9.98/plasma/generic/runners/activities/activityrunner.cpp:155
#10 0x00007fffd4d1f395 in ActivityRunner::match (this=0x11fcb50, context=...)
    at /usr/src/debug/kde-workspace-4.9.98/plasma/generic/runners/activities/activityrunner.cpp:124
#11 0x00007ffff74bd6ee in Plasma::AbstractRunner::performMatch (this=0x11fcb50, localContext=...)
    at /usr/src/debug/kdelibs-4.9.98/plasma/abstractrunner.cpp:136
#12 0x00007ffff71b798a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7fffd2544cb0, th=th@entry=0x13db4e0, job=job@entry=0x140f4f0)
    at /usr/src/debug/kdelibs-4.9.98/threadweaver/Weaver/Job.cpp:106
#13 0x00007ffff71b7b01 in ThreadWeaver::Job::execute (this=0x140f4f0, th=0x13db4e0) at /usr/src/debug/kdelibs-4.9.98/threadweaver/Weaver/Job.cpp:135
#14 0x00007ffff71b715f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7fffd2544d00, parent=0x830e10, th=th@entry=0x13db4e0)
    at /usr/src/debug/kdelibs-4.9.98/threadweaver/Weaver/Thread.cpp:95
#15 0x00007ffff71b721b in ThreadWeaver::Thread::run (this=0x13db4e0) at /usr/src/debug/kdelibs-4.9.98/threadweaver/Weaver/Thread.cpp:142
#16 0x00007ffff4c7d92c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#17 0x000000317f407d15 in start_thread () from /lib64/libpthread.so.0
#18 0x000000317e8f246d in clone () from /lib64/libc.so.6
Comment 3 Jekyll Wu 2013-02-01 10:54:00 UTC
Thanks for the feedback
Comment 4 Ryan Rix 2013-06-17 07:34:02 UTC
Any movement on this issue? it's still an open bug in the current 4.10 series and keeps me from using this Runner.
Comment 5 Alex Fiestas 2013-07-30 19:44:55 UTC

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