Bug 361975 - krunner crashes when processing the expression "2^12", apparently linked to baloo
Summary: krunner crashes when processing the expression "2^12", apparently linked to b...
Status: RESOLVED DUPLICATE of bug 352260
Alias: None
Product: krunner
Classification: Plasma
Component: filesearch (show other bugs)
Version: 5.6.2
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Vishesh Handa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-19 20:14 UTC by Rémi Verschelde
Modified: 2016-05-11 00:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rémi Verschelde 2016-04-19 20:14:58 UTC
Trying to compute "2^12" in krunner, I get a crash with this gdb backtrace:

#0  0x00007ffff45e0ea8 in __memcpy_sse2_unaligned () at /lib64/libc.so.6
#1  0x00007fffc6e411a3 in Baloo::PostingCodec::decode(QByteArray const&) () at /lib64/libKF5BalooEngine.so.5
#2  0x00007fffc6e2cebe in DBPostingIterator::DBPostingIterator(void*, unsigned int) () at /lib64/libKF5BalooEngine.so.5
#3  0x00007fffc6e2cf61 in Baloo::PostingDB::iter(QByteArray const&) () at /lib64/libKF5BalooEngine.so.5
#4  0x00007fffc6e36e5a in Baloo::Transaction::postingIterator(Baloo::EngineQuery const&) const () at /lib64/libKF5BalooEngine.so.5
#5  0x00007fffc7282a5f in Baloo::SearchStore::constructQuery(Baloo::Transaction*, Baloo::Term const&) () at /lib64/libKF5Baloo.so.5
#6  0x00007fffc7282cda in Baloo::SearchStore::constructQuery(Baloo::Transaction*, Baloo::Term const&) () at /lib64/libKF5Baloo.so.5
#7  0x00007fffc7283be9 in Baloo::SearchStore::exec(Baloo::Term const&, unsigned int, int, bool) () at /lib64/libKF5Baloo.so.5
#8  0x00007fffc72731df in Baloo::Query::exec() () at /lib64/libKF5Baloo.so.5
#9  0x00007fffc7493600 in SearchRunner::match(Plasma::RunnerContext&, QString const&, QString const&) () at /usr/lib64/qt5/plugins/krunner_baloosearchrunner.so
#10 0x00007fffc7494316 in SearchRunner::match(Plasma::RunnerContext&) () at /usr/lib64/qt5/plugins/krunner_baloosearchrunner.so
#11 0x00007fffd8ba71f8 in Plasma::AbstractRunner::performMatch(Plasma::RunnerContext&) () at /lib64/libKF5Runner.so.5
#12 0x00007fffd8986807 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /lib64/libKF5ThreadWeaver.so.5
#13 0x00007fffd8985570 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /lib64/libKF5ThreadWeaver.so.5
#14 0x00007fffd8984d30 in ThreadWeaver::Thread::run() () at /lib64/libKF5ThreadWeaver.so.5
#15 0x00007ffff4d26579 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#16 0x00007ffff288a65d in start_thread () at /lib64/libpthread.so.0
#17 0x00007ffff4640dad in clone () at /lib64/libc.so.6

Reproducible: Always

Steps to Reproduce:
1. Start krunner (Alt+F2)
2. Type "2^1" (without the quotes): it works OK, returns 1 and shows matching files, etc.
3. Add a 2, i.e. type "2^12": krunner crashes (sometimes before showing the result, sometimes after)
4. To get the backtrace, kill krunner and run it through gdb, then do the above steps.
Comment 1 Rémi Verschelde 2016-04-19 20:16:21 UTC
(Note that it's potentially a duplicate, but there are so many open bugs for krunner crashes, quite often involving baloo, that I can't evaluate myself what bug report might be a duplicate of my issue, so I preferred to open a new one and leave it to the KDE bugsquad/krunner maintainers).
Comment 2 Vovochka 2016-04-28 23:10:13 UTC
Pls, see https://bugs.kde.org/show_bug.cgi?id=358348
Comment 3 Christoph Feck 2016-05-11 00:48:07 UTC

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