Bug 456584

Summary: kwin crashed when switching windows
Product: [Plasma] kwin Reporter: Andrew <travneff>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: arpan.majumdar.dev, nate
Priority: NOR Keywords: drkonqi
Version: 5.25.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Andrew 2022-07-11 12:00:31 UTC
Application: kwin_x11 (5.25.2)

Qt Version: 5.15.3
Frameworks Version: 5.94.0
Operating System: Linux 5.18.5-200.fc36.x86_64+debug x86_64
Windowing System: X11
Distribution: "Fedora release 36 (Thirty Six)"
DrKonqi: 5.25.2 [KCrashBackend]

-- Information about the crash:
Did no special actions, just switched from one window to another.
I use quite old GPU together with Ryzen 3300X if matters:
$ lspci | grep VGA
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00007f185d68ec4c in __pthread_kill_implementation () at /lib64/libc.so.6
#5  0x00007f185d63e9c6 in raise () at /lib64/libc.so.6
#6  0x00007f185d6287f4 in abort () at /lib64/libc.so.6
#7  0x00007f185d62871b in _nl_load_domain.cold () at /lib64/libc.so.6
#8  0x00007f185d637576 in  () at /lib64/libc.so.6
#9  0x00007f185e78f90f in  () at /lib64/libepoxy.so.0
#10 0x00007f185e73d99a in epoxy_glDeleteFramebuffers_global_rewrite_ptr () at /lib64/libepoxy.so.0
#11 0x00007f185f57b9e3 in KWin::DeformEffect::unredirect(KWin::EffectWindow*) () at /lib64/libkwineffects.so.13
#12 0x000055d2bd6aec40 in KWin::WobblyWindowsEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::duration<long, std::ratio<1l, 1000l> >) ()
#13 0x00007f185fdedcab in KWin::EffectsHandlerImpl::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::duration<long, std::ratio<1l, 1000l> >) () at /lib64/libkwin.so.5
#14 0x00007f185fe64bb3 in KWin::Scene::preparePaintSimpleScreen() () at /lib64/libkwin.so.5
#15 0x00007f185fe6a3cd in KWin::Scene::prePaint(KWin::Output*) () at /lib64/libkwin.so.5
#16 0x00007f185fdbdce3 in KWin::Compositor::prePaintPass(KWin::RenderLayer*) () at /lib64/libkwin.so.5
#17 0x00007f185fdbf465 in KWin::Compositor::composite(KWin::RenderLoop*) () at /lib64/libkwin.so.5
#18 0x00007f185fdca2ee in KWin::X11Compositor::composite(KWin::RenderLoop*) () at /lib64/libkwin.so.5
#19 0x00007f185eadac36 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#20 0x00007f185fd86016 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) () at /lib64/libkwin.so.5
#21 0x00007f185fe57a07 in KWin::RenderLoopPrivate::dispatch() () at /lib64/libkwin.so.5
#22 0x00007f185eadac36 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#23 0x00007f185eaddfce in QTimer::timeout(QTimer::QPrivateSignal) () at /lib64/libQt5Core.so.5
#24 0x00007f185ead1525 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#25 0x00007f185dfaec82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#26 0x00007f185eaa7658 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#27 0x00007f185eaf7681 in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#28 0x00007f185eaf5c30 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#29 0x00007f184b51cec2 in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5XcbQpa.so.5
#30 0x00007f185eaa60ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#31 0x00007f185eaae162 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#32 0x000055d2bd63b2c1 in main ()
[Inferior 1 (process 2212) detached]

The reporter indicates this bug may be a duplicate of or related to bug 444665.

Reported using DrKonqi
Comment 1 Nate Graham 2022-07-13 20:19:17 UTC
#10 0x00007f185e73d99a in epoxy_glDeleteFramebuffers_global_rewrite_ptr () at /lib64/libepoxy.so.0
#11 0x00007f185f57b9e3 in KWin::DeformEffect::unredirect(KWin::EffectWindow*) () at /lib64/libkwineffects.so.13
#12 0x000055d2bd6aec40 in KWin::WobblyWindowsEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::duration<long, std::ratio<1l, 1000l> >) ()
#13 0x00007f185fdedcab in KWin::EffectsHandlerImpl::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::duration<long, std::ratio<1l, 1000l> >) () at /lib64/libkwin.so.5

Looks like it's the same as Bug 444665.

*** This bug has been marked as a duplicate of bug 444665 ***
Comment 2 Arpan Majumdar 2022-07-18 16:46:39 UTC
Created attachment 150710 [details]
New crash information added by DrKonqi

kwin_x11 (5.24.5) using Qt 5.15.3

- What I was doing when the application crashed:
Opened laptop after being suspended for a while and switched windows using Alt+Tab.

- Unusual behavior I noticed:
KWin crashed and screen flickers. Happens every time when I wake laptop from being suspended.


- Custom settings of the application:
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-41-generic (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
GPU: NVIDIA GeForce GTX 1060

-- Backtrace (Reduced):
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140344036821440) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=140344036821440) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=140344036821440, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007fa4691cc476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007fa4691b27f3 in __GI_abort () at ./stdlib/abort.c:79