Bug 460480 - kwin_wayland crashed in KWin::WindowQuadList::makeInterleavedArrays on switching applications in Present Window effect
Summary: kwin_wayland crashed in KWin::WindowQuadList::makeInterleavedArrays on switch...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.26.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland
: 463929 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-10-15 11:45 UTC by postix
Modified: 2023-01-11 12:24 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kWin Support Info (7.12 KB, text/plain)
2022-10-15 11:45 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2022-10-15 11:45:52 UTC
Created attachment 152838 [details]
kWin Support Info

SUMMARY

Opened the present window effect and and switched windows via alt+tab many times until kwin_wayland crashed and teared down the whole session:


```
#0  0x00007fcdf0d17ade in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const (this=this@entry=0x562d5ca53a30, type=type@entry=7, vertices=vertices@entry=0x0, textureMatrix=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/libkwineffects/kwineffects.cpp:1084
#1  0x00007fcdf10b8a14 in KWin::SceneOpenGL::render(KWin::Item*, int, QRegion const&, KWin::WindowPaintData const&) (this=0x562d5bf57f20, item=<optimized out>, mask=<optimized out>, region=..., data=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/scenes/opengl/scene_opengl.cpp:477
#2  0x00007fcdf0f2e380 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x562d5beeb6c0, w=<optimized out>, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/effects.cpp:454
#3  0x00007fcdf0f97a79 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (data=<optimized out>, region=<optimized out>, mask=<optimized out>, w=<optimized out>, this=0x562d5beeb6c0) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/effects.cpp:454
#4  KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion const&, KWin::WindowPaintData&) (this=<optimized out>, w=<optimized out>, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/scene.cpp:589
#5  0x00007fcdf0f2e2d7 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x562d5beeb6c0, w=0x562d5bbc9b50, mask=0, region=<optimized out>, data=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/effects.cpp:425
#6  0x00007fcdf0f2e2d7 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x562d5beeb6c0, w=0x562d5bbc9b50, mask=0, region=<optimized out>, data=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/effects.cpp:425
#7  0x00007fcdf0f9a5f6 in KWin::Scene::paintWindow(KWin::WindowItem*, int, QRegion const&) (region=..., mask=0, item=0x562d5ad4dbb0, this=0x562d5ad4dbb0) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/window.h:2256
#8  KWin::Scene::paintWindow(KWin::WindowItem*, int, QRegion const&) (this=this@entry=0x562d5bf57f20, item=0x562d5ad4dbb0, mask=0, region=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/scene.cpp:576
#9  0x00007fcdf0f9a8a6 in KWin::Scene::paintSimpleScreen(int, QRegion const&) (this=0x562d5bf57f20, region=<optimized out>) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/scene.cpp:537
#10 0x00007fcdf0f2e237 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x562d5beeb6c0, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/effects.cpp:397
#11 0x00007fcdf0f2e237 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x562d5beeb6c0, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/effects.cpp:397
#12 0x00007fcdf0f978ef in KWin::Scene::paintScreen(QRegion const&) (this=0x562d5bf57f20, region=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/scene.cpp:480
#13 0x00007fcdf10b66d4 in KWin::SceneOpenGL::paint(KWin::RenderTarget*, QRegion const&) (this=0x562d5bf57f20, renderTarget=<optimized out>, region=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/scenes/opengl/scene_opengl.cpp:90
#14 0x00007fcdf0f995af in KWin::SceneDelegate::paint(KWin::RenderTarget*, QRegion const&) (this=<optimized out>, renderTarget=0x7ffd97f74e00, region=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/scene.cpp:121
#15 0x00007fcdf0ef05c4 in KWin::Compositor::paintPass(KWin::RenderLayer*, KWin::RenderTarget*, QRegion const&) (this=this@entry=0x562d5a50e7b0, layer=layer@entry=0x562d5b96b470, target=target@entry=0x7ffd97f74e00, region=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/composite.cpp:713
#16 0x00007fcdf0ef3966 in KWin::Compositor::composite(KWin::RenderLoop*) (this=0x562d5a50e7b0, renderLoop=0x562d5a662120) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/composite.cpp:656
#17 0x00007fcdef67d05d in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd97f74f40, r=0x562d5a50e7b0, this=0x562d5a42b510) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false>(QObject*, int, void**) (sender=0x562d5a662120, signal_index=5, argv=0x7ffd97f74f40) at kernel/qobject.cpp:3919
#19 0x00007fcdef6764df in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7fcdf12b2060 <KWin::RenderLoop::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd97f74f40) at kernel/qobject.cpp:3979
#20 0x00007fcdf0ea9002 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/build/src/kwin_autogen/TAC5DWH4SE/moc_renderloop.cpp:206
#21 0x00007fcdf0ef8dc3 in KWin::RenderLoopPrivate::dispatch() (this=0x562d5a65efb0) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/core/renderloop.cpp:151
#22 0x00007fcdef67d05d in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd97f75050, r=0x562d5a662120, this=0x562d5a661d30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false>(QObject*, int, void**) (sender=0x562d5a65efc8, signal_index=3, argv=0x7ffd97f75050) at kernel/qobject.cpp:3919
#24 0x00007fcdef6764df in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7fcdef91d9c0, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd97f75050) at kernel/qobject.cpp:3979
#25 0x00007fcdef680e9a in QTimer::timeout(QTimer::QPrivateSignal) (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#26 0x00007fcdef6717ed in QObject::event(QEvent*) (this=0x562d5a65efc8, e=0x7ffd97f751a0) at kernel/qobject.cpp:1369
#27 0x00007fcdeeb613fe in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x562d5a65efc8, e=0x7ffd97f751a0) at kernel/qapplication.cpp:3637
#28 0x00007fcdef646178 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x562d5a65efc8, event=0x7ffd97f751a0) at kernel/qcoreapplication.cpp:1064
#29 0x00007fcdef69cc01 in QTimerInfoList::activateTimers() (this=this@entry=0x562d5a1e77c8) at kernel/qtimerinfo_unix.cpp:643
#30 0x00007fcdef69a43c in QEventDispatcherUNIXPrivate::activateTimers() (this=this@entry=0x562d5a1e7740) at kernel/qeventdispatcher_unix.cpp:249
#31 0x00007fcdef69b1e0 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#32 0x0000562d59f5a7dd in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:63
#33 0x00007fcdef644beb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd97f75340, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#34 0x00007fcdef64cd56 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#35 0x00007fcdefa99e5c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#36 0x00007fcdeeb61375 in QApplication::exec() () at kernel/qapplication.cpp:2829
#37 0x0000562d59e8218d in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/main_wayland.cpp:613
```


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20221012
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.0-1-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series
Comment 1 postix 2022-10-15 11:48:24 UTC
```
 bt full
#0  0x00007fcdf0d17ade in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const (this=this@entry=0x562d5ca53a30, type=type@entry=7, vertices=vertices@entry=0x0, textureMatrix=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/libkwineffects/kwineffects.cpp:1084
        wv = <optimized out>
        v = {position = {v = {<optimized out>, <optimized out>}}, texcoord = {v = {<optimized out>, <optimized out>}}}
        j = 3
        __for_range = @0x562d5ca53a30: {<QVector<KWin::WindowQuad>> = {d = 0x562d5c1ce270}, <No data fields>}
        __for_begin = 0x562d5c1ce288
        __for_end = 0x562d5c1ce488
        vertex = <optimized out>
#1  0x00007fcdf10b8a14 in KWin::SceneOpenGL::render(KWin::Item*, int, QRegion const&, KWin::WindowPaintData const&) (this=0x562d5bf57f20, item=<optimized out>, mask=<optimized out>, region=..., data=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/scenes/opengl/scene_opengl.cpp:477
        renderNode = @0x562d5ca53a28: {texture = 0x562d5a95a480, quads = {<QVector<KWin::WindowQuad>> = {d = 0x562d5c1ce270}, <No data fields>}, transformMatrix = {m = {{1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}}, flagBits = 1}, firstVertex = 0, vertexCount = 16, opacity = 1, hasAlpha = false, coordinateType = KWin::NormalizedCoordinates}
        matrix = {m = {{1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}}, flagBits = 0}
        i = 0
        v = 0
        renderContext = {renderNodes = {d = 0x562d5ca53a10}, transformStack = {<QVector<QMatrix4x4>> = {d = 0x562d5c823880}, <No data fields>}, opacityStack = {<QVector<double>> = {d = 0x562d5b652130}, <No data fields>}, clip = {d = 0x562d5bdf6aa0}, hardwareClipping = false}
        quadCount = <optimized out>
        indexedQuads = <optimized out>
        verticesPerQuad = 4
        size = <optimized out>
        shaderTraits = {i = 1}
        attribs = {{index = 0, size = 2, type = 5126, relativeOffset = 0}, {index = 1, size = 2, type = 5126, relativeOffset = 8}}
        vbo = 0x562d5b538050
        map = 0x0
        shader = <optimized out>
        opacity = <optimized out>
        scissorRegion = {d = 0x562d5c491a50}
        projectionMatrix = {m = {{6.30951312e+16, 3.09140454e-41, 3.02680468e-42, 9.44068564e-38}, {1.19058555e+16, 3.09140454e-41, -7.25330906e-12, 1.25303831e+31}, {5.60434133e+16, 3.09140454e-41, -nan(0x7ffee0), -nan(0x7fffff)}, {1.54142831e-44, 0, -7.25330906e-12, 1.25303831e+31}}, flagBits = 1548135504}
#2  0x00007fcdf0f2e380 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x562d5beeb6c0, w=<optimized out>, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/effects.cpp:454
#3  0x00007fcdf0f97a79 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (data=<optimized out>, region=<optimized out>, mask=<optimized out>, w=<optimized out>, this=0x562d5beeb6c0) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/effects.cpp:454
#4  KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion const&, KWin::WindowPaintData&) (this=<optimized out>, w=<optimized out>, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/scene.cpp:589
#5  0x00007fcdf0f2e2d7 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x562d5beeb6c0, w=0x562d5bbc9b50, mask=0, region=<optimized out>, data=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/effects.cpp:425
#6  0x00007fcdf0f2e2d7 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x562d5beeb6c0, w=0x562d5bbc9b50, mask=0, region=<optimized out>, data=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/effects.cpp:425
#7  0x00007fcdf0f9a5f6 in KWin::Scene::paintWindow(KWin::WindowItem*, int, QRegion const&) (region=..., mask=0, item=0x562d5ad4dbb0, this=0x562d5ad4dbb0) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/window.h:2256
        data = {<KWin::PaintData> = {_vptr.PaintData = 0x7fcdf0d3b9f8 <vtable for KWin::WindowPaintData+16>, d = 0x562d5c166530}, shader = 0x0, d = 0x562d5b4cd940}
#8  KWin::Scene::paintWindow(KWin::WindowItem*, int, QRegion const&) (this=this@entry=0x562d5bf57f20, item=0x562d5ad4dbb0, mask=0, region=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/scene.cpp:576
#9  0x00007fcdf0f9a8a6 in KWin::Scene::paintSimpleScreen(int, QRegion const&) (this=0x562d5bf57f20, region=<optimized out>) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/scene.cpp:537
        paintData = @0x562d5c2e2fe8: {item = 0x562d5ad4dbb0, region = {d = 0x562d5bdf6aa0, static shared_empty = {ref = {atomic = {_q_value = std::atomic<int> = { -1 }}}, qt_rgn = 0x7fcdf004dee0 <qrp>}}, opaque = {d = 0x562d5bd34330, static shared_empty = {ref = {atomic = {_q_value = std::atomic<int> = { -1 }}}, qt_rgn = 0x7fcdf004dee0 <qrp>}}, mask = 0}
        __for_range = @0x562d5bf57fd8: {d = 0x562d5c2e2fd0}
        __for_begin = 0x562d5c2e2fe8
        __for_end = 0x562d5c2e30c8
        visible = {d = 0x562d59fb1840 <QRegion::shared_empty>, static shared_empty = {ref = {atomic = {_q_value = std::atomic<int> = { -1 }}}, qt_rgn = 0x7fcdf004dee0 <qrp>}}
#10 0x00007fcdf0f2e237 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x562d5beeb6c0, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/effects.cpp:397
#11 0x00007fcdf0f2e237 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x562d5beeb6c0, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/effects.cpp:397
#12 0x00007fcdf0f978ef in KWin::Scene::paintScreen(QRegion const&) (this=0x562d5bf57f20, region=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/scene.cpp:480
        data = {d = std::unique_ptr<KWin::ScreenPaintData::Private> = {get() = 0x562d5b6b5db0}}
#13 0x00007fcdf10b66d4 in KWin::SceneOpenGL::paint(KWin::RenderTarget*, QRegion const&) (this=0x562d5bf57f20, renderTarget=<optimized out>, region=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/scenes/opengl/scene_opengl.cpp:90
#14 0x00007fcdf0f995af in KWin::SceneDelegate::paint(KWin::RenderTarget*, QRegion const&) (this=<optimized out>, renderTarget=0x7ffd97f74e00, region=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/scene.cpp:121
#15 0x00007fcdf0ef05c4 in KWin::Compositor::paintPass(KWin::RenderLayer*, KWin::RenderTarget*, QRegion const&) (this=this@entry=0x562d5a50e7b0, layer=layer@entry=0x562d5b96b470, target=target@entry=0x7ffd97f74e00, region=...) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/composite.cpp:713
        sublayers = {<QListSpecialMethods<KWin::RenderLayer*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic<int> = { -1 }}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x87000000f00}, d = 0x87000000f00}}
#16 0x00007fcdf0ef3966 in KWin::Compositor::composite(KWin::RenderLoop*) (this=0x562d5a50e7b0, renderLoop=0x562d5a662120) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/composite.cpp:656
        beginInfo = std::optional<KWin::OutputLayerBeginFrameInfo> = {[contained value] = {renderTarget = {m_nativeHandle = std::variant<KWin::GLFramebuffer *, QImage *> [index 0] = {0x562d5a3ddbb0}, m_devicePixelRatio = 2}, repaint = {d = 0x562d5a6ee720}}}
        surfaceDamage = {d = 0x562d5b4d8b20}
        output = 0x562d5a663730
        outputLayer = 0x562d5a700d50
        _duration = std::unique_ptr<KWin::FTraceDuration> = {get() = <optimized out>}
        scanoutCandidate = 0x0
        directScanout = <optimized out>
#17 0x00007fcdef67d05d in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd97f74f40, r=0x562d5a50e7b0, this=0x562d5a42b510) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
        receiver = 0x562d5a50e7b0
        td = <optimized out>
        receiverInSameThread = <optimized out>
        senderData = {previous = 0x0, receiver = 0x562d5a50e7b0, sender = 0x562d5a662120, signal = 5}
        c = 0x562d5bd74e80
        connections = {d = 0x562d5a663430}
        list = <optimized out>
        inSenderThread = true
        highestConnectionId = 7
        signalVector = 0x562d5a20d6b0
        currentThreadId = 0x7fcdebcb2e00
        sp = <optimized out>
        signal_spy_set = 0x0
        empty_argv = {0x0}
        senderDeleted = false
#18 doActivate<false>(QObject*, int, void**) (sender=0x562d5a662120, signal_index=5, argv=0x7ffd97f74f40) at kernel/qobject.cpp:3919
        receiver = 0x562d5a50e7b0
        td = <optimized out>
        receiverInSameThread = <optimized out>
        senderData = {previous = 0x0, receiver = 0x562d5a50e7b0, sender = 0x562d5a662120, signal = 5}
        c = 0x562d5bd74e80
        connections = {d = 0x562d5a663430}
        list = <optimized out>
        inSenderThread = true
        highestConnectionId = 7
        signalVector = 0x562d5a20d6b0
        currentThreadId = 0x7fcdebcb2e00
        sp = <optimized out>
        signal_spy_set = 0x0
        empty_argv = {0x0}
        senderDeleted = false
#19 0x00007fcdef6764df in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7fcdf12b2060 <KWin::RenderLoop::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd97f74f40) at kernel/qobject.cpp:3979
#20 0x00007fcdf0ea9002 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/build/src/kwin_autogen/TAC5DWH4SE/moc_renderloop.cpp:206
        _a = {0x0, 0x7ffd97f74f38}
#21 0x00007fcdf0ef8dc3 in KWin::RenderLoopPrivate::dispatch() (this=0x562d5a65efb0) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/core/renderloop.cpp:151
#22 0x00007fcdef67d05d in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd97f75050, r=0x562d5a662120, this=0x562d5a661d30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
        receiver = 0x562d5a662120
        td = <optimized out>
        receiverInSameThread = <optimized out>
        senderData = {previous = 0x0, receiver = 0x562d5a662120, sender = 0x562d5a65efc8, signal = 3}
        c = 0x562d5a65b950
        connections = {d = 0x562d5a661770}
        list = <optimized out>
        inSenderThread = true
        highestConnectionId = 1
        signalVector = 0x562d5a662e30
        currentThreadId = 0x7fcdebcb2e00
        sp = <optimized out>
        signal_spy_set = 0x0
        empty_argv = {0x0}
        senderDeleted = false
#23 doActivate<false>(QObject*, int, void**) (sender=0x562d5a65efc8, signal_index=3, argv=0x7ffd97f75050) at kernel/qobject.cpp:3919
        receiver = 0x562d5a662120
        td = <optimized out>
        receiverInSameThread = <optimized out>
        senderData = {previous = 0x0, receiver = 0x562d5a662120, sender = 0x562d5a65efc8, signal = 3}
        c = 0x562d5a65b950
        connections = {d = 0x562d5a661770}
        list = <optimized out>
        inSenderThread = true
        highestConnectionId = 1
        signalVector = 0x562d5a662e30
        currentThreadId = 0x7fcdebcb2e00
        sp = <optimized out>
        signal_spy_set = 0x0
        empty_argv = {0x0}
        senderDeleted = false
#24 0x00007fcdef6764df in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7fcdef91d9c0, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd97f75050) at kernel/qobject.cpp:3979
#25 0x00007fcdef680e9a in QTimer::timeout(QTimer::QPrivateSignal) (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
        _a = {0x0, 0x7ffd97f7504f}
#26 0x00007fcdef6717ed in QObject::event(QEvent*) (this=0x562d5a65efc8, e=0x7ffd97f751a0) at kernel/qobject.cpp:1369
#27 0x00007fcdeeb613fe in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x562d5a65efc8, e=0x7ffd97f751a0) at kernel/qapplication.cpp:3637
        consumed = false
        filtered = false
#28 0x00007fcdef646178 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x562d5a65efc8, event=0x7ffd97f751a0) at kernel/qcoreapplication.cpp:1064
        selfRequired = true
        result = false
        cbdata = {0x562d5a65efc8, 0x7ffd97f751a0, 0x7ffd97f7513f}
        d = <optimized out>
        threadData = 0x562d5a19b0d0
        scopeLevelCounter = {threadData = 0x562d5a19b0d0}
#29 0x00007fcdef69cc01 in QTimerInfoList::activateTimers() (this=this@entry=0x562d5a1e77c8) at kernel/qtimerinfo_unix.cpp:643
        e = {<QEvent> = {_vptr.QEvent = 0x7fcdef91d210 <vtable for QTimerEvent+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fcdef80d0e0 <qt_meta_stringdata_QEvent>, data = 0x7fcdef80cb20 <qt_meta_data_QEvent>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 1, posted = 0, spont = 0, m_accept = 1, reserved = 7666}, id = 11}
        currentTimerInfo = 0x0
        n_act = 0
        maxCount = 0
        currentTime = {tv_sec = 4403, tv_nsec = 503323493}
#30 0x00007fcdef69a43c in QEventDispatcherUNIXPrivate::activateTimers() (this=this@entry=0x562d5a1e7740) at kernel/qeventdispatcher_unix.cpp:249
#31 0x00007fcdef69b1e0 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:516
        d = 0x562d5a1e7740
        threadData = <optimized out>
        include_timers = true
        canWait = <optimized out>
        tm = <optimized out>
        wait_tm = {tv_sec = 0, tv_nsec = 562000000}
        nevents = 1
#32 0x0000562d59f5a7dd in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:63
        didSendEvents = <optimized out>
#33 0x00007fcdef644beb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd97f75340, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
        d = 0x562d5a50e5d0
        threadData = <optimized out>
        locker = {val = 94752785151896}
        app = <optimized out>
#34 0x00007fcdef64cd56 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
        threadData = 0x562d5a19b0d0
        eventLoop = {<QObject> = {_vptr.QObject = 0x7fcdef91cfa8 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fcdef8117e0 <qt_meta_stringdata_QObject>, data = 0x7fcdef8116c0 <qt_meta_data_QObject>, static_metacall = 0x7fcdef67b9d0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x562d5a50e5d0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fcdef814780 <qt_meta_stringdata_Qt>, data = 0x7fcdef811900 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x562d59fb13e0 <QObject::staticMetaObject>}, stringdata = 0x7fcdef80bf60 <qt_meta_stringdata_QEventLoop>, data = 0x7fcdef80bf00 <qt_meta_data_QEventLoop>, static_metacall = 0x7fcdef644920 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
        returnCode = <optimized out>
#35 0x00007fcdefa99e5c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#36 0x00007fcdeeb61375 in QApplication::exec() () at kernel/qapplication.cpp:2829
#37 0x0000562d59e8218d in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin5-5.26.0-1.1.x86_64/src/main_wayland.cpp:613
        environment = {d = {d = 0x562d5a1db520}}
        a = {<KWin::Application> = {<QApplication> = {<QGuiApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x562d59fb2ee0 <vtable for KWin::ApplicationWayland+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fcdef8117e0 <qt_meta_stringdata_QObject>, data = 0x7fcdef8116c0 <qt_meta_data_QObject>, static_metacall = 0x7fcdef67b9d0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x562d5a1df0d0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fcdef814780 <qt_meta_stringdata_Qt>, data = 0x7fcdef811900 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x562d59fb13e0 <QObject::staticMetaObject>}, stringdata = 0x7fcdef80c660 <qt_meta_stringdata_QCoreApplication>, data = 0x7fcdef80c540 <qt_meta_data_QCoreApplication>, static_metacall = 0x7fcdef647990 <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static self = 0x7ffd97f755c0}, static staticMetaObject = {d = {superdata = {direct = 0x7fcdef91d140 <QCoreApplication::staticMetaObject>}, stringdata = 0x7fcdeff2c800 <qt_meta_stringdata_QGuiApplication>, data = 0x7fcdeff2c580 <qt_meta_data_QGuiApplication>, static_metacall = 0x7fcdefa9f640 <QGuiApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fcdf002cfc0 <QGuiApplication::staticMetaObject>}, stringdata = 0x7fcdeef108c0 <qt_meta_stringdata_QApplication>, data = 0x7fcdeef10740 <qt_meta_data_QApplication>, static_metacall = 0x7fcdeeb64f10 <QApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fcdef074f80 <QApplication::staticMetaObject>}, stringdata = 0x7fcdf11967a0 <_ZL36qt_meta_stringdata_KWin__Application.lto_priv.0>, data = 0x7fcdf1190f60 <_ZL30qt_meta_data_KWin__Application.lto_priv.0>, static_metacall = 0x7fcdf0eb95e0 <KWin::Application::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, m_eventFilters = {<QListSpecialMethods<QPointer<KWin::X11EventFilterContainer> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic<int> = { -1 }}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x562d5b4aa020}, d = 0x562d5b4aa020}}, m_genericEventFilters = {<QListSpecialMethods<QPointer<KWin::X11EventFilterContainer> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic<int> = { -1 }}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x562d59fb1750 <QListData::shared_null>}, d = 0x562d59fb1750 <QListData::shared_null>}}, m_eventFilter = std::unique_ptr<KWin::XcbEventFilter> = {get() = 0x562d5a210860}, m_configLock = false, m_config = {d = 0x562d5a203080}, m_kxkbConfig = {d = 0x562d5a223c20}, m_operationMode = KWin::Application::OperationModeXwayland, m_x11Time = 4400341, m_rootWindow = 976, m_connection = 0x562d5b6ee9f0, m_useKActivities = true, m_session = std::unique_ptr<KWin::Session> = {get() = 0x562d5a21db10}, m_platform = std::unique_ptr<KWin::Platform> = {get() = 0x562d5a224d70}, m_terminating = false, m_xwaylandScale = 2, m_processEnvironment = {d = {d = 0x562d5b70ca20}}, m_pluginManager = std::unique_ptr<KWin::PluginManager> = {get() = 0x562d5aae7cc0}, m_inputMethod = std::unique_ptr<KWin::InputMethod> = {get() = 0x562d5a4f8070}, m_colorManager = std::unique_ptr<KWin::ColorManager> = {get() = 0x562d5a1f8870}, m_tabletModeManager = std::unique_ptr<KWin::TabletModeManager> = {get() = 0x562d5a4ee380}, m_screenLockerWatcher = std::unique_ptr<KWin::ScreenLockerWatcher> = {get() = 0x562d5a382b20}}, static staticMetaObject = {d = {superdata = {direct = 0x562d59fb1d60 <KWin::Application::staticMetaObject>}, stringdata = 0x562d59f63020 <qt_meta_stringdata_KWin__ApplicationWayland>, data = 0x562d59f61700 <qt_meta_data_KWin__ApplicationWayland>, static_metacall = 0x562d59e83830 <KWin::ApplicationWayland::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, m_startXWayland = true, m_applicationsToStart = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {d = 0x562d59fb1750 <QListData::shared_null>}, d = 0x562d59fb1750 <QListData::shared_null>}}, <No data fields>}, m_inputMethodServerToStart = {d = 0x562d59fb1f00 <QArrayData::shared_null>}, m_sessionArgument = {d = 0x562d59fb1f00 <QArrayData::shared_null>}, m_xwayland = std::unique_ptr<KWin::Xwl::Xwayland> = {get() = 0x562d5a585060}, m_xwaylandListenFds = {d = 0x562d5a224370}, m_xwaylandDisplay = {d = 0x562d5a2216d0}, m_xwaylandXauthority = {d = 0x562d5a2211a0}, m_settingsWatcher = {value = 0x562d5a223c00, d = 0x562d5a223cc0}}
        xwaylandOption = {d = {d = 0x562d5a1e42a0}}
        waylandSocketOption = {d = {d = 0x562d5a21f8c0}}
        x11DisplayOption = {d = {d = 0x562d5a21f900}}
        waylandDisplayOption = {d = {d = 0x562d5a21f940}}
        virtualFbOption = {d = {d = 0x562d5a21f980}}
        widthOption = {d = {d = 0x562d5a21f9c0}}
        heightOption = {d = {d = 0x562d5a21fa00}}
        scaleOption = {d = {d = 0x562d5a21faf0}}
        outputCountOption = {d = {d = 0x562d5a21fc80}}
        waylandSocketFdOption = {d = {d = 0x562d5a21fdd0}}
        xwaylandListenFdOption = {d = {d = 0x562d5a21ff20}}
        xwaylandDisplayOption = {d = {d = 0x562d5a21ff90}}
        xwaylandXAuthorityOption = {d = {d = 0x562d5a21ffd0}}
        replaceOption = {d = {d = 0x562d5a220070}}
        drmOption = {d = {d = 0x562d5a2200b0}}
        parser = {d = 0x562d5a220120}
        inputMethodOption = {d = {d = 0x562d5a220ef0}}
        screenLockerOption = {d = {d = 0x562d5a2210c0}}
        noScreenLockerOption = {d = {d = 0x562d5a221160}}
        noGlobalShortcutsOption = {d = {d = 0x562d5a221260}}
        noActivitiesOption = {d = {d = 0x562d5a221370}}
        exitWithSessionOption = {d = {d = 0x562d5a221480}}
        backendType = <optimized out>
        pluginName = {d = 0x562d59fb1f00 <QArrayData::shared_null>}
        initialWindowSize = {wd = <optimized out>, ht = <optimized out>}
        deviceIdentifier = {d = 0x562d59fb1f00 <QArrayData::shared_null>}
        outputCount = 1
        outputScale = <optimized out>
        ok = true
        width = <optimized out>
        height = <optimized out>
        scale = <optimized out>
        count = <optimized out>
        server = <optimized out>
        flags = {i = <optimized out>}
        socketName = {d = 0x562d5a2215e0}
```
Comment 2 Nate Graham 2022-10-20 04:19:18 UTC
Just hit this today when using Overview. Backtrace is the same.
Comment 3 Matt Fagnani 2022-11-19 00:22:32 UTC
I've seen two kwin_wayland crashes in KWin::WindowQuadList::makeInterleavedArrays with the same type of trace while I was using Plasma 5.26.2-5.26.3 on Wayland in a Fedora 37 KDE Plasma installation. I started Firefox Nightly 108.0a1 20221029095010 or 109.0a1 (2022-11-18). I had previously enabled the menu bar in Firefox. I clicked on Bookmarks in the menu bar. I moved the cursor over the bookmarks menu the first time. The crash happened right after I clicked on Bookmarks in the menu bar before the menu popup was shown in the second crash. Plasma froze, then the screen went black. Plasma restarted. kwin_wayland crashed in KWin::WindowQuadList::makeInterleavedArrays as shown in coredumpctl gdb. vertices=vertices@entry=0x0 in KWin::WindowQuadList::makeInterleavedArrays's arguments might be related to the problem since vertices was incremented then treated as a pointer in *(vertex++) = v; A race condition in which vertices was infrequently freed before it was used or not might be involved in this problem. 

