Application: kwin_wayland (6.3.0) ApplicationNotResponding [ANR]: false Qt Version: 6.8.2 Frameworks Version: 6.10.0 Operating System: Linux 6.12.10-zen1-1-zen x86_64 Windowing System: Wayland Distribution: "Arch Linux" DrKonqi: 6.3.0 [CoredumpBackend] -- Information about the crash: Since the update to KDE 6.3.0, it seems KWin creashes whenever I use virt-manager to view a VM for more than a few minutes. I can leave my desktop idle for hours no problem, but the moment I view a VM in virt-manager, it crashes within a few minutes, even when it's the only application open (and plasmashell and other default things). The VM is an ArchLinux guest also running KDE, using virtio graphics with 3D acceleration (on the same GPU as KWin runs on, an AMD RX 570). Both the host and the guest use Wayland. System is a fully updated ArchLinux installation (as of writing), except the kernel which is on 6.12.10.zen1-1 due to ZFS compatibility. I could try linux-lts to be slightly more up to date with 6.12.12 but unable to run a 6.13 kernel. The crash can be reproduced every time. -- Backtrace (Reduced): #5 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #6 0x0000701eb603b6d3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89 #7 0x0000701eb5fe1ba0 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #8 0x0000701eb5fc9582 in __GI_abort () at abort.c:73 #9 0x0000701eb5fca3bf in __libc_message_impl (fmt=fmt@entry=0x701eb615731f "%s\n") at ../sysdeps/posix/libc_fatal.c:134 Reported using DrKonqi
Created attachment 178354 [details] New crash information added by DrKonqi DrKonqi auto-attaching complete backtrace.
I've been trying to reproduce the same issue on my laptop, also running latest Arch, same kernel, same version of KDE and everything. I'm unable to reproduce on my laptop just using virt-manager, even when stressing out the VM. It's been running for over an hour just running testufo in Firefox and glxgears. On my desktop, I got a few more crashes in the meantime, all with the common denominator still being using virt-manager. Been using the computer a good chunk of the afternoon with no crashes, and it crashed within a few minutes of using my VM. I had to switch to networked spice and QXL graphics on the VM so it's usable over the network for the laptop, and I was hoping maybe not using virtio would help but it still crashed KWin on the desktop. However for some reason I am unable to reproduce on my desktop anymore after the last crash. It wasn't crashing on the laptop, even when viewing the same VM over the network. So I tried to confirm on the desktop once more, I have testufo and glxgears running on the desktop in the VM with virt-viewer opened and it's been going fine for almost an hour now as well. It feels like something is potentially off with this hardware, but it passes a zpool scrub perfectly fine, so supposedly data integrity is fine. It's also passed hours of mprime stress test and memtest86+. I'll keep trying to find a way to reproduce this more reliably.
Full backtrace for searchability: Thread 1 (Thread 0x701eafc36a00 (LWP 50977)): [KCrash Handler] #5 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #6 0x0000701eb603b6d3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89 #7 0x0000701eb5fe1ba0 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #8 0x0000701eb5fc9582 in __GI_abort () at abort.c:73 #9 0x0000701eb5fca3bf in __libc_message_impl (fmt=fmt@entry=0x701eb615731f "%s\n") at ../sysdeps/posix/libc_fatal.c:134 #10 0x0000701eb6045765 in malloc_printerr (str=str@entry=0x701eb615a638 "double free or corruption (out)") at malloc.c:5829 #11 0x0000701eb6047ab0 in _int_free_merge_chunk (av=av@entry=0x701eb618cac0 <main_arena>, p=p@entry=0x60cab0967fb0, size=size@entry=106423663706464) at malloc.c:4718 #12 0x0000701eb6047bf0 in _int_free_chunk (av=0x701eb618cac0 <main_arena>, p=p@entry=0x60cab0967fb0, size=106423663706464, have_lock=<optimized out>, have_lock@entry=0) at malloc.c:4667 #13 0x0000701eb604a9ab in _int_free (av=<optimized out>, p=0x60cab0967fb0, have_lock=0) at malloc.c:4699 #14 __GI___libc_free (mem=0x60cab0967fc0) at malloc.c:3476 #15 0x0000701eb9049fbb in QArrayDataPointer<KWin::GLVertex2D>::~QArrayDataPointer (this=0x7ffcdd7d41a0, this=<optimized out>) at /usr/include/qt6/QtCore/qarraydataops.h:369 #16 QList<KWin::GLVertex2D>::~QList (this=0x7ffcdd7d41a0, this=<optimized out>) at /usr/include/qt6/QtCore/qlist.h:83 #17 KWin::RenderGeometry::~RenderGeometry (this=0x7ffcdd7d41a0, this=<optimized out>) at /usr/src/debug/kwin/kwin-6.3.0/src/scene/itemgeometry.h:96 #18 KWin::ItemRendererOpenGL::createRenderNode (this=0x60caaf645420, item=<optimized out>, context=0x7ffcdd7d4e00) at /usr/src/debug/kwin/kwin-6.3.0/src/scene/itemrenderer_opengl.cpp:229 #19 0x0000701eb904a2c2 in KWin::ItemRendererOpenGL::createRenderNode (this=this@entry=0x60caaf645420, item=item@entry=0x60cab0b70020, context=context@entry=0x7ffcdd7d4e00) at /usr/src/debug/kwin/kwin-6.3.0/src/scene/itemrenderer_opengl.cpp:223 #20 0x0000701eb904e208 in KWin::ItemRendererOpenGL::renderItem (this=0x60caaf645420, renderTarget=..., viewport=..., item=0x60cab0b70020, mask=<optimized out>, region=..., data=...) at /usr/src/debug/kwin/kwin-6.3.0/src/scene/itemrenderer_opengl.cpp:268 #21 0x0000701eb905a643 in KWin::WorkspaceScene::paintWindow (this=<optimized out>, renderTarget=..., viewport=..., item=0x60cab0b70020, mask=0, region=...) at /usr/src/debug/kwin/kwin-6.3.0/src/scene/workspacescene.cpp:529 #22 KWin::WorkspaceScene::paintWindow (this=this@entry=0x60caaf4c2020, renderTarget=..., viewport=..., item=0x60cab0b70020, mask=0, region=...) at /usr/src/debug/kwin/kwin-6.3.0/src/scene/workspacescene.cpp:522 #23 0x0000701eb905a957 in KWin::WorkspaceScene::paintSimpleScreen (this=0x60caaf4c2020, renderTarget=..., viewport=..., region=<optimized out>) at /usr/src/debug/kwin/kwin-6.3.0/src/scene/workspacescene.cpp:502 #24 0x0000701eb905aad8 in KWin::WorkspaceScene::paint (this=0x60caaf4c2020, renderTarget=..., region=...) at /usr/src/debug/kwin/kwin-6.3.0/src/scene/workspacescene.cpp:437 #25 0x0000701eb904bd85 in KWin::SceneDelegate::paint (this=<optimized out>, renderTarget=..., region=...) at /usr/src/debug/kwin/kwin-6.3.0/src/scene/scene.cpp:44 #26 0x0000701eb8ee2917 in KWin::Compositor::paintPass (this=0x60caae7bdb00, layer=0x60caaf4ca510, renderTarget=..., region=...) at /usr/src/debug/kwin/kwin-6.3.0/src/compositor.cpp:177 #27 0x0000701eb8eeec09 in KWin::WaylandCompositor::composite (this=0x60caae7bdb00, renderLoop=<optimized out>) at /usr/src/debug/kwin/kwin-6.3.0/src/compositor_wayland.cpp:423 #28 0x0000701eb66c7a49 in QtPrivate::QSlotObjectBase::call (this=0x60caaf4edcf0, r=0x60caae7bdb00, a=0x7ffcdd7d5880, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:486 #29 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4115 #30 0x0000701eb8f03835 in KWin::RenderLoop::frameRequested (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwin/build/src/kwin_autogen/include/moc_renderloop.cpp:211 #31 0x0000701eb8f08033 in KWin::RenderLoopPrivate::dispatch (this=0x60caae69bc40) at /usr/src/debug/kwin/kwin-6.3.0/src/core/renderloop.cpp:190 #32 0x0000701eb66c7a49 in QtPrivate::QSlotObjectBase::call (this=0x60caae699440, r=0x60caae6977f0, a=0x7ffcdd7d59b0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:486 #33 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4115 #34 0x0000701eb66d0a75 in QTimer::timeout (this=0x60caae69be80, _t1=...) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qtimer.cpp:223 #35 QTimer::timerEvent (e=<optimized out>, this=0x60caae69be80) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimer.cpp:285 #36 QTimer::timerEvent (this=0x60caae69be80, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimer.cpp:279 #37 0x0000701eb66b8ef9 in QObject::event (this=0x60caae69be80, e=0x7ffcdd7d5b60) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1393 #38 0x0000701eb777a0ca in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x60caae69be80, e=0x7ffcdd7d5b60) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3296 #39 0x0000701eb666bb00 in QCoreApplication::notifyInternal2 (receiver=0x60caae69be80, event=0x7ffcdd7d5b60) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1172 #40 0x0000701eb67ebaff in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x7ffcdd7d5b60) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1612 #41 QTimerInfoList::activateTimers (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:426 #42 0x0000701eb67f4408 in QEventDispatcherUNIXPrivate::activateTimers (this=0x60caae0fab90) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:199 #43 QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=..., flags@entry=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:475 #44 0x0000701eb7234d93 in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/platform/unix/qunixeventdispatcher.cpp:27 #45 0x0000701eb66766a6 in QEventLoop::processEvents (this=0x7ffcdd7d5d60, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:103 #46 QEventLoop::exec (this=0x7ffcdd7d5d60, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:185 #47 0x0000701eb666f1d6 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74 #48 0x0000701eb7775f9a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2564 #49 0x000060ca9e58b07f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin/kwin-6.3.0/src/main_wayland.cpp:622
Since this report, I've been unable to reproduce the crash. I've regularly gotten up to a whole week of uptime without crashing, while doing the same activities as usual. Either it's been fixed in one of the updates, or something was weird with my machine. I think this can be closed as invalid.
OK, thanks!