Bug 479355

Summary: KWIN crashes when changing the 'Prevent unwanted activities' setting.
Product: [Plasma] kwin Reporter: Dustin <kochdustin92>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.27.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dustin 2024-01-03 11:58:43 UTC
Application: kwin_x11 (5.27.5)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-13-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
KWIN crashes when this setting is changed.
Has been occurring frequently recently. The reasons are unknown.
Constantly reproducible with every setting in the drop-down menu.

General setting here:
Window activation on mouse touch.
Delay: 500ms
Windows are brought to the foreground when clicked.

What I noticed in advance and could somehow be related to this:
1) Newly opened windows are no longer in the foreground by default. Window class irrelevant. The opening animation is missing. Transition animation is missing (sliding backwards).
Afterwards and in general the animations are present.

2) When starting a WINE (& Lutris) application, the second screen flickers (goes off and on again)

3) (Occasionally, randomly) Independent change of screen resolution of secondary monitor (1440x900 max | currently 1152x921 changes to 1024x768)
Sometimes occurs after a restart or after booting up.
Regardless of whether it is an empty new installation or an installed system. Reduced resolution. Sits a little further away (irrelevant).

4) The standard bar of the main monitor (clock adjusted (date removed), height adjusted) is darkened in BugTrace windows. New occurrence.

5) KDE seems to be dismantling itself. More and more functions fail over several months. Also affects XFCE, Gnome, etc. Regardless of the distribution. This is extremely strange.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault

[KCrash Handler]
#4  0x000056438d696720 in ?? ()
#5  0x00007f09ecd32373 in KWin::Window::finishCompositing(KWin::ReleaseReason) () from /lib/x86_64-linux-gnu/libkwin.so.5
#6  0x00007f09ecd7db49 in KWin::X11Window::finishCompositing(KWin::ReleaseReason) () from /lib/x86_64-linux-gnu/libkwin.so.5
#7  0x00007f09ecbda762 in KWin::Compositor::stop() () from /lib/x86_64-linux-gnu/libkwin.so.5
#8  0x00007f09ecbd815f in KWin::Compositor::reinitialize() () from /lib/x86_64-linux-gnu/libkwin.so.5
#9  0x00007f09eaee8f4f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f09ecd53b4e in KWin::Workspace::slotReconfigure() () from /lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007f09eaee8f4f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f09eaeecd6a in QTimer::timeout(QTimer::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f09eaedd50d in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f09ea562fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f09eaeb16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f09eaf08c31 in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f09eaf094fc in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f09e8bd47a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f09e8bd4a38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f09e8bd4acc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f09eaf09836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f09eaeb017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f09eaeb82d6 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x000056438c7952d1 in ?? ()
#25 0x00007f09e9e461ca in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#26 0x00007f09e9e46285 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#27 0x000056438c7967b1 in ?? ()
[Inferior 1 (process 2869) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2024-02-15 23:31:08 UTC

*** This bug has been marked as a duplicate of bug 466380 ***