Bug 459515

Summary: Crash in kpluginmetadata (git master 9/22/22)
Product: [Frameworks and Libraries] frameworks-kcoreaddons Reporter: Eric Armbruster <eric1>
Component: generalAssignee: Michael Pyne <mpyne>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdelibs-bugs, nicolas.fella
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eric Armbruster 2022-09-22 08:03:46 UTC
#0  0x00007498ee0efee5 in QJsonObject::value(QStringView) const () at /usr/lib/libQt5Core.so.5
#1  0x00007498ee0f019c in QJsonObject::operator[](QString const&) const ()
    at /usr/lib/libQt5Core.so.5
#2  0x00007498ed7f52d8 in KPluginMetaData::rootObject() const (this=0x18)
    at /home/eric/kde/src/kcoreaddons/src/lib/plugin/kpluginmetadata.cpp:346
#3  0x00007498ed7f6c05 in KPluginMetaData::pluginId() const (this=0x18)
    at /home/eric/kde/src/kcoreaddons/src/lib/plugin/kpluginmetadata.cpp:468
#4  0x00007498ed7f5064 in KPluginMetaData::isValid() const (this=0x18)
    at /home/eric/kde/src/kcoreaddons/src/lib/plugin/kpluginmetadata.cpp:336
#5  0x00007498d012f93b in Plasma::AbstractRunner::name() const (this=0x63b3569ad740)
    at /home/eric/kde/src/krunner/src/abstractrunner.cpp:337
#6  0x00007498d014e56f in Plasma::DefaultRunnerPolicy::free(QSharedPointer<ThreadWeaver::JobInterface>) (this=0x7498d0185ce0 <Plasma::DefaultRunnerPolicy::instance()::policy>, job=...)
    at /home/eric/kde/src/krunner/src/runnerjobs.cpp:98
#7  0x00007498d00faec3 in ThreadWeaver::Private::Job_Private::freeQueuePolicyResources(QSharedPointer<ThreadWeaver::JobInterface>) (this=0x63b355279ca0, job=...)
    at /home/eric/kde/src/threadweaver/src/job_p.cpp:30
#8  0x00007498d00f9917 in ThreadWeaver::Job::defaultEnd(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) (this=0x63b35658fec0, job=...)
    at /home/eric/kde/src/threadweaver/src/job.cpp:125
#9  0x00007498d00f83a0 in ThreadWeaver::Executor::defaultEnd(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*)
    (this=0x7498d011b358 <ThreadWeaver::Private::defaultExecutor>, job=..., thread=0x7498240046e0) at /home/eric/kde/src/threadweaver/src/executor.cpp:24
#10 0x00007498d00fb095 in ThreadWeaver::Private::DefaultExecutor::end(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*)
    (this=0x7498d011b358 <ThreadWeaver::Private::defaultExecutor>, job=..., thread=0x7498240046e0) at /home/eric/kde/src/threadweaver/src/job_p.cpp:54
#11 0x00007498d00f80f6 in ThreadWeaver::ExecuteWrapper::end(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) (this=0x63b355279cc8, job=..., thread=0x7498240046e0)
    at /home/eric/kde/src/threadweaver/src/executewrapper.cpp:50
#12 0x00007498d00f959c in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) (this=0x63b35658fec0, self=..., th=0x7498240046e0)
    at /home/eric/kde/src/threadweaver/src/job.cpp:79
#13 0x00007498d00ff1c4 in ThreadWeaver::Thread::run() (this=0x7498240046e0)
    at /home/eric/kde/src/threadweaver/src/thread.cpp:98
#14 0x00007498edee42ba in  () at /usr/lib/libQt5Core.so.5
#15 0x00007498ec49f74d in  () at /usr/lib/libc.so.6
#16 0x00007498ec521700 in  () at /usr/lib/libc.so.6


STEPS TO REPRODUCE
1. Played a bit around with overview (Open it, type something in, delete the typed characters again and close it again) 
2. Tested two times so far and each time this resulted in a crash after a short time of playing around (< 30 seconds)


OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2022-10-19 10:32:27 UTC

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