https://bugs.kde.org/show_bug.cgi?id=518303

            Bug ID: 518303
           Summary: KWin from 2026-03-27's git master crashes on login by
                    failing to compile fragment shader in one of the
                    3rd-party "burn my windows" effects
    Classification: Plasma
           Product: kwin
      Version First 6.6.80
       Reported In:
          Platform: KDE Linux
                OS: Linux
            Status: REPORTED
          Keywords: regression
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 191114
  --> https://bugs.kde.org/attachment.cgi?id=191114&action=edit
Journal logs

I have an HTPC with KDE Linux on it, and the "burn my windows" effects. My kids
love them!

As of KWin's git master on 2026-03-19, everything works fine. As of
2026-03-27's git master, login fails due to KWin crashing. The journal log for
kwin_wayland (full log attached) shows the following error:

Mar 29 12:08:26 Magiclamp kwin_wayland[1531]: Failed to compile fragment
shader: 
                                               "0:60(14): error: initializer of
global variable `uSize' must be a constant expression\n0:61(18): error:
initializer of global variable `iTexCoord' must be a constant expression\n\x00"


The "burn my windows" effects did not change, so this appears to be a
regression in KWin.

Crappy backtrace:

#0  0x00007fbeef2a7a2c in ??? () at /usr/lib/libc.so.6
#1  0x00007fbeef24d1a0 in raise () at /usr/lib/libc.so.6
#2  0x00007fbef2c7eda5 in KCrash::defaultCrashHandler(int) () at
/usr/lib/libKF6Crash.so.6
#3  0x00007fbeef24d2d0 in <signal handler called> () at /usr/lib/libc.so.6
#4  0x00007fbef262a2c4 in
KWin::ScriptedEffect::addFragmentShader(KWin::ScriptedEffect::ShaderTrait,
QString const&) () at /usr/lib/libkwin.so.6
#5  0x00007fbef262aa2a in ??? () at /usr/lib/libkwin.so.6
#6  0x00007fbef262bd57 in KWin::ScriptedEffect::qt_metacall(QMetaObject::Call,
int, void**) () at /usr/lib/libkwin.so.6
#7  0x00007fbef1735863 in ??? () at /usr/lib/libQt6Qml.so.6
#8  0x00007fbef15e7b61 in ??? () at /usr/lib/libQt6Qml.so.6
#9  0x00007fbef15e9a25 in QV4::QObjectMethod::callPrecise(QQmlObjectOrGadget
const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*,
QMetaObject::Call) ()
    at /usr/lib/libQt6Qml.so.6
#10 0x00007fbef15f3635 in QV4::QObjectMethod::callInternal(QV4::Value const*,
QV4::Value const*, int) const () at /usr/lib/libQt6Qml.so.6
#11 0x00007fbef160f087 in
QV4::Runtime::CallProperty::call(QV4::ExecutionEngine*, QV4::Value const&, int,
QV4::Value*, int) () at /usr/lib/libQt6Qml.so.6
#12 0x00007fbef164c7f5 in ??? () at /usr/lib/libQt6Qml.so.6
#13 0x00007fbef1650296 in ??? () at /usr/lib/libQt6Qml.so.6
#14 0x00007fbef15a5bf6 in ??? () at /usr/lib/libQt6Qml.so.6
#15 0x00007fbef164bedf in ??? () at /usr/lib/libQt6Qml.so.6
#16 0x00007fbef1650296 in ??? () at /usr/lib/libQt6Qml.so.6
#17 0x00007fbef15981a0 in ??? () at /usr/lib/libQt6Qml.so.6
#18 0x00007fbef161a47b in QV4::Script::run(QV4::Value const*) () at
/usr/lib/libQt6Qml.so.6
#19 0x00007fbef153b1ae in QJSEngine::evaluate(QString const&, QString const&,
int, QList<QString>*) () at /usr/lib/libQt6Qml.so.6
#20 0x00007fbef261fea1 in KWin::ScriptedEffect::init(QString const&, QString
const&) () at /usr/lib/libkwin.so.6
#21 0x00007fbef2620ae4 in KWin::ScriptedEffect::create(QString const&, QString
const&, int, QString const&) () at /usr/lib/libkwin.so.6
#22 0x00007fbef2620de0 in KWin::ScriptedEffect::create(KPluginMetaData const&)
() at /usr/lib/libkwin.so.6
#23 0x00007fbef24dffcb in
KWin::ScriptedEffectLoader::loadJavascriptEffect(KPluginMetaData const&) () at
/usr/lib/libkwin.so.6
#24 0x00007fbef24e133d in
KWin::ScriptedEffectLoader::loadEffect(KPluginMetaData const&,
QFlags<KWin::LoadEffectFlag>) () at /usr/lib/libkwin.so.6
#25 0x00007fbef24e8bc0 in ??? () at /usr/lib/libkwin.so.6
#26 0x00007fbeef9d4614 in QObject::event(QEvent*) () at
/usr/lib/libQt6Core.so.6
#27 0x00007fbef0d02450 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt6Widgets.so.6
#28 0x00007fbeef976c98 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#29 0x00007fbeef977070 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib/libQt6Core.so.6
#30 0x00007fbeefb55cbd in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt6Core.so.6
#31 0x00007fbef0937913 in
QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /usr/lib/libQt6Gui.so.6
#32 0x00007fbeef9845d6 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt6Core.so.6
#33 0x00007fbeef97a311 in QCoreApplication::exec() () at
/usr/lib/libQt6Core.so.6
#34 0x0000561be3946903 in ??? ()
#35 0x00007fbeef2366c1 in ??? () at /usr/lib/libc.so.6
#36 0x00007fbeef2367f9 in __libc_start_main () at /usr/lib/libc.so.6
#37 0x0000561be394b565 in ??? ()

Sorry it's bad; I'll follow up with KDE Linux to see why.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to