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

            Bug ID: 460480
           Summary: kwin_wayland crashed in
                    KWin::WindowQuadList::makeInterleavedArrays on
                    switching applications in Present Window effect
    Classification: Plasma
           Product: kwin
           Version: 5.26.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: pos...@posteo.eu
  Target Milestone: ---

Created attachment 152838
  --> https://bugs.kde.org/attachment.cgi?id=152838&action=edit
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

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

Reply via email to