Bug 453021 - KWin crashes when using desktop grid
Summary: KWin crashes when using desktop grid
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: effects-desktop-grid (other bugs)
Version First Reported In: 5.23.5
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-04-25 20:31 UTC by Erik Quaeghebeur
Modified: 2022-06-18 04:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2022-04-25 20:31:04 UTC
Application: kwin_x11 (5.23.5)
 (Compiled from sources)
Qt Version: 5.15.3
Frameworks Version: 5.92.0
Operating System: Linux 5.15.32-gentoo-r1-a x86_64
Windowing System: X11
Distribution: Gentoo/Linux
DrKonqi: 5.23.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Switching back and forth between normal desktop view and the desktop grid effect, using an active border

The crash does not seem to be reproducible.

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

[KCrash Handler]
#4  0x00007c7449b9e0fe in QHash<KWin::EffectWindow*, KWin::WindowMotionManager::WindowMotion>::size (this=<optimized out>) at /usr/include/qt5/QtCore/qhash.h:283
#5  QHash<KWin::EffectWindow*, KWin::WindowMotionManager::WindowMotion>::keys (this=this@entry=0xf00000008) at /usr/include/qt5/QtCore/qhash.h:678
#6  0x00007c7449b99b7b in KWin::WindowMotionManager::managedWindows (this=0xf00000000) at /var/tmp/portage/kde-plasma/kwin-5.23.5-r1/work/kwin-5.23.5/src/libkwineffects/kwineffects.h:3342
#7  KWin::DesktopGridEffect::windowInputMouseEvent (this=0x6537bbb97130, e=<optimized out>) at /var/tmp/portage/kde-plasma/kwin-5.23.5-r1/work/kwin-5.23.5/src/effects/desktopgrid/desktopgrid.cpp:594
#8  0x00007c744b64ed6f in KWin::EffectsHandlerImpl::checkInputWindowEvent (this=<optimized out>, e=e@entry=0x7ffd430dfbb0) at /var/tmp/portage/kde-plasma/kwin-5.23.5-r1/work/kwin-5.23.5/src/effects.cpp:1248
#9  0x00007c743431235a in KWin::EffectsMouseInterceptionX11Filter::event (this=0x6537bc032a80, event=0x7c743c05d610) at /var/tmp/portage/kde-plasma/kwin-5.23.5-r1/work/kwin-5.23.5/src/plugins/platforms/x11/standalone/effects_mouse_interception_x11_filter.cpp:90
#10 0x00007c744b69ae74 in KWin::Application::dispatchEvent (this=<optimized out>, event=0x7c743c05d610) at /var/tmp/portage/kde-plasma/kwin-5.23.5-r1/work/kwin-5.23.5/src/main.cpp:475
#11 0x00007c744a49160c in QAbstractEventDispatcher::filterNativeEvent (this=<optimized out>, eventType=..., message=message@entry=0x7c743c05d610, result=result@entry=0x7ffd430dfdc8) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qabstracteventdispatcher.cpp:495
#12 0x00007c7444217441 in QXcbConnection::handleXcbEvent (this=this@entry=0x6537badab440, event=event@entry=0x7c743c05d610) at /var/tmp/portage/dev-qt/qtgui-5.15.3/work/qtbase-everywhere-src-5.15.3/src/plugins/platforms/xcb/qxcbconnection.cpp:536
#13 0x00007c7444218ba6 in QXcbConnection::processXcbEvents (this=0x6537badab440, flags=...) at /var/tmp/portage/dev-qt/qtgui-5.15.3/work/qtbase-everywhere-src-5.15.3/src/plugins/platforms/xcb/qxcbconnection.cpp:1020
#14 0x00007c744424013c in QXcbUnixEventDispatcher::processEvents (this=0x6537bae8feb0, flags=...) at /var/tmp/portage/dev-qt/qtgui-5.15.3/work/qtbase-everywhere-src-5.15.3/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:61
#15 0x00007c744a492b2b in QEventLoop::exec (this=this@entry=0x7ffd430dff10, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/include/QtCore/../../src/corelib/global/qflags.h:69
#16 0x00007c744a49b15d in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/include/QtCore/../../src/corelib/global/qflags.h:121
#17 0x00007c744a87e41c in QGuiApplication::exec () at /var/tmp/portage/dev-qt/qtgui-5.15.3/work/qtbase-everywhere-src-5.15.3/src/gui/kernel/qguiapplication.cpp:1867
#18 0x00007c744ae968e5 in QApplication::exec () at /var/tmp/portage/dev-qt/qtwidgets-5.15.3/work/qtbase-everywhere-src-5.15.3/src/widgets/kernel/qapplication.cpp:2829
#19 0x00006537b94dffc3 in main (argc=<optimized out>, argv=0x7ffd430e01f8) at /var/tmp/portage/kde-plasma/kwin-5.23.5-r1/work/kwin-5.23.5/src/main_x11.cpp:483
[Inferior 1 (process 1575) detached]

Possible duplicates by query: bug 439536, bug 437352, bug 434368, bug 431564, bug 429938.

Reported using DrKonqi
Comment 1 Nate Graham 2022-05-19 16:43:50 UTC
Can you reproduce this in the Plasma 5.25 beta (or the final release in a month)?
Comment 2 Erik Quaeghebeur 2022-05-19 19:26:55 UTC
(In reply to Nate Graham from comment #1)
> Can you reproduce this in the Plasma 5.25 beta (or the final release in a month)?
I can try it once it becomes stable on my distribution, which likely won't happen until a week or two after the 5.25.3 release or so. I have just tried, but haven't been able to reproduce it with 5.24.4. (As said in the original report, I do not know how to trigger it.)
Comment 3 Bug Janitor Service 2022-06-03 04:35:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-06-18 04:35:40 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!