Core was generated by `/usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayl'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f53e9efee46 in KWin::WindowQuadList::makeInterleavedArrays (this=this@entry=0x55a91e3f1620, type=type@entry=7, vertices=vertices@entry=0x0, textureMatrix=...) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/libkwineffects/kwineffects.cpp:1084
1084                    *(vertex++) = v;
[Current thread is 1 (Thread 0x7f53e8a9d980 (LWP 1415))]

(gdb) bt
#0  0x00007f53e9efee46 in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const
    (this=this@entry=0x55a91e3f1620, type=type@entry=7, vertices=vertices@entry=0x0, textureMatrix=...) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/libkwineffects/kwineffects.cpp:1084
#1  0x00007f53e9badb34 in KWin::SceneOpenGL::render(KWin::Item*, int, QRegion const&, KWin::WindowPaintData const&) (this=0x55a91d046090, item=<optimized out>, mask=<optimized out>, region=..., data=...)
    at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/scenes/opengl/scene_opengl.cpp:477
#2  0x00007f53e9a1e0b4 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&)
    (this=0x55a91dc33ae0, w=<optimized out>, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/effects.cpp:454
#3  0x00007f53e9a8871d in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&)
    (data=<optimized out>, region=<optimized out>, mask=<optimized out>, w=<optimized out>, this=0x55a91dc33ae0) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/effects.cpp:454
#4  KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion const&, KWin::WindowPaintData&)
    (this=<optimized out>, w=<optimized out>, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/scene.cpp:589
#5  0x00007f53e9a1dffb in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&)
    (this=0x55a91dc33ae0, w=0x55a91e5fb4f0, mask=0, region=<optimized out>, data=...)
--Type <RET> for more, q to quit, c to continue without paging--c
    at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/effects.cpp:425
#6  0x00007f53e9a1dffb in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x55a91dc33ae0, w=0x55a91e5fb4f0, mask=0, region=<optimized out>, data=...) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/effects.cpp:425
#7  0x00007f53e9a8b35a in KWin::Scene::paintWindow(KWin::WindowItem*, int, QRegion const&) (region=..., mask=0, item=0x55a91e25b500, this=0x55a91e25b500) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/window.h:2256
#8  KWin::Scene::paintWindow(KWin::WindowItem*, int, QRegion const&) (this=this@entry=0x55a91d046090, item=0x55a91e25b500, mask=0, region=...) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/scene.cpp:576
#9  0x00007f53e9a8b606 in KWin::Scene::paintSimpleScreen(int, QRegion const&) (this=0x55a91d046090, region=<optimized out>) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/scene.cpp:537
#10 0x00007f53e9a1df4b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x55a91dc33ae0, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/effects.cpp:397
#11 0x00007f53e9a1df4b in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x55a91dc33ae0, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/effects.cpp:397
#12 0x00007f53e9a88583 in KWin::Scene::paintScreen(QRegion const&) (this=0x55a91d046090, region=...) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/scene.cpp:480
#13 0x00007f53e9ba7468 in KWin::SceneOpenGL::paint(KWin::RenderTarget*, QRegion const&) (this=0x55a91d046090, renderTarget=<optimized out>, region=...) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/scenes/opengl/scene_opengl.cpp:90
#14 0x00007f53e9a8a2d3 in KWin::SceneDelegate::paint(KWin::RenderTarget*, QRegion const&) (this=<optimized out>, renderTarget=0x7fff1479b960, region=...) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/scene.cpp:121
#15 0x00007f53e99dfc08 in KWin::Compositor::paintPass(KWin::RenderLayer*, KWin::RenderTarget*, QRegion const&) (this=this@entry=0x55a91d084e00, layer=layer@entry=0x55a91dc34b70, target=target@entry=0x7fff1479b960, region=...) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/composite.cpp:713
#16 0x00007f53e99e3e3e in KWin::Compositor::composite(KWin::RenderLoop*) (this=0x55a91d084e00, renderLoop=0x55a91d1d2d60) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/composite.cpp:656
#17 0x00007f53e80dbc26 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fff1479bab0, r=<optimized out>, this=0x55a91dc3aa90) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false>(QObject*, int, void**) (sender=0x55a91d1d2d60, signal_index=5, argv=0x7fff1479bab0) at kernel/qobject.cpp:3919
#19 0x00007f53e80d6bb7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f53e9daa780 <KWin::RenderLoop::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff1479bab0) at kernel/qobject.cpp:3979
#20 0x00007f53e9995816 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/redhat-linux-build/src/kwin_autogen/TAC5DWH4SE/moc_renderloop.cpp:206
#21 0x00007f53e99e8247 in KWin::RenderLoopPrivate::dispatch() (this=0x55a91d1d4b00) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/core/renderloop.cpp:151
#22 0x00007f53e80dbc26 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fff1479bbd0, r=<optimized out>, this=0x55a91d1d4ee0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false>(QObject*, int, void**) (sender=0x55a91d1d4b18, signal_index=3, argv=0x7fff1479bbd0) at kernel/qobject.cpp:3919
#24 0x00007f53e80d6bb7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f53e836d580 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff1479bbd0) at kernel/qobject.cpp:3979
#25 0x00007f53e80defae in QTimer::timeout(QTimer::QPrivateSignal) (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#26 0x00007f53e80d2d55 in QObject::event(QEvent*) (this=0x55a91d1d4b18, e=0x7fff1479bd30) at kernel/qobject.cpp:1369
#27 0x00007f53e75aed12 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55a91d1d4b18, e=0x7fff1479bd30) at kernel/qapplication.cpp:3637
#28 0x00007f53e80a8278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55a91d1d4b18, event=0x7fff1479bd30) at kernel/qcoreapplication.cpp:1064
#29 0x00007f53e80f8711 in QTimerInfoList::activateTimers() (this=this@entry=0x55a91cdd7e98) at kernel/qtimerinfo_unix.cpp:643
#30 0x00007f53e80f5e70 in QEventDispatcherUNIXPrivate::activateTimers() (this=this@entry=0x55a91cdd7e10) at kernel/qeventdispatcher_unix.cpp:249
#31 0x00007f53e80f6cc0 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#32 0x000055a91be18b51 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
#33 0x00007f53e80a6cca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff1479beb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#34 0x00007f53e80aed92 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#35 0x00007f53e855fbe0 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1863
#36 0x00007f53e75aec89 in QApplication::exec() () at kernel/qapplication.cpp:2829
#37 0x000055a91bd3dd88 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin-5.26.3-1.fc37.x86_64/src/main_wayland.cpp:613

The journal at the time of the crashes showed some errors including kwin_wayland[1403]: libkwinglutils: Wait failed

Oct 29 13:59:50 systemd[1334]: Started app-Firefox\x20Nightly\x20on\x20Wayland-d5a0a538e21f4d5dbaea387253d8a18a.scope - Firefox Nightly on Wayland.
Oct 29 13:59:51 plasmashell[2500]: [GFX1-]: glxtest: VA-API test failed: no supported VAAPI profile found.
Oct 29 13:59:53 rtkit-daemon[875]: Successfully made thread 2628 of process 2500 (/home/matt/programs/firefox/firefox-bin) owned by '1000' RT at priority 10.
Oct 29 13:59:56 kwin_wayland[1403]: libkwinglutils: Wait failed
Oct 29 13:59:56 kernel: show_signal_msg: 1 callbacks suppressed
Oct 29 13:59:56 kernel: kwin_wayland[1403]: segfault at 10 ip 00007f2c204e0e46 sp 00007ffe70257918 error 6 in libkwineffects.so.5.26.2[7f2c204cf000+27000]
Oct 29 13:59:56 kernel: Code: 58 e3 f3 44 0f 58 ca 41 0f 14 e0 66 45 0f ef c0 0f 16 f4 66 0f ef e4 f2 44 0f 5a 40 80 45 0f 14 c2 f2 0f 5a 60 90 f3 0f 59 e1 <0f> 11 6a d0 0f 11 7a e0 0f 11 72 f0 f3 0f 58 e3 41 0f 14 e1 44 0f
Oct 29 13:59:56 audit[1403]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=1403 comm="kwin_wayland" exe="/usr/bin/kwin_wayland" sig=11 res=1

This problem didn't usually happen. After the crashes and Plasma restarted, when I clicked on Shut Down or Restart in the Application Launcher menu Plasma froze for about a minute which was unusual. kwin_wayland also crashed with Plasma 5.26.1 on 2022-10-21 when I was using konsole with the same types of errors in the journal like "kwin_wayland[1403]: libkwinglutils: Wait failed". Plasma froze for about 5 minutes. systemd-coredump timed out after that long so I don't have a trace for that crash. drkonqi showed that akonadiserver had crashed after the kwin_wayland crashes.
Comment 4 David Edmundson 2023-01-11 12:24:30 UTC
*** Bug 463929 has been marked as a duplicate of this bug. ***