Bug 454441 - kwin occasional crash during alt-tab
Summary: kwin occasional crash during alt-tab
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.24.5
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-26 14:56 UTC by Simon B
Modified: 2022-05-26 17:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace (3.72 KB, text/plain)
2022-05-26 14:56 UTC, Simon B
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon B 2022-05-26 14:56:51 UTC
Created attachment 149234 [details]
backtrace

SUMMARY
Using xorg.
CPU: 11th Gen Intel i7-1165G7 (8) @ 2.800GHz 
GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics] 
Application: kwin_x11 (5.24.5)

Qt Version: 5.15.3
Frameworks Version: 5.94.0
Operating System: Linux 5.15.0-30-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.04 LTS
DrKonqi: 5.24.5 [KCrashBackend]


STEPS TO REPRODUCE
1. Happened twice today during alt-tab (with reboots done in-between)
2. Once during a teams call and another time using firefox

OBSERVED RESULT
Kwin crash, desktop stays running but the kde bug reporter appears, and stack trace generated.

EXPECTED RESULT
Kwin doesn't crash

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140058780362048) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=140058780362048) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=140058780362048, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007f61fe7fe476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f61fe7e47f3 in __GI_abort () at ./stdlib/abort.c:79
#9  0x00007f61f2710144 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#10 0x00007f61f337938f in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#11 0x00007f61f2976782 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#12 0x00007f620145c384 in ?? () from /lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007f61ff976783 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f6201433c98 in KWin::Scene::paintScreen(QRegion const&, QRegion const&, QRegion*, QRegion*, KWin::RenderLoop*, QMatrix4x4 const&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007f62014f5060 in KWin::SceneOpenGL::paint(KWin::AbstractOutput*, QRegion const&, QList<KWin::Toplevel*> const&, KWin::RenderLoop*) () from /lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007f6201396071 in KWin::Compositor::composite(KWin::RenderLoop*) () from /lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007f620139fa06 in KWin::X11Compositor::composite(KWin::RenderLoop*) () from /lib/x86_64-linux-gnu/libkwin.so.5
#18 0x00007f61ff976783 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f6201355b16 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) () from /lib/x86_64-linux-gnu/libkwin.so.5
#20 0x00007f6201422297 in KWin::RenderLoopPrivate::dispatch() () from /lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007f61ff976783 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f61ff97a7ee in QTimer::timeout(QTimer::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f61ff96c32f in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f61fef15713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f61ff93ee2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f61ff9973db in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f61ff995897 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f61f9703142 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#29 0x00007f61ff93d74b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f61ff945ce4 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x000055e56e671bad in ?? ()
#32 0x00007f61fe7e5d90 in __libc_start_call_main (main=main@entry=0x55e56e671770, argc=argc@entry=1, argv=argv@entry=0x7ffcb35db648) at ../sysdeps/nptl/libc_start_call_main.h:58
#33 0x00007f61fe7e5e40 in __libc_start_main_impl (main=0x55e56e671770, argc=1, argv=0x7ffcb35db648, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcb35db638) at ../csu/libc-start.c:392
#34 0x000055e56e672eb5 in ?? ()
[Inferior 1 (process 2690) detached]
Comment 1 Nate Graham 2022-05-26 17:01:05 UTC
The hang looks to be in your graphics drivers:

#9  0x00007f61f2710144 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#10 0x00007f61f337938f in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#11 0x00007f61f2976782 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#12 0x00007f620145c384 in ?? () from /lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007f61ff976783 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f6201433c98 in KWin::Scene::paintScreen(QRegion const&, QRegion const&, QRegion*, QRegion*, KWin::RenderLoop*, QMatrix4x4 const&) () from /lib/x86_64-linux-gnu/libkwin.so.5

I would recommend reporting this to the Mesa developers. See https://docs.mesa3d.org/bugs.html. Thanks!