Bug 451718 - KWin crashes in Plasma::AbstractRunner::name() at startup
Summary: KWin crashes in Plasma::AbstractRunner::name() at startup
Status: RESOLVED DUPLICATE of bug 448825
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.24.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-03-20 08:54 UTC by Floreal
Modified: 2022-10-19 10:29 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (203.01 KB, text/plain)
2022-03-20 08:54 UTC, Floreal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Floreal 2022-03-20 08:54:38 UTC
Application: kwin_x11 (5.24.3)

Qt Version: 5.15.3
Frameworks Version: 5.91.0
Operating System: Linux 5.13.0-35-generic x86_64
Windowing System: X11
Distribution: KDE neon User - 5.24
DrKonqi: 5.24.3 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
My session was opening just after the computer starts. I saw no bug except a menu which should not be here (maybe not related to this bug - it close when I click outside), but I have a notification of a KDE bug

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#4  0x00007f26a3910a84 in QTypedArrayData<QtCbor::Element>::constEnd(QtCbor::Element const*) const (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:215
#5  QVector<QtCbor::Element>::constEnd() const (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:217
#6  indexOf<QStringView>(QExplicitlySharedDataPointer<QCborContainerPrivate> const&, QStringView, bool*) (o=..., key=..., keyExists=keyExists@entry=0x7f2614ff894f) at serialization/qjsonobject.cpp:321
#7  0x00007f26a3910f9d in QJsonObject::valueImpl<QStringView>(QStringView) const (key=..., this=0x55dfeaa6f4b8) at serialization/qjsonobject.cpp:369
#8  QJsonObject::value(QStringView) const (this=0x55dfeaa6f4b8, key=...) at serialization/qjsonobject.cpp:353


Reported using DrKonqi
Comment 1 Floreal 2022-03-20 08:54:39 UTC
Created attachment 147612 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2022-03-26 15:24:37 UTC
Pasting full backtrace of the crashing thread for searchability:

Thread 18 (Thread 0x7f2614ff9700 (LWP 2829)):
[KCrash Handler]
#4  0x00007f26a3910a84 in QTypedArrayData<QtCbor::Element>::constEnd(QtCbor::Element const*) const (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:215
#5  QVector<QtCbor::Element>::constEnd() const (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:217
#6  indexOf<QStringView>(QExplicitlySharedDataPointer<QCborContainerPrivate> const&, QStringView, bool*) (o=..., key=..., keyExists=keyExists@entry=0x7f2614ff894f) at serialization/qjsonobject.cpp:321
#7  0x00007f26a3910f9d in QJsonObject::valueImpl<QStringView>(QStringView) const (key=..., this=0x55dfeaa6f4b8) at serialization/qjsonobject.cpp:369
#8  QJsonObject::value(QStringView) const (this=0x55dfeaa6f4b8, key=...) at serialization/qjsonobject.cpp:353
#9  0x00007f26a39113fe in QJsonObject::operator[](QStringView) const (key=..., this=<optimized out>) at ../../include/QtCore/../../src/corelib/serialization/qjsonobject.h:102
#10 QJsonObject::operator[](QString const&) const (this=<optimized out>, key=...) at serialization/qjsonobject.cpp:393
#11 0x00007f26a2c8f4d1 in KPluginMetaData::rootObject() const (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:967
#12 0x00007f26a2c8ff4a in KPluginMetaData::pluginId() const (this=0x55dfeaa6f4b8) at ./src/lib/plugin/kpluginmetadata.cpp:432
#13 0x00007f26a2c901dc in KPluginMetaData::isValid() const (this=0x55dfeaa6f4b8) at ./src/lib/plugin/kpluginmetadata.cpp:300
#14 0x00007f2671bbeabe in Plasma::AbstractRunner::name() const (this=this@entry=0x55dfea4ab990) at /usr/include/c++/9/bits/unique_ptr.h:360
#15 0x00007f2671bdcf7a in Plasma::DefaultRunnerPolicy::free(QSharedPointer<ThreadWeaver::JobInterface>) (this=0x7f2671bf6c00 <Plasma::DefaultRunnerPolicy::instance()::policy>, job=...) at ./src/runnerjobs.cpp:98
#16 0x00007f2695b6c8d6 in ThreadWeaver::Private::Job_Private::freeQueuePolicyResources(QSharedPointer<ThreadWeaver::JobInterface>) (this=0x55dfea8b7210, job=...) at /usr/include/c++/9/bits/atomic_base.h:318
#17 0x00007f2695b6bf34 in ThreadWeaver::Job::defaultEnd(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) (this=<optimized out>, job=...) at /usr/include/c++/9/bits/atomic_base.h:318
#18 0x00007f2695b6bff6 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) (this=<optimized out>, self=..., th=0x7f2610000cb0) at ./src/job.cpp:79
#19 0x00007f2695b6fc61 in ThreadWeaver::Thread::run() (this=0x7f2610000cb0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:307
#20 0x00007f26a36a9643 in QThreadPrivate::start(void*) (arg=0x7f2610000cb0) at thread/qthread_unix.cpp:331
#21 0x00007f26a348d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#22 0x00007f26a280b163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Same backtrace as Bug 437355, except this time KWin is crashing, not Plasmashell.

Alexander, would you be able to have a look here?
Comment 3 Alexander Lohnau 2022-03-27 09:42:51 UTC
>Same backtrace as Bug 437355, except this time KWin is crashing, not Plasmashell.

Yeah, the crash inside of KPluginMetaData is exactly the same
Comment 4 Nicolas Fella 2022-10-19 10:29:43 UTC

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