Bug 356221 - krunner crashes with baloo disabled
Summary: krunner crashes with baloo disabled
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.4.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Vishesh Handa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-03 02:26 UTC by aib
Modified: 2015-12-14 23:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.17
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aib 2015-12-03 02:26:45 UTC
My krunner crashes while I'm typing a program's executable's name.

Happens more often when I'm using it a lot (say, once every few seconds). When I'm doing this, I also usually have half-typed program names from my last run a few seconds ago; that may be relevant.

Reproducible: Sometimes

Steps to Reproduce:
1. Activate krunner with global shortcut, start typing a program's executable's name (e.g. gtk-chthe)
2. Press ESC
3. Activate krunner, resume typing the thing from #1 or just try something else

Alternatively,

1. Activate krunner and try to run something



Last few lines of stdout:

org.kde.kurifilter-shorturi: "kde-confi"
org.kde.kurifilter-shorturi: path = "kde-confi"  isLocalFullPath= false  exists= false  url=  QUrl( "kde-confi" ) 
session switching to "kde-config"
org.kde.kurifilter-shorturi: "kde-config"
org.kde.kurifilter-shorturi: path = "kde-config"  isLocalFullPath= false  exists= false  url=  QUrl( "kde-config" ) 
session switching to "kde-config-"
org.kde.kurifilter-shorturi: "kde-config-"
org.kde.kurifilter-shorturi: path = "kde-config-"  isLocalFullPath= false  exists= false  url=  QUrl( "kde-config-" ) 
QObject::connect: No such signal KActivities::Consumer::serviceStatusChanged(KActivities::Consumer::ServiceStatus)
QObject::connect:  (receiver name: 'Activities')
session switching to "kde-config-g"

Stack trace:

Program received signal SIGBUS, Bus error.
[Switching to Thread 0x7fffc0ecb700 (LWP 14974)]
0x00007fffcb325f89 in mdb_txn_abort () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
(gdb) bt
#0  0x00007fffcb325f89 in mdb_txn_abort () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#1  0x00007fffcb325f97 in mdb_txn_abort () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#2  0x00007fffcb53ee87 in Baloo::Database::open(Baloo::Database::OpenMode) ()
   from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#3  0x00007fffcb998dd8 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Baloo.so.5
#4  0x00007fffcb98aa09 in Baloo::Query::exec() () from /usr/lib/x86_64-linux-gnu/libKF5Baloo.so.5
#5  0x00007fffcbba9f3f in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/krunner_baloosearchrunner.so
#6  0x00007fffcbbaa8b3 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/krunner_baloosearchrunner.so
#7  0x00007fffd82b3540 in Plasma::AbstractRunner::performMatch(Plasma::RunnerContext&) ()
   from /usr/lib/x86_64-linux-gnu/libKF5Runner.so.5
#8  0x00007fffd8097c70 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007fffd80968b0 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x00007fffd809635a in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#11 0x00007ffff4ff72be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff2b636aa in start_thread (arg=0x7fffc0ecb700) at pthread_create.c:333
#13 0x00007ffff490feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb) 

Note that I have baloo disabled:
4:25:39 0 aib@vivaldi:~% balooctl status
Baloo is currently disabled. To enable, please run "balooctl enable"
Comment 1 Vishesh Handa 2015-12-14 23:03:47 UTC
Fixed with 5.17