Bug 345477

Summary: Crash - ServiceRunner::setupMatch
Product: [Plasma] krunner Reporter: Arjun AK <arjunak234>
Component: generalAssignee: Vishesh Handa <me>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 5.2.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arjun AK 2015-03-24 14:34:13 UTC
I opened krunner, typed in 'dolphin' and pressed the enter key, dolphin was run, but krunner crashed just after that.

Application: krunner (krunner), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f125b315900 (LWP 2783))]

Thread 7 (Thread 0x7f123cc71700 (LWP 2784)):
#0  0x00007f125543366d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f12542ab182 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7f123cc70bc0) at /usr/include/bits/poll2.h:46
#2  0x00007f12542ab182 in _xcb_conn_wait (c=c@entry=0xc98f60, cond=cond@entry=0xc98fa0, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007f12542accff in xcb_wait_for_event (c=0xc98f60) at xcb_in.c:623
#4  0x00007f123e7b9699 in QXcbEventReader::run() (this=0xca2d50) at qxcbconnection.cpp:1108
#5  0x00007f125603a67e in QThreadPrivate::start(void*) (arg=0xca2d50) at thread/qthread_unix.cpp:337
#6  0x00007f1251d60555 in start_thread (arg=0x7f123cc71700) at pthread_create.c:333
#7  0x00007f125543ef3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f1234d25700 (LWP 2799)):
#0  0x00007f125543366d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f125054755c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f1230003070, timeout=<optimized out>, context=0x7f1230000990) at gmain.c:4103
#2  0x00007f125054755c in g_main_context_iterate (context=context@entry=0x7f1230000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3803
#3  0x00007f125054766c in g_main_context_iteration (context=0x7f1230000990, may_block=1) at gmain.c:3869
#4  0x00007f1256268a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f12300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f125620fd5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f1234d24ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f1256035674 in QThread::exec() (this=this@entry=0xe572a0) at thread/qthread.cpp:503
#7  0x00007f1259adc3e5 in QQmlThreadPrivate::run() (this=0xe572a0) at /usr/src/debug/qtdeclarative-opensource-src-5.4.1/src/qml/qml/ftw/qqmlthread.cpp:141
#8  0x00007f125603a67e in QThreadPrivate::start(void*) (arg=0xe572a0) at thread/qthread_unix.cpp:337
#9  0x00007f1251d60555 in start_thread (arg=0x7f1234d25700) at pthread_create.c:333
#10 0x00007f125543ef3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f1227393700 (LWP 2892)):
#0  0x00007f1251d65530 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f125603b77b in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x1144170) at thread/qwaitcondition_unix.cpp:128
#2  0x00007f125603b77b in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x108d2b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:200
#3  0x00007f122e07807f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /lib64/libKF5ThreadWeaver.so.5
#4  0x00007f122e07c868 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#5  0x00007f122e077143 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#6  0x00007f122e07c8c2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#7  0x00007f122e077143 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#8  0x00007f122e07a1b3 in ThreadWeaver::Thread::run() () at /lib64/libKF5ThreadWeaver.so.5
#9  0x00007f125603a67e in QThreadPrivate::start(void*) (arg=0x28eff70) at thread/qthread_unix.cpp:337
#10 0x00007f1251d60555 in start_thread (arg=0x7f1227393700) at pthread_create.c:333
#11 0x00007f125543ef3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f1226b92700 (LWP 2893)):
[KCrash Handler]
#6  0x00007f125609d05f in qHash(QString const&, unsigned int) (this=this@entry=0x0) at ../../src/corelib/tools/qstring.h:225
#7  0x00007f125609d05f in qHash(QString const&, unsigned int) (key=..., seed=1417924635) at tools/qhash.cpp:184
#8  0x00007f12567b60e4 in QCache<QString, QIcon>::insert(QString const&, QIcon*, int) (ahp=0x0, akey=..., this=0x7f1256d78250 <(anonymous namespace)::Q_QGS_qtIconCache::innerFunction()::holder+16>) at ../../src/corelib/tools/qhash.h:912
#9  0x00007f12567b60e4 in QCache<QString, QIcon>::insert(QString const&, QIcon*, int) (akey=..., this=0x7f1256d78250 <(anonymous namespace)::Q_QGS_qtIconCache::innerFunction()::holder+16>) at ../../src/corelib/tools/qhash.h:800
#10 0x00007f12567b60e4 in QCache<QString, QIcon>::insert(QString const&, QIcon*, int) (n=..., this=0x7f1256d78240 <(anonymous namespace)::Q_QGS_qtIconCache::innerFunction()::holder>) at ../../src/corelib/tools/qcache.h:62
#11 0x00007f12567b60e4 in QCache<QString, QIcon>::insert(QString const&, QIcon*, int) (m=99, this=0x7f1256d78240 <(anonymous namespace)::Q_QGS_qtIconCache::innerFunction()::holder>) at ../../src/corelib/tools/qcache.h:187
#12 0x00007f12567b60e4 in QCache<QString, QIcon>::insert(QString const&, QIcon*, int) (this=0x7f1256d78240 <(anonymous namespace)::Q_QGS_qtIconCache::innerFunction()::holder>, akey=..., aobject=0x7f1210067b90, acost=1) at ../../src/corelib/tools/qcache.h:167
#13 0x00007f12567b4146 in QIcon::fromTheme(QString const&, QIcon const&) (name=..., fallback=...) at image/qicon.cpp:1177
#14 0x00007f122bdc721f in ServiceRunner::setupMatch(QExplicitlySharedDataPointer<KService> const&, Plasma::QueryMatch&) (this=this@entry=0x25757c0, service=..., match=...) at ../../../runners/services/servicerunner.cpp:267
#15 0x00007f122bdc8343 in ServiceRunner::match(Plasma::RunnerContext&) (this=0x25757c0, context=...) at ../../../runners/services/servicerunner.cpp:143
#16 0x00007f122e299b50 in Plasma::AbstractRunner::performMatch(Plasma::RunnerContext&) () at /lib64/libKF5Runner.so.5
#17 0x00007f122e07ba50 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /lib64/libKF5ThreadWeaver.so.5
#18 0x00007f122e07a96a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /lib64/libKF5ThreadWeaver.so.5
#19 0x00007f122e07a0ea in ThreadWeaver::Thread::run() () at /lib64/libKF5ThreadWeaver.so.5
#20 0x00007f125603a67e in QThreadPrivate::start(void*) (arg=0x28e91b0) at thread/qthread_unix.cpp:337
#21 0x00007f1251d60555 in start_thread (arg=0x7f1226b92700) at pthread_create.c:333
#22 0x00007f125543ef3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f1226391700 (LWP 2894)):
#0  0x00007f1251d65530 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f125603b77b in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x1144170) at thread/qwaitcondition_unix.cpp:128
#2  0x00007f125603b77b in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x108d2b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:200
#3  0x00007f122e07807f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /lib64/libKF5ThreadWeaver.so.5
#4  0x00007f122e07c868 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#5  0x00007f122e077143 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#6  0x00007f122e07c8c2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#7  0x00007f122e077143 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#8  0x00007f122e07a1b3 in ThreadWeaver::Thread::run() () at /lib64/libKF5ThreadWeaver.so.5
#9  0x00007f125603a67e in QThreadPrivate::start(void*) (arg=0x28e44d0) at thread/qthread_unix.cpp:337
#10 0x00007f1251d60555 in start_thread (arg=0x7f1226391700) at pthread_create.c:333
#11 0x00007f125543ef3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f1225b90700 (LWP 2895)):
#0  0x00007f1251d65530 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f125603b77b in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x1144170) at thread/qwaitcondition_unix.cpp:128
#2  0x00007f125603b77b in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x108d2b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:200
#3  0x00007f122e07807f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /lib64/libKF5ThreadWeaver.so.5
#4  0x00007f122e07c868 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#5  0x00007f122e077143 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#6  0x00007f122e07c8c2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#7  0x00007f122e077143 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#8  0x00007f122e07a1b3 in ThreadWeaver::Thread::run() () at /lib64/libKF5ThreadWeaver.so.5
#9  0x00007f125603a67e in QThreadPrivate::start(void*) (arg=0x7f1220002d90) at thread/qthread_unix.cpp:337
#10 0x00007f1251d60555 in start_thread (arg=0x7f1225b90700) at pthread_create.c:333
#11 0x00007f125543ef3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f125b315900 (LWP 2783)):
#0  0x00007ffc44eb4c86 in clock_gettime ()
#1  0x00007f125544d13d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f12560e9ab6 in qt_gettime() (ts=0x7ffc44e90b10, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  0x00007f12560e9ab6 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:161
#4  0x00007f12560e9ab6 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:170
#5  0x00007f12562664e9 in QTimerInfoList::updateCurrentTime() (this=this@entry=0xcd3590) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f1256266a55 in QTimerInfoList::timerWait(timespec&) (this=0xcd3590, tm=...) at kernel/qtimerinfo_unix.cpp:379
#7  0x00007f125626826e in timerSourcePrepare(GSource*, gint*) (timeout=0x7ffc44e90be4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  0x00007f125626826e in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=timeout@entry=0x7ffc44e90be4) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007f1250546afd in g_main_context_prepare (context=context@entry=0x7f12380016f0, priority=priority@entry=0x7ffc44e90c70) at gmain.c:3410
#10 0x00007f125054748b in g_main_context_iterate (context=context@entry=0x7f12380016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3788
#11 0x00007f125054766c in g_main_context_iteration (context=0x7f12380016f0, may_block=1) at gmain.c:3869
#12 0x00007f1256268a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0xcbf400, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f125620fd5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc44e90da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f12562177ac in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1188
#15 0x00007f1256727a1c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1507
#16 0x00007f12571541a5 in QApplication::exec() () at kernel/qapplication.cpp:2956
#17 0x0000000000406f6d in main(int, char**) (argc=1, argv=<optimized out>) at ../../krunner/main.cpp:71


Reproducible: Couldn't Reproduce
Comment 1 Christoph Feck 2015-11-04 20:39:15 UTC

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