Bug 296228

Summary: Krunner crash on nepomuk using high cpu
Product: [Plasma] krunner Reporter: margueritesu <i>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description margueritesu 2012-03-17 19:05:18 UTC
Application: krunner (0.1)
KDE Platform Version: 4.8.1 (4.8.1) "release 481"
Qt Version: 4.8.0
Operating System: Linux 3.2.9-2-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

My laptop zombied because of I lauched too many applications. then I mannualy powered it off by holding poweroff button enough long.

then I restarted it. KDE goes back to default wallpaper. (I don't know why, sometimes it happens.)

And nepomuk _MUST_ rescan my filesystem (don't know why), as I used Btrfs as my filesystem, it takes long time to do the sync work.

Because CPU usage is so high that Krunner can't be automatically started (I have experienced that before).

I opened a konsole, start krunner from there. then in a few minutes, it crashed.

- Unusual behavior I noticed:

Not at all. actually my laptop lags and I concentrated my mind on iotop to see if it's nepomuk.

But I'm sure if nepomuk is scanning your filesystem, and ate too much memories or cpu, krunner will randomly crash.

- Custom settings of the application:

default settings.

The crash can be reproduced some of the time.

-- Backtrace:
Application: 執行指令介面 (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0x7fe6fcd70760 (LWP 2262))]

Thread 6 (Thread 0x7fe6e22fe700 (LWP 2267)):
#0  0x00007fff069fe8b6 in ?? ()
#1  0x00007fe6e22fdb40 in ?? ()
#2  0x00007fe6f7150d9a in clock_gettime () from /lib64/librt.so.1
#3  0x00007fe6fb657a24 in do_gettime (frac=0x7fe6e22fdab8, sec=0x7fe6e22fdab0) at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007fe6fb72e0bd in QTimerInfoList::updateCurrentTime (this=0x7fe6dc0020d0) at kernel/qeventdispatcher_unix.cpp:343
#6  0x00007fe6fb72e3f3 in QTimerInfoList::timerWait (this=0x7fe6dc0020d0, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#7  0x00007fe6fb72ce2c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fe6e22fdb9c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007fe6fb72ced5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007fe6f6e9bb22 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fe6f6e9c92d in ?? () from /usr/lib64/libglib-2.0.so.0
#11 0x00007fe6f6e9cf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#12 0x00007fe6fb72d956 in QEventDispatcherGlib::processEvents (this=0x7fe6dc0008e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#13 0x00007fe6fb6fd682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007fe6fb6fd8d7 in QEventLoop::exec (this=0x7fe6e22fdd30, flags=...) at kernel/qeventloop.cpp:204
#15 0x00007fe6fb5fe537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#16 0x00007fe6fb6dd48f in QInotifyFileSystemWatcherEngine::run (this=0x7f2770) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x00007fe6fb60155b in QThreadPrivate::start (arg=0x7f2770) at thread/qthread_unix.cpp:298
#18 0x00007fe6ec6ee354 in ?? () from /usr/lib64/libGL.so.1
#19 0x00007fe6fb369f05 in start_thread () from /lib64/libpthread.so.0
#20 0x00007fe6fa0ca10d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fe6cc7aa700 (LWP 2597)):
[KCrash Handler]
#10 0x00007fe6fa065a0a in malloc_consolidate () from /lib64/libc.so.6
#11 0x00007fe6fa066bf3 in _int_malloc () from /lib64/libc.so.6
#12 0x00007fe6fa06983e in malloc () from /lib64/libc.so.6
#13 0x00007fe6ec6ed955 in ?? () from /usr/lib64/libGL.so.1
#14 0x00007fe6ebdd5e41 in ?? () from /usr/lib64/tls/libnvidia-tls.so.295.20
#15 0x00007fe6fb603558 in QByteArray::realloc (this=0x7fe6c4082208, alloc=65504) at tools/qbytearray.cpp:1452
#16 0x00007fe6fb603679 in QByteArray::resize (this=0x7fe6c4082208, size=32768) at tools/qbytearray.cpp:1420
#17 0x00007fe6f8fc0986 in reserve (bytes=2, this=0x7fe6c4084a00) at ../../src/corelib/tools/qringbuffer_p.h:158
#18 QAbstractSocket::writeData (this=<optimized out>, data=0x7fe6cc7a7fec "\021", size=2) at socket/qabstractsocket.cpp:2315
#19 0x00007fe6fb69182f in QIODevice::write (this=0x7fe6c4023b90, data=0x7fe6cc7a7fec "\021", maxSize=<optimized out>) at io/qiodevice.cpp:1370
#20 0x00007fe6f3618b25 in ?? () from /usr/lib64/libsopranoclient.so.1
#21 0x00007fe6f361fcba in ?? () from /usr/lib64/libsopranoclient.so.1
#22 0x00007fe6f3621803 in ?? () from /usr/lib64/libsopranoclient.so.1
#23 0x00007fe6f475d64c in ?? () from /usr/lib64/libnepomuk.so.4
#24 0x00007fe6f4749eb3 in ?? () from /usr/lib64/libnepomuk.so.4
#25 0x00007fe6f474a7bc in ?? () from /usr/lib64/libnepomuk.so.4
#26 0x00007fe6f47607e3 in Nepomuk::Resource::property(QUrl const&) const () from /usr/lib64/libnepomuk.so.4
#27 0x00007fe6f4760953 in Nepomuk::Resource::label() const () from /usr/lib64/libnepomuk.so.4
#28 0x00007fe6f4761e79 in Nepomuk::Resource::genericLabel() const () from /usr/lib64/libnepomuk.so.4
#29 0x00007fe6d49a4496 in Nepomuk::QueryClientWrapper::slotNewEntries (this=0x7fe6cc7a9b00, results=<optimized out>) at /usr/src/debug/kde-workspace-4.8.1/plasma/generic/runners/nepomuksearch/queryclientwrapper.cpp:122
#30 0x00007fe6fb712761 in QMetaObject::activate (sender=0x7fe6c4075ec0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fe6cc7a8c70) at kernel/qobject.cpp:3556
#31 0x00007fe6f27bbe42 in Nepomuk::Query::QueryServiceClient::newEntries(QList<Nepomuk::Query::Result> const&) () from /usr/lib64/libnepomukquery.so.4
#32 0x00007fe6f27bd211 in ?? () from /usr/lib64/libnepomukquery.so.4
#33 0x00007fe6fb712761 in QMetaObject::activate (sender=0x7fe6c4088a80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fe6cc7a8e00) at kernel/qobject.cpp:3556
#34 0x00007fe6f27c52b5 in ?? () from /usr/lib64/libnepomukquery.so.4
#35 0x00007fe6f27c54e9 in ?? () from /usr/lib64/libnepomukquery.so.4
#36 0x00007fe6f27c58db in ?? () from /usr/lib64/libnepomukquery.so.4
#37 0x00007fe6f7fddf6b in QDBusConnectionPrivate::deliverCall (this=0x7fe6c4035080, object=0x7fe6c4088a80, msg=..., metaTypes=..., slotIdx=7) at qdbusintegrator.cpp:947
#38 0x00007fe6fb717926 in QObject::event (this=0x7fe6c4088a80, e=<optimized out>) at kernel/qobject.cpp:1204
#39 0x00007fe6fa866e84 in notify_helper (e=0x7fe6c4045030, receiver=0x7fe6c4088a80, this=0x7e3160) at kernel/qapplication.cpp:4550
#40 QApplicationPrivate::notify_helper (this=0x7e3160, receiver=0x7fe6c4088a80, e=0x7fe6c4045030) at kernel/qapplication.cpp:4522
#41 0x00007fe6fa86bd03 in QApplication::notify (this=0x736d40, receiver=0x7fe6c4088a80, e=0x7fe6c4045030) at kernel/qapplication.cpp:4411
#42 0x00007fe6fc4be656 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#43 0x00007fe6fb6fe89c in QCoreApplication::notifyInternal (this=0x736d40, receiver=0x7fe6c4088a80, event=0x7fe6c4045030) at kernel/qcoreapplication.cpp:876
#44 0x00007fe6fb70213a in sendEvent (event=0x7fe6c4045030, receiver=0x7fe6c4088a80) at kernel/qcoreapplication.h:231
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xe912f0) at kernel/qcoreapplication.cpp:1500
#46 0x00007fe6fb72d4c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#47 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#48 0x00007fe6f6e9c58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#49 0x00007fe6f6e9cd88 in ?? () from /usr/lib64/libglib-2.0.so.0
#50 0x00007fe6f6e9cf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#51 0x00007fe6fb72d8ef in QEventDispatcherGlib::processEvents (this=0x7fe6c40008e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#52 0x00007fe6fb6fd682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#53 0x00007fe6fb6fd8d7 in QEventLoop::exec (this=0x7fe6cc7a9aa0, flags=...) at kernel/qeventloop.cpp:204
#54 0x00007fe6f27bbc6e in Nepomuk::Query::QueryServiceClient::blockingQuery(Nepomuk::Query::Query const&) () from /usr/lib64/libnepomukquery.so.4
#55 0x00007fe6d49a430a in Nepomuk::QueryClientWrapper::runQuery (this=0x7fe6cc7a9b00) at /usr/src/debug/kde-workspace-4.8.1/plasma/generic/runners/nepomuksearch/queryclientwrapper.cpp:72
#56 0x00007fe6d49a1b9f in Nepomuk::SearchRunner::match (this=0xcb7bd0, context=...) at /usr/src/debug/kde-workspace-4.8.1/plasma/generic/runners/nepomuksearch/nepomuksearchrunner.cpp:116
#57 0x00007fe6f2347654 in Plasma::AbstractRunner::performMatch(Plasma::RunnerContext&) () from /usr/lib64/libplasma.so.3
#58 0x00007fe6ef6488db in ?? () from /usr/lib64/libthreadweaver.so.4
#59 0x00007fe6ef648a4c in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#60 0x00007fe6ef64809f in ?? () from /usr/lib64/libthreadweaver.so.4
#61 0x00007fe6ef64815b in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#62 0x00007fe6fb60155b in QThreadPrivate::start (arg=0xea18a0) at thread/qthread_unix.cpp:298
#63 0x00007fe6ec6ee354 in ?? () from /usr/lib64/libGL.so.1
#64 0x00007fe6fb369f05 in start_thread () from /lib64/libpthread.so.0
#65 0x00007fe6fa0ca10d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fe6cbfa9700 (LWP 2598)):
#0  0x00007fe6fb36de6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe6fb601a6b in wait (time=18446744073709551615, this=0x985e20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x983070, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe6ef64696b in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fe6ef64925b in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fe6ef6480cf in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007fe6ef64815b in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007fe6fb60155b in QThreadPrivate::start (arg=0xe91190) at thread/qthread_unix.cpp:298
#8  0x00007fe6ec6ee354 in ?? () from /usr/lib64/libGL.so.1
#9  0x00007fe6fb369f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe6fa0ca10d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fe6cb7a0700 (LWP 2599)):
#0  0x00007fe6fb36de6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe6fb601a6b in wait (time=18446744073709551615, this=0x985e20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x983070, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe6ef64696b in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fe6ef64925b in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fe6ef6480cf in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007fe6ef64815b in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007fe6fb60155b in QThreadPrivate::start (arg=0xe65820) at thread/qthread_unix.cpp:298
#8  0x00007fe6ec6ee354 in ?? () from /usr/lib64/libGL.so.1
#9  0x00007fe6fb369f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe6fa0ca10d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe6caf9f700 (LWP 2600)):
#0  0x00007fe6fb36de6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe6fb601a6b in wait (time=18446744073709551615, this=0x985e20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x983070, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe6ef64696b in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fe6ef64925b in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fe6ef6480cf in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007fe6ef64815b in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007fe6fb60155b in QThreadPrivate::start (arg=0xc5d8d0) at thread/qthread_unix.cpp:298
#8  0x00007fe6ec6ee354 in ?? () from /usr/lib64/libGL.so.1
#9  0x00007fe6fb369f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe6fa0ca10d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe6fcd70760 (LWP 2262)):
[KCrash Handler]
#6  0x00007fe6fa023d95 in raise () from /lib64/libc.so.6
#7  0x00007fe6fa0252ab in abort () from /lib64/libc.so.6
#8  0x00007fe6fa05f99e in __libc_message () from /lib64/libc.so.6
#9  0x00007fe6fa0656d6 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007fe6ebdd5bb1 in ?? () from /usr/lib64/tls/libnvidia-tls.so.295.20
#11 0x00007fe6f801354e in qMetaTypeDeleteHelper<QDBusMessage> (t=0xadce60) at ../../src/corelib/kernel/qmetatype.h:134
#12 0x00007fe6fb70ed79 in QMetaCallEvent::~QMetaCallEvent (this=0xda98b0, __in_chrg=<optimized out>) at kernel/qobject.cpp:509
#13 0x00007fe6fb70edd9 in QMetaCallEvent::~QMetaCallEvent (this=0xda98b0, __in_chrg=<optimized out>) at kernel/qobject.cpp:518
#14 0x00007fe6fb702143 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6153e0) at kernel/qcoreapplication.cpp:1516
#15 0x00007fe6fb72d4c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#16 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#17 0x00007fe6f6e9c58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#18 0x00007fe6f6e9cd88 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007fe6f6e9cf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007fe6fb72d8ef in QEventDispatcherGlib::processEvents (this=0x7f1d60, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#21 0x00007fe6fa90a2de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007fe6fb6fd682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007fe6fb6fd8d7 in QEventLoop::exec (this=0x7fff069f1750, flags=...) at kernel/qeventloop.cpp:204
#24 0x00007fe6fb702435 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#25 0x00007fe6e84a796f in kdemain (argc=1, argv=0x6150c0) at /usr/src/debug/kde-workspace-4.8.1/krunner/main.cpp:66
#26 0x00000000004088e4 in _start ()

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

