Bug 461116 - Overview effect search sometimes crashes
Summary: Overview effect search sometimes crashes
Status: RESOLVED DUPLICATE of bug 448825
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.26.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-28 15:17 UTC by priv.luk
Modified: 2022-10-31 17:56 UTC (History)
3 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 priv.luk 2022-10-28 15:17:02 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Try to search in overview effect
2. Be really unlucky

OBSERVED RESULT
Crashes.

EXPECTED RESULT
Doesn't crash.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 37
(available in About System)
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 

ADDITIONAL INFORMATION
GDB backtrace:
(gdb) bt
#0  __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:287
#1  0x00007f1b385d042d in as_pool_build_search_tokens (pool=<optimized out>, search=0x7f1aa97cedb8 "androidstudio")
    at ../src/as-pool.c:2154
#2  0x00007f1b385d0814 in as_pool_search (pool=0x560b08632060, search=0x7f1aa97cedb8 "androidstudio") at ../src/as-pool.c:2226
#3  0x00007f1b3988f584 in AppStream::Pool::search(QString const&) const (this=this@entry=0x560b086247f8, term=...)
    at ../qt/pool.cpp:172
#4  0x00007f1b69bf72b1 in InstallerRunner::findComponentsByString(QString const&) (query=..., this=0x560b086247e0)
    at /usr/src/debug/plasma-workspace-5.26.1-1.fc37.x86_64/runners/appstream/appstreamrunner.cpp:163
#5  InstallerRunner::match(Plasma::RunnerContext&) (this=0x560b086247e0, context=...)
    at /usr/src/debug/plasma-workspace-5.26.1-1.fc37.x86_64/runners/appstream/appstreamrunner.cpp:93
#6  0x00007f1ba015404f in Plasma::FindMatchesJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*)
    (this=0x560b08b7e990, self=...) at /usr/src/debug/kf5-krunner-5.99.0-1.fc37.x86_64/src/runnerjobs.cpp:140
#7  0x00007f1ba011ea4e in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*)
    (this=<optimized out>, job=<optimized out>, thread=<optimized out>)
    at /usr/src/debug/kf5-threadweaver-5.99.0-1.fc37.x86_64/src/executor.cpp:33
#8  0x00007f1ba011f885 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*)
    (this=<optimized out>, self=..., th=0x560b085e1970) at /usr/src/debug/kf5-threadweaver-5.99.0-1.fc37.x86_64/src/job.cpp:64
#9  0x00007f1ba0123458 in ThreadWeaver::Thread::run() (this=0x560b085e1970)
    at /usr/src/debug/kf5-threadweaver-5.99.0-1.fc37.x86_64/src/thread.cpp:98
#10 0x00007f1bbb8e8487 in QThreadPrivate::start(void*) (arg=0x560b085e1970) at thread/qthread_unix.cpp:330
#11 0x00007f1bba8af14d in start_thread (arg=<optimized out>) at pthread_create.c:442
#12 0x00007f1bba930950 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Comment 1 priv.luk 2022-10-28 15:17:47 UTC
Forgot to fill in Qt Version, it's 5.15.6.
Comment 2 Nate Graham 2022-10-28 20:07:04 UTC
This is actually crashing in the AppStream library, presumably when the AppStream KRunner runner tries to return results for your search string. Can you report this at https://github.com/ximion/appstream/issues? Thanks!
Comment 3 priv.luk 2022-10-28 20:07:47 UTC
Sure, will do!
Comment 4 Nicolas Fella 2022-10-28 21:32:43 UTC
I think this might have the same root cause as https://bugs.kde.org/show_bug.cgi?id=448825, it just manifests very different
Comment 5 Nate Graham 2022-10-31 17:56:50 UTC
I can see that, yeah. Cool.

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