SUMMARY crash in nullptr singleton on master. I am not quite sure why the singleton is null though. keeps crashing in a loop STEPS TO REPRODUCE 1. replace kwin_x11 2. crash SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.240.0 Qt Version: 6.6.0 Kernel Version: 6.2.0-34-generic (64-bit) Graphics Platform: X11 Processors: 12 × AMD Ryzen 5 3600X 6-Core Processor Memory: 31,2 GiB of RAM Graphics Processor: AMD Radeon RX 5700 XT ADDITIONAL INFORMATION ✦ ❯ lldb-16 -- kwin_x11 --replace (lldb) target create "kwin_x11" Current executable set to '/usr/bin/kwin_x11' (x86_64). (lldb) settings set -- target.run-args "--replace" (lldb) r Process 95183 launched: '/usr/bin/kwin_x11' (x86_64) warning: (x86_64) /lib/x86_64-linux-gnu/libKF6Svg.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libQt6Concurrent.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libQt6Quick.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libQt6QmlModels.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libQt6Qml.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libQt6Network.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libQt6OpenGL.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libKF6WindowSystem.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libQt6Widgets.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libQt6DBus.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libQt6Gui.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libQt6Core.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libQt6Xml.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libQt6PrintSupport.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 kwin_x11(95183)/(qt.highdpi) unknown: Initializing high-DPI scaling kwin_x11(95183)/(qt.highdpi) unknown: environment variable set: QT_ENABLE_HIGHDPI_SCALING 0 kwin_x11(95183)/(qt.highdpi) unknown: Initialization done, high-DPI scaling is inactive warning: (x86_64) /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libQt6XcbQpa.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 kwin_x11(95183)/(qt.core.library) unknown: "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so" loaded library kwin_x11(95183)/(qt.highdpi) unknown: Updating high-DPI scaling kwin_x11(95183)/(qt.highdpi) unknown: Update done, high-DPI scaling is inactive warning: (x86_64) /lib/x86_64-linux-gnu/libQt6QuickControls2.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 warning: (x86_64) /lib/x86_64-linux-gnu/libQt6QuickTemplates2.so.6 unsupported DW_FORM values: 0x1f20 0x1f21 kwin_x11(95183)/(qt.core.library) unknown: "/usr/lib/x86_64-linux-gnu/qt6/plugins/platformthemes/KDEPlasmaPlatformTheme6.so" loaded library warning: (x86_64) /usr/lib/x86_64-linux-gnu/qt6/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so unsupported DW_FORM values: 0x1f20 0x1f21 kwin_x11(95183)/(qt.core.library) unknown: "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" loaded library warning: (x86_64) /usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so unsupported DW_FORM values: 0x1f20 0x1f21 kwin_x11(95183)/(qt.core.library) unknown: "/usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so" loaded library kwin_x11(95183)/(qt.core.library) unknown: "/usr/lib/x86_64-linux-gnu/qt6/plugins/styles/breeze6.so" loaded library kwin(95183)/(kwin_platform_x11_standalone) KWin::XInputIntegration::init: Has XInput support 2 . 2 kwin(95183)/(kwin_core) KWin::Xcb::Extensions::init: Extensions: shape: 0x "11" composite: 0x "4" render: 0x "b" fixes: 0x "50" randr: 0x "14" sync: 0x "31" damage: 0x "11" kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: created compose table from locale en_US.UTF-8 with path /usr/share/X11/locale/en_US.UTF-8/Compose kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: Compiling from RMLVO: rules 'evdev', model 'pc104', layout 'us', variant '', options '(null)' kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: Compiling from KcCGST: keycodes 'evdev+aliases(qwerty)', types 'complete', compat 'complete', symbols 'pc+us+inet(evdev)' kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: Compiling xkb_keycodes "(unnamed)" kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: Compiling xkb_types "(unnamed)" kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: Compiling xkb_compatibility "(unnamed)" kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: The "group" statement in compat is unsupported; Ignored kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: The "group" statement in compat is unsupported; Ignored kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: The "group" statement in compat is unsupported; Ignored kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: The "indicatorDrivesKeyboard" field in indicator statements is unsupported; Ignored kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: Indicator name "Shift Lock" was not declared in the keycodes section; Adding new indicator kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: Indicator name "Group 2" was not declared in the keycodes section; Adding new indicator kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: Indicator name "Mouse Keys" was not declared in the keycodes section; Adding new indicator kwin(95183)/(kwin_xkbcommon) KWin::xkbLogHandler: XKB: Compiling xkb_symbols "(unnamed)" kwin(95183)/(qt.core.library) unknown: "/usr/lib/x86_64-linux-gnu/qt6/plugins/org.kde.kdecoration2/org.kde.breeze.so" loaded library kwin(95183)/(kwin_decorations) KWin::Decoration::DecorationBridge::initPlugin: Trying to load decoration plugin: "/usr/lib/x86_64-linux-gnu/qt6/plugins/org.kde.kdecoration2/org.kde.breeze.so" warning: (x86_64) /usr/lib/x86_64-linux-gnu/qt6/plugins/kf6/kwindowsystem/KF6WindowSystemX11Plugin.so unsupported DW_FORM values: 0x1f20 0x1f21 kwin(95183)/(qt.core.library) unknown: "/usr/lib/x86_64-linux-gnu/qt6/plugins/kf6/kwindowsystem/KF6WindowSystemX11Plugin.so" loaded library kwin(95183)/(kf.windowsystem) loadPlugin: Loaded plugin "/usr/lib/x86_64-linux-gnu/qt6/plugins/kf6/kwindowsystem/KF6WindowSystemX11Plugin.so" for platform "xcb" kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, ASN: 4294967295 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, final: KWin::X11Window(0x555556329bb0, caption="Desktop @ QRect(0,0 1920x1080)") : 4294967295 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, ASN: 3004009 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, final: KWin::X11Window(0x555555cfe140, caption="Passwords.kdbx [Locked] - KeePassXC") : 3004009 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, ASN: 4294967295 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, final: KWin::X11Window(0x555556335720, caption="Telegram (1994)") : 4294967295 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, ASN: 3007953 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, final: KWin::X11Window(0x5555563517a0, caption="Friends - Discord") : 3007953 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, ASN: 3012332 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, final: KWin::X11Window(0x555556351ef0, caption="Element * | KDE neon Development") : 3012332 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, ASN: 4516575 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, final: KWin::X11Window(0x555556352640, caption="Suchergebnis Auf Amazon.de Für: Rollen M8 Leise - Mit Prime Bestellbar — Mozilla Firefox") : 4516575 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, ASN: 4629790 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, final: KWin::X11Window(0x5555563837a0, caption="window.cpp - kwin - Visual Studio Code") : 4629790 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, ASN: 4638590 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, final: KWin::X11Window(0x555556383ef0, caption="kconfigwatcher.h - kconfig - Visual Studio Code") : 4638590 kwin(95183)/(kwin_core) KWin::RuleBook::find: Rule found: [ "Application settings for org.wezfurlong.wezterm" : "org.wezfurlong.wezterm" ] : KWin::X11Window(0x555556384640, caption="[1/3] lldb") kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, ASN: 4294967295 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, final: KWin::X11Window(0x555556384640, caption="[1/3] lldb") : 4294967295 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, ASN: 4562570 kwin(95183)/(kwin_core) KWin::X11Window::readUserTimeMapTimestamp: User timestamp, final: KWin::X11Window(0x555556385f10, caption="plasmashell") : 4562570 kwin(95183)/(qt.core.library) unknown: "/usr/lib/x86_64-linux-gnu/qt6/plugins/kwin/plugins/buttonsrebind.so" loaded library kwin(95183)/(qt.core.library) unknown: "/usr/lib/x86_64-linux-gnu/qt6/plugins/kwin/plugins/colordintegration.so" loaded library kwin(95183)/(qt.core.library) unknown: "/usr/lib/x86_64-linux-gnu/qt6/plugins/kwin/plugins/nightcolor.so" loaded library kwin(95183)/(qt.core.library) unknown: "/usr/lib/x86_64-linux-gnu/qt6/plugins/kwin/plugins/StickyKeysPlugin.so" loaded library kwin(95183)/(qt.core.library) unknown: "/usr/lib/x86_64-linux-gnu/qt6/plugins/kwin/plugins/screencast.so" loaded library kwin(95183)/(qt.core.library) unknown: "/usr/lib/x86_64-linux-gnu/qt6/plugins/kwin/plugins/krunnerintegration.so" loaded library kwin(95183)/(kwin_core) KWin::X11Compositor::start: Attempting to load the OpenGL scene kwin(95183)/(kwin_platform_x11_standalone) KWin::GlxBackend::initFbConfig: Choosing GLXFBConfig 0x22d X visual 0x58c depth 24 RGBA 8:8:8:0 ZS 0:0 sRGB: 1 kwin(95183)/(kwin_platform_x11_standalone) KWin::GlxContext::create: Global share context format: QSurfaceFormat(version 4.6, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions|ResetNotification), depthBufferSize 0, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 0, samples -1, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 0, colorSpace QColorSpace(), profile QSurfaceFormat::CompatibilityProfile) kwin(95183)/(qt.nativeinterface) unknown: Comparing requested interface name QGLXContext with available QGLXContext kwin(95183)/(qt.nativeinterface) unknown: Match for interface QGLXContext. Comparing revisions (requested 1 / available 1) kwin(95183)/(qt.nativeinterface) unknown: Full match. Returning dynamic cast of 0x5555559811d0 kwin(95183)/(kwin_platform_x11_standalone) KWin::GlxContext::create: Created GLX context with attributes: Version requested: true Version: 3.1 Robust: true Reset on video memory purge: false Forward compatible: false Core profile: false Compatibility profile: false High priority: false kwin(95183)/(default) KWin::print: OpenGL vendor string: AMD kwin(95183)/(default) KWin::print: OpenGL renderer string: AMD Radeon RX 5700 XT (navi10, LLVM 15.0.7, DRM 3.49, 6.2.0-34-generic) kwin(95183)/(default) KWin::print: OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1 kwin(95183)/(default) KWin::print: OpenGL shading language version string: 4.60 kwin(95183)/(default) KWin::print: Driver: Unknown kwin(95183)/(default) KWin::print: GPU class: Unknown kwin(95183)/(default) KWin::print: OpenGL version: 4.6 kwin(95183)/(default) KWin::print: GLSL version: 4.60 kwin(95183)/(default) KWin::print: Mesa version: 23.0.4 kwin(95183)/(default) KWin::print: Requires strict binding: yes kwin(95183)/(default) KWin::print: Virtual Machine: no kwin(95183)/(default) KWin::print: Timer query support: yes kwin(95183)/(kwin_core) KWin::X11Compositor::attemptOpenGLCompositing: OpenGL compositing has been successfully initialized kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "blendchanges" kwin(95183)/(libkwinglutils) KWin::initDebugOutput()::(anonymous class)::operator(): 0x1: Shader Stats: SGPRS: 32 VGPRS: 16 Code Size: 396 LDS: 0 Scratch: 0 Max Waves: 20 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Outputs: 1 PatchOutputs: 0 DivergentLoop: 0 InlineUniforms: 0 (VS, W32) kwin(95183)/(libkwinglutils) KWin::initDebugOutput()::(anonymous class)::operator(): 0x1: Shader Stats: SGPRS: 24 VGPRS: 24 Code Size: 324 LDS: 0 Scratch: 0 Max Waves: 20 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Outputs: 1 PatchOutputs: 0 DivergentLoop: 0 InlineUniforms: 0 (PS, W64) kwin(95183)/(libkwinglutils) KWin::initDebugOutput()::(anonymous class)::operator(): 0x1: Shader Stats: SGPRS: 32 VGPRS: 16 Code Size: 376 LDS: 0 Scratch: 0 Max Waves: 20 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Outputs: 0 PatchOutputs: 0 DivergentLoop: 0 InlineUniforms: 0 (VS, W32) kwin(95183)/(libkwinglutils) KWin::initDebugOutput()::(anonymous class)::operator(): 0x1: Shader Stats: SGPRS: 24 VGPRS: 16 Code Size: 144 LDS: 0 Scratch: 0 Max Waves: 20 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Outputs: 1 PatchOutputs: 0 DivergentLoop: 0 InlineUniforms: 0 (PS, W32) kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "blur" kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "colorpicker" kwin(95183)/(libkwinglutils) KWin::initDebugOutput()::(anonymous class)::operator(): 0x1: Shader Stats: SGPRS: 32 VGPRS: 16 Code Size: 468 LDS: 0 Scratch: 0 Max Waves: 20 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Outputs: 1 PatchOutputs: 0 DivergentLoop: 0 InlineUniforms: 0 (VS, W32) kwin(95183)/(libkwinglutils) KWin::initDebugOutput()::(anonymous class)::operator(): 0x1: Shader Stats: SGPRS: 24 VGPRS: 28 Code Size: 460 LDS: 0 Scratch: 0 Max Waves: 18 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Outputs: 1 PatchOutputs: 0 DivergentLoop: 0 InlineUniforms: 0 (PS, W64) kwin(95183)/(libkwinglutils) KWin::initDebugOutput()::(anonymous class)::operator(): 0x1: Shader Stats: SGPRS: 32 VGPRS: 20 Code Size: 452 LDS: 0 Scratch: 0 Max Waves: 20 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Outputs: 1 PatchOutputs: 0 DivergentLoop: 0 InlineUniforms: 1 (PS, W64) kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "contrast" kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "highlightwindow" kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "kscreen" kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "outputlocator" kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "overview" kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "screenedge" kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "screenshot" kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Effect is not supported: "screentransform" kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "slide" kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "slidingpopups" kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "startupfeedback" kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "tileseditor" kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "windowview" kwin(95183)/(kwin_core) KWin::PluginEffectLoader::loadEffect: Successfully loaded plugin effect: "zoom" kwin(95183)/(kwin_platform_x11_standalone) KWin::GlxBackend::infoForVisual: Using FBConfig 0x1b3 for visual 0x512 kwin(95183)/(libkwinglutils) KWin::initDebugOutput()::(anonymous class)::operator(): 0x1: Shader Stats: SGPRS: 24 VGPRS: 8 Code Size: 76 LDS: 0 Scratch: 0 Max Waves: 20 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Outputs: 1 PatchOutputs: 0 DivergentLoop: 0 InlineUniforms: 0 (PS, W64) kwin(95183)/(libkwinglutils) KWin::initDebugOutput()::(anonymous class)::operator(): 0x1: Shader Stats: SGPRS: 32 VGPRS: 16 Code Size: 412 LDS: 0 Scratch: 0 Max Waves: 20 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Outputs: 1 PatchOutputs: 0 DivergentLoop: 0 InlineUniforms: 0 (VS, W32) kwin(95183)/(libkwinglutils) KWin::initDebugOutput()::(anonymous class)::operator(): 0x1: Shader Stats: SGPRS: 16 VGPRS: 12 Code Size: 68 LDS: 0 Scratch: 0 Max Waves: 20 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Outputs: 1 PatchOutputs: 0 DivergentLoop: 0 InlineUniforms: 0 (PS, W64) kwin(95183)/(libkwinglutils) KWin::initDebugOutput()::(anonymous class)::operator(): 0x1: Shader Stats: SGPRS: 24 VGPRS: 16 Code Size: 340 LDS: 0 Scratch: 0 Max Waves: 20 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Outputs: 1 PatchOutputs: 0 DivergentLoop: 0 InlineUniforms: 0 (VS, W32) kwin(95183)/(libkwinglutils) KWin::initDebugOutput()::(anonymous class)::operator(): 0x1: Shader Stats: SGPRS: 16 VGPRS: 8 Code Size: 40 LDS: 0 Scratch: 0 Max Waves: 20 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Outputs: 0 PatchOutputs: 0 DivergentLoop: 0 InlineUniforms: 0 (CS, W64) kwin(95183)/(kwin_platform_x11_standalone) KWin::GlxBackend::infoForVisual: Using FBConfig 0x1b3 for visual 0x512 kwin(95183)/(kwin_platform_x11_standalone) KWin::GlxBackend::infoForVisual: Using FBConfig 0x4bf for visual 0x6b5 kwin(95183)/(libkwinglutils) KWin::initDebugOutput()::(anonymous class)::operator(): 0x1: Shader Stats: SGPRS: 24 VGPRS: 8 Code Size: 152 LDS: 0 Scratch: 0 Max Waves: 20 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Outputs: 0 PatchOutputs: 0 DivergentLoop: 0 InlineUniforms: 0 (CS, W64) kwin(95183)/(libkwinglutils) KWin::initDebugOutput()::(anonymous class)::operator(): 0x1: Shader Stats: SGPRS: 24 VGPRS: 8 Code Size: 208 LDS: 0 Scratch: 0 Max Waves: 20 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Outputs: 1 PatchOutputs: 0 DivergentLoop: 0 InlineUniforms: 1 (PS, W64) Process 95183 stopped * thread #1, name = 'kwin_x11', stop reason = signal SIGSEGV: invalid address (fault address: 0x28) frame #0: 0x00007ffff7056bb4 libkwin.so.5`QWeakPointer<QObject>::internalData(this=0x0000000000000028) const at qsharedpointer_impl.h:704:18 701 // access a weak pointer's data but the weak pointer itself 702 inline T *internalData() const noexcept 703 { -> 704 return d == nullptr || d->strongref.loadRelaxed() == 0 ? nullptr : value; 705 } 706 707 Data *d; (lldb) bt * thread #1, name = 'kwin_x11', stop reason = signal SIGSEGV: invalid address (fault address: 0x28) * frame #0: 0x00007ffff7056bb4 libkwin.so.5`QWeakPointer<QObject>::internalData(this=0x0000000000000028) const at qsharedpointer_impl.h:704:18 frame #1: 0x00007ffff73461e5 libkwin.so.5`QPointer<KWin::VirtualDesktop>::data(this=0x0000000000000028) const at qpointer.h:57:33 frame #2: 0x00007ffff7344f15 libkwin.so.5`QPointer<KWin::VirtualDesktop>::operator KWin::VirtualDesktop*(this=0x0000000000000028) const at qpointer.h:65:14 frame #3: 0x00007ffff739e2e9 libkwin.so.5`KWin::VirtualDesktopManager::currentDesktop(this=0x0000000000000000) const at virtualdesktops.cpp:523:12 frame #4: 0x00007ffff73cc321 libkwin.so.5`KWin::Window::isOnCurrentDesktop(this=0x0000555556385f10) const at window.cpp:858:55 frame #5: 0x00007ffff72b1382 libkwin.so.5`KWin::WindowItem::computeVisibility(this=0x0000555555e9ea70) const at windowitem.cpp:154:20 frame #6: 0x00007ffff72b0d99 libkwin.so.5`KWin::WindowItem::updateVisibility(this=0x0000555555e9ea70) at windowitem.cpp:179:26 frame #7: 0x00007ffff72b1220 libkwin.so.5`KWin::WindowItem::unrefVisible(this=0x0000555555e9ea70, reason=1) at windowitem.cpp:125:5 frame #8: 0x00007ffff70ec140 libkwin.so.5`KWin::EffectWindowImpl::unrefVisible(this=0x00007fffe0015a70, holder=0x0000555556a490f0) at effects.cpp:1836:19 frame #9: 0x000055555566a9ee kwin_x11`KWin::EffectWindowVisibleRef::~EffectWindowVisibleRef(this=0x0000555556a490f0) at kwineffects.h:2700:23 frame #10: 0x00005555556fd3ea kwin_x11`KWin::SlidingPopupsEffect::Animation::~Animation(this=0x0000555556a490e8) at slidingpopups.h:79:12 frame #11: 0x00005555556fd3b9 kwin_x11`QHashPrivate::Node<KWin::EffectWindow*, KWin::SlidingPopupsEffect::Animation>::~Node(this=0x0000555556a490e0) at qhash.h:70:8 frame #12: 0x00005555556fd33a kwin_x11`QHashPrivate::Span<QHashPrivate::Node<KWin::EffectWindow*, KWin::SlidingPopupsEffect::Animation>>::freeData(this=0x00005555568a2888) at qhash.h:271:44 frame #13: 0x00005555556fd2a5 kwin_x11`QHashPrivate::Span<QHashPrivate::Node<KWin::EffectWindow*, KWin::SlidingPopupsEffect::Animation>>::~Span(this=0x00005555568a2888) at qhash.h:263:9 frame #14: 0x00005555556fd260 kwin_x11`QHashPrivate::Data<QHashPrivate::Node<KWin::EffectWindow*, KWin::SlidingPopupsEffect::Animation>>::~Data(this=0x00005555568a2850) at qhash.h:770:9 frame #15: 0x00005555556fc180 kwin_x11`QHash<KWin::EffectWindow*, KWin::SlidingPopupsEffect::Animation>::clear(this=0x0000555556869cc0) at qhash.h:952:13 frame #16: 0x00005555556f90be kwin_x11`KWin::SlidingPopupsEffect::~SlidingPopupsEffect(this=0x0000555556869c90) at slidingpopups.cpp:85:18 frame #17: 0x00005555556f9119 kwin_x11`KWin::SlidingPopupsEffect::~SlidingPopupsEffect(this=0x0000555556869c90) at slidingpopups.cpp:77:1 frame #18: 0x00007ffff70e4368 libkwin.so.5`KWin::EffectsHandlerImpl::destroyEffect(this=0x0000555555e94eb0, effect=0x0000555556869c90) at effects.cpp:1240:5 frame #19: 0x00007ffff70e41d6 libkwin.so.5`KWin::EffectsHandlerImpl::unloadAllEffects(this=0x0000555555e94eb0) at effects.cpp:252:9 frame #20: 0x00005555555c5927 kwin_x11`KWin::EffectsHandlerImplX11::~EffectsHandlerImplX11(this=0x0000555555e94eb0) at x11_standalone_effects.cpp:42:5 frame #21: 0x00005555555c5989 kwin_x11`KWin::EffectsHandlerImplX11::~EffectsHandlerImplX11(this=0x0000555555e94eb0) at x11_standalone_effects.cpp:34:1 frame #22: 0x00007ffff70277bc libkwin.so.5`KWin::X11Compositor::stop(this=0x0000555555be98d0) at compositor_x11.cpp:372:5 frame #23: 0x00007ffff70276d3 libkwin.so.5`KWin::X11Compositor::~X11Compositor(this=0x0000555555be98d0) at compositor_x11.cpp:102:5 frame #24: 0x00007ffff70279f9 libkwin.so.5`KWin::X11Compositor::~X11Compositor(this=0x0000555555be98d0) at compositor_x11.cpp:96:1 frame #25: 0x00007ffff71e4ac9 libkwin.so.5`KWin::Application::destroyCompositor(this=0x00007fffffffd488) at main.cpp:320:5 frame #26: 0x00005555555feaf3 kwin_x11`KWin::ApplicationX11::lostSelection(this=0x00007fffffffd488) at main_x11.cpp:244:5 frame #27: 0x0000555555603b74 kwin_x11`QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KWin::ApplicationX11::*)()>::call(f=b0 ea 5f 55 55 55 00 00 00 00 00 00 00 00 00 00, o=0x00007fffffffd488, arg=0x00007fffffffce78) at qobjectdefs_impl.h:145:13 frame #28: 0x0000555555603acd kwin_x11`void QtPrivate::FunctionPointer<void (KWin::ApplicationX11::*)()>::call<QtPrivate::List<>, void>(f=b0 ea 5f 55 55 55 00 00 00 00 00 00 00 00 00 00, o=0x00007fffffffd488, arg=0x00007fffffffce78) at qobjectdefs_impl.h:182:13 frame #29: 0x00005555556039f5 kwin_x11`QtPrivate::QCallableObject<void (KWin::ApplicationX11::*)(), QtPrivate::List<>, void>::impl(which=1, this_=0x0000555555bc5160, r=0x00007fffffffd488, a=0x00007fffffffce78, ret=0x0000000000000000) at qobjectdefs_impl.h:520:21 frame #30: 0x00007ffff3daffb7 libQt6Core.so.6`void doActivate<false>(QObject*, int, void**) + 919 frame #31: 0x00007ffff5abded0 libKF6WindowSystem.so.6`KSelectionOwner::filterEvent(void*) + 256 frame #32: 0x00007ffff3d56aef libQt6Core.so.6`QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long long*) + 127 frame #33: 0x00007fffef6bf8b5 libQt6XcbQpa.so.6`QXcbConnection::handleXcbEvent(xcb_generic_event_t*) + 101 frame #34: 0x00007fffef6c0e16 libQt6XcbQpa.so.6`QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 118 frame #35: 0x00007fffef6df587 libQt6XcbQpa.so.6`xcbSourceDispatch(_GSource*, int (*)(void*), void*) + 23 frame #36: 0x00007ffff2cbad3b libglib-2.0.so.0`g_main_context_dispatch + 619 frame #37: 0x00007ffff2d10258 libglib-2.0.so.0`___lldb_unnamed_symbol2709 + 488 frame #38: 0x00007ffff2cb83e3 libglib-2.0.so.0`g_main_context_iteration + 51 frame #39: 0x00007ffff3fb506e libQt6Core.so.6`QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 110 frame #40: 0x00007ffff3d66403 libQt6Core.so.6`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 307 frame #41: 0x00007ffff3d62366 libQt6Core.so.6`QCoreApplication::exec() + 150 frame #42: 0x00005555555ffd61 kwin_x11`main(argc=2, argv=0x00007fffffffd6f8) at main_x11.cpp:452:12 frame #43: 0x00007ffff3429d90 libc.so.6`__libc_start_call_main(main=(kwin_x11`main at main_x11.cpp:372), argc=2, argv=0x00007fffffffd6f8) at libc_start_call_main.h:58:16 frame #44: 0x00007ffff3429e40 libc.so.6`__libc_start_main_impl(main=(kwin_x11`main at main_x11.cpp:372), argc=2, argv=0x00007fffffffd6f8, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffd6e8) at libc-start.c:392:3 frame #45: 0x00005555555ab595 kwin_x11`_start + 37
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4562
Git commit aabc1626320624e55efefb44bc58430c232d5b7f by Vlad Zahorodnii. Committed on 14/11/2023 at 14:51. Pushed by vladz into branch 'master'. x11: Unload effects before destroying Workspace and Compositor Effects can hold references to closed windows, which can cause problems after the workspace is destroyed. This change makes ApplicationX11 unload effects before destroying the Workspace and the Compositor similar to how it's done in main_wayland. M +9 -0 src/main_x11.cpp https://invent.kde.org/plasma/kwin/-/commit/aabc1626320624e55efefb44bc58430c232d5b7f