Possible duplicates by query: bug 295996, bug 295981, bug 295884, bug 295699, bug 295671.

Reported using DrKonqi
Comment 1 margueritesu 2012-03-18 18:50:26 UTC
And I saw these additional outputs from konsole. hope it helps.

dc@linux:~> krunner
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
krunner(8239)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability 
krunner(8239)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/dc/.kde4/share/apps/kabc" 
krunner(8239)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability 
I/O warning : failed to load external entity "/usr/share/qalculate/prefixes.xml"
I/O warning : failed to load external entity "/usr/share/qalculate/currencies.xml"
I/O warning : failed to load external entity "/usr/share/qalculate/units.xml"
I/O warning : failed to load external entity "/usr/share/qalculate/functions.xml"
I/O warning : failed to load external entity "/usr/share/qalculate/datasets.xml"
I/O warning : failed to load external entity "/usr/share/qalculate/variables.xml"
I/O warning : failed to load external entity "/usr/share/qalculate/currencies.xml"
I/O warning : failed to load external entity "/home/dc/.qalculate/eurofxref-daily.xml"
I/O warning : failed to load external entity "/home/dc/.qalculate/eurofxref-daily.xml"
krunner(8239)/libplasma Plasma::Package::isValid: Could not find required file mainscript 
dc@linux:~>
Comment 2 Jekyll Wu 2012-07-10 21:09:13 UTC

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