polonium: [Bug]: Crash / Segfault on window drag
Before you make the issue, confirm that
- You are running the master build from GitHub actions
- You have read the FAQ and the usage instructions
- You have searched pull requests and issues and have found none similar to your issue
- This problem comes from a failure in the tiling system and not a missing feature
Describe the bug
Hold shift + drag window crashes kwin about 50% of the time. On Plasma 6.0.0, kernel 6.7.6-arch1-2 (64-bit).
To reproduce
Hold shift, drag window.
Expected behavior
No crash.
Relevant log output
Mar 02 11:29:06 archlinux kwin_wayland[81800]: qml: Polonium DBG: Client google-chrome was moved out of a tile
Mar 02 11:29:06 archlinux kwin_wayland[81800]: qml: Polonium DBG: Removing client google-chrome from desktops {"desktop":"bc38e9c1-1cf4-4c87-85ab-3a934332bcf1","activity":"7b24ca0e-97d2-4415-abb7-673e0bffae17","output":"DP-8"}
Mar 02 11:29:06 archlinux kwin_wayland[81800]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"bc38e9c1-1cf4-4c87-85ab-3a934332bcf1","activity":"7b24ca0e-97d2-4415-abb7-673e0bffae17","output":"DP-8"}
Mar 02 11:29:06 archlinux kernel: kwin_wayland[81800]: segfault at 62fa4bce8bd0 ip 000062fa4bce8bd0 sp 00007ffdc9ae03e8 error 15 likely on CPU 15 (core 7, socket 0)
Mar 02 11:29:06 archlinux kernel: Code: 22 00 3a 00 22 00 44 00 50 00 2d 00 38 00 22 00 7d 00 00 00 10 4c fa 62 00 00 30 04 00 00 00 00 00 00 a1 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 1d 9e e7 fd e7 9a 16 00
Mar 02 11:29:06 archlinux systemd[1]: Started Process Core Dump (PID 82963/UID 0).
Mar 02 11:29:06 archlinux systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
Mar 02 11:29:06 archlinux systemd-coredump[82964]: [🡕] Process 81800 (kwin_wayland) of user 1000 dumped core.
Stack trace of thread 81800:
#0 0x000062fa4bce8bd0 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
Mar 02 11:29:07 archlinux systemd[1]: systemd-coredump@3-82963-0.service: Deactivated successfully.
Mar 02 11:29:07 archlinux plasmashell[82356]: Gdk-Message: 11:29:07.092: Error reading events from display: Broken pipe
Mar 02 11:29:07 archlinux kwin_wayland_wrapper[81938]: (EE) failed to read Wayland events: Broken pipe
Mar 02 11:29:07 archlinux drkonqi[80738]: The Wayland connection broke. Did the Wayland compositor die?
Mar 02 11:29:07 archlinux drkonqi[80738]: qt.qpa.wayland: Attempting wayland reconnect
Mar 02 11:29:07 archlinux dolphin[24258]: The Wayland connection broke. Did the Wayland compositor die?
Mar 02 11:29:07 archlinux konsole[82895]: The Wayland connection broke. Did the Wayland compositor die?
Mar 02 11:29:07 archlinux dolphin[24258]: qt.qpa.wayland: Attempting wayland reconnect
Mar 02 11:29:07 archlinux konsole[82895]: qt.qpa.wayland: Attempting wayland reconnect
Mar 02 11:29:07 archlinux plasmashell[81832]: The Wayland connection broke. Did the Wayland compositor die?
Mar 02 11:29:07 archlinux polkit-kde-authentication-agent-1[8818]: The Wayland connection broke. Did the Wayland compositor die?
Mar 02 11:29:07 archlinux polkit-kde-authentication-agent-1[8818]: qt.qpa.wayland: Attempting wayland reconnect
Mar 02 11:29:07 archlinux kwalletd6[8551]: The Wayland connection broke. Did the Wayland compositor die?
Mar 02 11:29:07 archlinux kwalletd6[8551]: qt.qpa.wayland: Attempting wayland reconnect
Mar 02 11:29:07 archlinux baloorunner[9298]: The Wayland connection broke. Did the Wayland compositor die?
Mar 02 11:29:07 archlinux DiscoverNotifier[8953]: The Wayland connection broke. Did the Wayland compositor die?
Mar 02 11:29:07 archlinux baloorunner[9298]: qt.qpa.wayland: Attempting wayland reconnect
Mar 02 11:29:07 archlinux DiscoverNotifier[8953]: qt.qpa.wayland: Attempting wayland reconnect
Mar 02 11:29:07 archlinux konsole[82895]: Failed to write to the pipe: Bad file descriptor.
Mar 02 11:29:07 archlinux baloorunner[9298]: Failed to write to the pipe: Bad file descriptor.
Mar 02 11:29:07 archlinux konsole[82895]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 02 11:29:07 archlinux baloorunner[9298]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 02 11:29:07 archlinux polkit-kde-authentication-agent-1[8818]: Failed to write to the pipe: Bad file descriptor.
Mar 02 11:29:07 archlinux polkit-kde-authentication-agent-1[8818]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 02 11:29:07 archlinux kwalletd6[8551]: Failed to write to the pipe: Bad file descriptor.
Mar 02 11:29:07 archlinux kwalletd6[8551]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 02 11:29:07 archlinux drkonqi[80738]: Failed to write to the pipe: Bad file descriptor.
Mar 02 11:29:07 archlinux DiscoverNotifier[8953]: Failed to write to the pipe: Bad file descriptor.
Mar 02 11:29:07 archlinux dolphin[24258]: Failed to write to the pipe: Bad file descriptor.
Mar 02 11:29:07 archlinux drkonqi[80738]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 02 11:29:07 archlinux DiscoverNotifier[8953]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 02 11:29:07 archlinux org_kde_powerdevil[8819]: The Wayland connection broke. Did the Wayland compositor die?
Mar 02 11:29:07 archlinux dolphin[24258]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 02 11:29:07 archlinux org_kde_powerdevil[8819]: qt.qpa.wayland: Attempting wayland reconnect
Mar 02 11:29:07 archlinux kactivitymanagerd[8815]: The Wayland connection broke. Did the Wayland compositor die?
Mar 02 11:29:07 archlinux kactivitymanagerd[8815]: qt.qpa.wayland: Attempting wayland reconnect
Mar 02 11:29:07 archlinux org_kde_powerdevil[8819]: Failed to write to the pipe: Bad file descriptor.
Mar 02 11:29:07 archlinux org_kde_powerdevil[8819]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 02 11:29:07 archlinux kded6[8716]: The Wayland connection broke. Did the Wayland compositor die?
Mar 02 11:29:07 archlinux kded6[8716]: qt.qpa.wayland: Attempting wayland reconnect
Mar 02 11:29:07 archlinux kded6[8716]: Failed to write to the pipe: Bad file descriptor.
Mar 02 11:29:07 archlinux kded6[8716]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 02 11:29:07 archlinux kactivitymanagerd[8815]: Failed to write to the pipe: Bad file descriptor.
Mar 02 11:29:07 archlinux kactivitymanagerd[8815]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 02 11:29:07 archlinux drkonqi[81836]: The Wayland connection broke. Did the Wayland compositor die?
Mar 02 11:29:07 archlinux drkonqi[81836]: qt.qpa.wayland: Attempting wayland reconnect
Mar 02 11:29:07 archlinux drkonqi[81836]: Failed to write to the pipe: Bad file descriptor.
Mar 02 11:29:07 archlinux drkonqi[81836]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 02 11:29:07 archlinux xembedsniproxy[81833]: The X11 connection broke (error 1). Did the X11 server die?
Mar 02 11:29:07 archlinux gmenudbusmenuproxy[81831]: The X11 connection broke (error 1). Did the X11 server die?
Mar 02 11:29:07 archlinux systemd[910]: plasma-gmenudbusmenuproxy.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 11:29:07 archlinux systemd[910]: plasma-gmenudbusmenuproxy.service: Failed with result 'exit-code'.
Mar 02 11:29:07 archlinux systemd[910]: plasma-xembedsniproxy.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 11:29:07 archlinux systemd[910]: plasma-xembedsniproxy.service: Failed with result 'exit-code'.
Mar 02 11:29:07 archlinux kioworker[82273]: Failed to write to the pipe: Bad file descriptor.
Mar 02 11:29:07 archlinux systemd[910]: plasma-plasmashell.service: Main process exited, code=exited, status=255/EXCEPTION
Mar 02 11:29:07 archlinux systemd[910]: plasma-plasmashell.service: Failed with result 'exit-code'.
Mar 02 11:29:07 archlinux systemd[910]: plasma-plasmashell.service: Consumed 4.903s CPU time.
Mar 02 11:29:07 archlinux kernel: ecryptfs_write_inode_size_to_header: Error writing file size to header; rc = [-4]
Mar 02 11:29:07 archlinux kernel: Error writing inode size to metadata; rc = [-4]
Mar 02 11:29:07 archlinux kwin_wayland[82969]: No backend specified, automatically choosing drm
Mar 02 11:29:07 archlinux kernel: [drm] Send DSC disable to synaptics
Mar 02 11:29:07 archlinux drkonqi-coredump-processor[82965]: "/usr/bin/kwin_wayland" 81800 "/var/lib/systemd/coredump/core.kwin_wayland.1000.0a90c8d638bb43f3b468792c3f174a99.81800.1709396946000000.zst"
Mar 02 11:29:07 archlinux systemd[910]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 3.
Mar 02 11:29:07 archlinux systemd[910]: plasma-xembedsniproxy.service: Scheduled restart job, restart counter is at 3.
Mar 02 11:29:07 archlinux systemd[910]: plasma-gmenudbusmenuproxy.service: Scheduled restart job, restart counter is at 3.
Mar 02 11:29:07 archlinux systemd[910]: Started Launch DrKonqi for a systemd-coredump crash (PID 82965/UID 0).
Mar 02 11:29:07 archlinux systemd[910]: Started Proxies GTK DBus menus to a Plasma readable format.
Mar 02 11:29:07 archlinux systemd[910]: Starting KDE Plasma Workspace...
Mar 02 11:29:07 archlinux systemd[910]: Started Handle legacy xembed system tray icons.
Mar 02 11:29:07 archlinux drkonqi-coredump-launcher[83003]: Unable to find file for pid 81800 expected at "kcrash-metadata/kwin_wayland.0a90c8d638bb43f3b468792c3f174a99.81800.ini"
Mar 02 11:29:07 archlinux systemd[1]: drkonqi-coredump-processor@3-82963-0.service: Deactivated successfully.
Mar 02 11:29:08 archlinux kwin_wayland[82969]: could not create a component for "org.kde.spectacle.desktop"
Mar 02 11:29:08 archlinux kwin_wayland[82969]: OpenGL vendor string: AMD
Mar 02 11:29:08 archlinux kwin_wayland[82969]: OpenGL renderer string: AMD Radeon Graphics (radeonsi, rembrandt, LLVM 16.0.6, DRM 3.57, 6.7.6-arch1-2)
Mar 02 11:29:08 archlinux kwin_wayland[82969]: OpenGL version string: 4.6 (Core Profile) Mesa 24.0.2-arch1.1
Mar 02 11:29:08 archlinux kwin_wayland[82969]: OpenGL shading language version string: 4.60
Mar 02 11:29:08 archlinux kwin_wayland[82969]: Driver: Unknown
Mar 02 11:29:08 archlinux kwin_wayland[82969]: GPU class: Unknown
Mar 02 11:29:08 archlinux kwin_wayland[82969]: OpenGL version: 4.6
Mar 02 11:29:08 archlinux kwin_wayland[82969]: GLSL version: 4.60
Mar 02 11:29:08 archlinux kwin_wayland[82969]: Mesa version: 24.0.2
Mar 02 11:29:08 archlinux kwin_wayland[82969]: Requires strict binding: no
Mar 02 11:29:08 archlinux kwin_wayland[82969]: Virtual Machine: no
Mar 02 11:29:08 archlinux kwin_wayland[82969]: Timer query support: yes
Mar 02 11:29:08 archlinux kwin_wayland[82969]: KPackageStructure of KPluginMetaData(pluginId:"alwaysopenonactivescreen", fileName: "/home/sam/.local/share/kwin/scripts/alwaysopenonactivescreen/metadata.json") does not match requested format "KWin/Script"
Mar 02 11:29:08 archlinux kwin_wayland[82969]: qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
Mar 02 11:29:08 archlinux kwin_wayland[82969]: qml: Polonium INF: Polonium started!
Mar 02 11:29:08 archlinux kwin_wayland[82969]: qml: Polonium DBG: Config is {"debug":true,"tilePopups":false,"filterProcess":["krunner","yakuake","kded","polkit","plasmashell","org.kde.plasmashell"],"filterCaption":[""],"timerDelay":102,"keepTiledBelow":false,"borders":3,"maximizeSingle":false,"resizeAmount":10,"engineType":0,"insertionPoint":1,"rotateLayout":false}
Mar 02 11:29:08 archlinux kwin_wayland_wrapper[83113]: (WW) Option "-listen" for file descriptors is deprecated
Mar 02 11:29:08 archlinux kwin_wayland_wrapper[83113]: Please use "-listenfd" instead.
Mar 02 11:29:08 archlinux kwin_wayland_wrapper[83113]: (WW) Option "-listen" for file descriptors is deprecated
Mar 02 11:29:08 archlinux kwin_wayland_wrapper[83113]: Please use "-listenfd" instead.
Mar 02 11:29:09 archlinux kernel: [drm] Send DSC enable to synaptics
Mar 02 11:29:09 archlinux systemd[910]: app-google\x2dchrome\x20\x283\x29-4401e9c2002c4281ab3678208c61d776.scope: Consumed 39.184s CPU time.
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86CameraAccessEnable
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86CameraAccessDisable
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86CameraAccessToggle
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86NextElement
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86PreviousElement
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86AutopilotEngageToggle
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86MarkWaypoint
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86Sos
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86NavChart
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86FishingChart
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86SingleRangeRadar
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86DualRangeRadar
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86RadarOverlay
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86TraditionalSonar
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86ClearvuSonar
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86SidevuSonar
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: > Warning: Could not resolve keysym XF86NavInfo
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83178]: Errors from xkbcomp are not fatal to the X server
Mar 02 11:29:09 archlinux kwin_wayland[82969]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Unsupported maximum keycode 708, clipping.
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > X11 cannot support keycodes above 255.
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86CameraAccessEnable
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86CameraAccessDisable
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86CameraAccessToggle
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86NextElement
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86PreviousElement
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86AutopilotEngageToggle
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86MarkWaypoint
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86Sos
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86NavChart
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86FishingChart
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86SingleRangeRadar
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86DualRangeRadar
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86RadarOverlay
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86TraditionalSonar
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86ClearvuSonar
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86SidevuSonar
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: > Warning: Could not resolve keysym XF86NavInfo
Mar 02 11:29:09 archlinux kwin_wayland_wrapper[83207]: Errors from xkbcomp are not fatal to the X server
Mar 02 11:29:09 archlinux drkonqi[83007]: kf5idletime_wayland: This plugin does not support polling idle time
Mar 02 11:29:09 archlinux kcminit[83219]: Initializing "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Mar 02 11:29:09 archlinux kcminit[83219]: Initializing "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_style.so"
Mar 02 11:29:09 archlinux systemd[910]: Started KDE Plasma Workspace.
Mar 02 11:29:09 archlinux plasmashell[83005]: KPackageStructure of KPluginMetaData(pluginId:"com.github.zren.commandoutput", fileName: "/home/sam/.local/share/plasma/plasmoids/com.github.zren.commandoutput/metadata.json") does not match requested format "Plasma/Applet"
Mar 02 11:29:09 archlinux plasmashell[83005]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.shutdownOrSwitch", fileName: "/home/sam/.local/share/plasma/plasmoids/org.kde.shutdownOrSwitch/metadata.json") does not match requested format "Plasma/Applet"
Mar 02 11:29:09 archlinux plasmashell[83005]: KPackageStructure of KPluginMetaData(pluginId:"org.zayronxio.vector.clock", fileName: "/home/sam/.local/share/plasma/plasmoids/org.zayronxio.vector.clock/metadata.json") does not match requested format "Plasma/Applet"
Mar 02 11:29:09 archlinux plasmashell[83005]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.Date.Bubble", fileName: "/home/sam/.local/share/plasma/plasmoids/org.kde.Date.Bubble/metadata.json") does not match requested format "Plasma/Applet"
Mar 02 11:29:09 archlinux kded6[8716]: Registering ":1.317/StatusNotifierItem" to system tray
Mar 02 11:29:09 archlinux plasmashell[83005]: kf.plasma.quick: Applet preload policy set to 1
Mar 02 11:29:09 archlinux plasmashell[83005]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Mar 02 11:29:09 archlinux plasmashell[83005]: qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
Mar 02 11:29:09 archlinux plasmashell[83005]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:14:1: QML WallpaperItem: grabToImage: item's window is not visible
Mar 02 11:29:10 archlinux plasmashell[83005]: kde.plasma.activitiesstats: [Error at ResultSetPrivate::initQuery]: QSqlError("11", "Unable to fetch row", "database disk image is malformed")
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"bc38e9c1-1cf4-4c87-85ab-3a934332bcf1","activity":"7b24ca0e-97d2-4415-abb7-673e0bffae17","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"a3170b24-26eb-4b7a-9e3f-3db4922f325b","activity":"7b24ca0e-97d2-4415-abb7-673e0bffae17","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"c1cf1b40-84ea-43a9-90e4-d6020b5ccdc9","activity":"7b24ca0e-97d2-4415-abb7-673e0bffae17","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"b3334e8a-92ce-427e-9e2c-6284b83732e0","activity":"7b24ca0e-97d2-4415-abb7-673e0bffae17","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"cd9a9eae-7755-4d2d-ae7e-8a4684e223bc","activity":"7b24ca0e-97d2-4415-abb7-673e0bffae17","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"86e15fd1-d604-4224-bdcc-7cf9dca573d8","activity":"7b24ca0e-97d2-4415-abb7-673e0bffae17","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"85a0e810-e9f2-4694-b912-fb89420ad63d","activity":"7b24ca0e-97d2-4415-abb7-673e0bffae17","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"a3c4c598-3d67-41bf-ae83-ed4f13642708","activity":"7b24ca0e-97d2-4415-abb7-673e0bffae17","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"bc38e9c1-1cf4-4c87-85ab-3a934332bcf1","activity":"13555a41-2c1a-488d-bdb1-d38051de7fc0","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"a3170b24-26eb-4b7a-9e3f-3db4922f325b","activity":"13555a41-2c1a-488d-bdb1-d38051de7fc0","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"c1cf1b40-84ea-43a9-90e4-d6020b5ccdc9","activity":"13555a41-2c1a-488d-bdb1-d38051de7fc0","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"b3334e8a-92ce-427e-9e2c-6284b83732e0","activity":"13555a41-2c1a-488d-bdb1-d38051de7fc0","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"cd9a9eae-7755-4d2d-ae7e-8a4684e223bc","activity":"13555a41-2c1a-488d-bdb1-d38051de7fc0","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"86e15fd1-d604-4224-bdcc-7cf9dca573d8","activity":"13555a41-2c1a-488d-bdb1-d38051de7fc0","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"85a0e810-e9f2-4694-b912-fb89420ad63d","activity":"13555a41-2c1a-488d-bdb1-d38051de7fc0","output":"DP-8"}
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"a3c4c598-3d67-41bf-ae83-ed4f13642708","activity":"13555a41-2c1a-488d-bdb1-d38051de7fc0","output":"DP-8"}
Mar 02 11:29:10 archlinux plasmashell[83005]: kde.plasma.activitiesstats: [Error at ResultSetPrivate::initQuery]: QSqlError("11", "Unable to fetch row", "database disk image is malformed")
Mar 02 11:29:10 archlinux plasmashell[83005]: kde.plasma.activitiesstats: [Error at ResultSetPrivate::initQuery]: QSqlError("11", "Unable to fetch row", "database disk image is malformed")
Mar 02 11:29:10 archlinux plasmashell[83005]: kde.plasma.activitiesstats: [Error at ResultSetPrivate::initQuery]: QSqlError("11", "Unable to fetch row", "database disk image is malformed")
Mar 02 11:29:10 archlinux plasmashell[83005]: kde.plasma.activitiesstats: [Error at ResultSetPrivate::initQuery]: QSqlError("11", "Unable to fetch row", "database disk image is malformed")
Mar 02 11:29:10 archlinux plasmashell[83005]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
Mar 02 11:29:10 archlinux plasmashell[83005]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
Mar 02 11:29:10 archlinux plasmashell[83005]: qt.qml.typeresolution.cycle: Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/ThumbnailStrip.qml"
Mar 02 11:29:10 archlinux plasmashell[83005]: qt.qml.typeresolution.cycle: Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
Mar 02 11:29:10 archlinux plasmashell[83005]: qml: SystemTray ItemLoader: Invalid state, cannot determine source!
Mar 02 11:29:10 archlinux xembedsniproxy[83006]: Qt: Session management error: Could not open network socket
Mar 02 11:29:10 archlinux gmenudbusmenuproxy[83004]: Qt: Session management error: Could not open network socket
Mar 02 11:29:10 archlinux plasmashell[83005]: qt.dbus.integration: Could not connect "org.cups.cupsd.Notifier" to PrinterFinishingsChanged(QString, QString, QString, uint, QString, bool) :
Mar 02 11:29:10 archlinux plasmashell[83005]: qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Error decoding: qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml?timestamp=1709396950766: Unsupported image format
Mar 02 11:29:10 archlinux plasmashell[83005]: qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Error decoding: qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml?timestamp=1709396950766: Unsupported image format
Mar 02 11:29:10 archlinux plasmashell[83005]: qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Error decoding: qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml?timestamp=1709396950766: Unsupported image format
Mar 02 11:29:10 archlinux systemd[910]: Started dbus-:1.2-org.kde.KSplash@4.service.
Mar 02 11:29:10 archlinux plasmashell[83005]: The cached device pixel ratio value was stale on window expose. Please file a QTBUG which explains how to reproduce.
Mar 02 11:29:10 archlinux plasmashell[83005]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Window plasmashell hooked into script
Mar 02 11:29:10 archlinux kwin_wayland[82969]: qml: Polonium DBG: Not tiling window plasmashell
Screenshots and videos
No response
Additional context
No response
About this issue
- Original URL
- State: closed
- Created 4 months ago
- Comments: 47 (17 by maintainers)
I think I’m getting to the root of this problem.
Kwin sends out signals for things like tile changes before it actually changes the tile. This can cause race issues as Kwin tries to update the tile layout while Polonium is working or has already finished rebuilding the layout. This can lead to assigning null for tiles, removing windows from nonexistant tiles, and creating tiles that don’t exist.
I really don’t know a way around this. I’ll keep experimenting with timers, but those seem to be inconsistent as well.
https://invent.kde.org/plasma/kwin/-/merge_requests/5493 A possible upstream fix has been found. Seems like a simple and non-controversial pr, so hopefully its merged and released soon.
Reopening this as there will probably be quite a few bug reports about this issue. Probably will pin as well.
@zeroxoneafour kwin dev here. we are trying to figure out why kwin crashes, but we have troubles reproducing the crash in the first place. if you have some details that can help us, please join https://webchat.kde.org/#/room/#kwin:kde.org
The issue is with dragging windows into tiles. There are a few different ways Kwin puts windows into tiles (an example is quick tiling) that may not all trigger a move resize event, or may not trigger it at the time necessary for Kwin to respond.
I’ll look into this solution over the weekend and see how it works out with the more complex callbacks.
It makes sense that Polonium would crash much more. Bismuth doesn’t use the Kwin API nearly as much as Polonium, and Polonium also uses lots of features that could be considered experimental or new. Plasma 6 probably is also much less stable right now than Plasma 5.
The key issue here is that Polonium shouldn’t be able to crash Kwin. If Javascript could crash a browser, there would be security vulnerabilities possible in every website. If a Python interpreter could core dump due to a script being ran, an attacker could exploit the system. Any crash in any script in Kwin needs to be fixed upstream.
It’s a packaging mistake, I marked the kwin package in extra-testing as out of date so it should be fixed sooner or later
just installed the latest kwin 6.0.3-1 from the testing repos (manually curled > sudo pacman -U) then rebooted but it made no difference trying to move a window still guarantees a segfault.
can confirm
does return kwin 6.0.3 anyone got it working?
Joined the matrix server and posted https://github.com/zeroxoneafour/kwin-crasher there
Here is what I found : https://invent.kde.org/plasma/kwin/-/commit/0ca7b40da0457e1ee5ce079d78d304c76b7592b5
It is quite similar to my case, the crash often happens when I try to drag or minimize a tiled window.
EDIT
OK, I found this had been merged. So why we still have the similar issues? Maybe I need to report another issue on upstream, after I encounter the same crash.
Will do today.