quickshell icon indicating copy to clipboard operation
quickshell copied to clipboard

Quickshell crashes after monitor connect/disconnect

Open Keyruu opened this issue 1 month ago • 0 comments

General crash information

General information
===== Build Information =====
Git Revision: fc704e6b5d445899a1565955268c91942a4f263f
Buildtime Qt Version: 6.10.0
Build Type: RelWithDebInfo
Compiler: GNU (14.3.0)
Complie Flags:

Build configuration:
  Distributor: Official-Nix-Flake
  Distributor provided debuginfo: TRUE
  Disable precompild headers (dev): OFF
  Build tests (dev): OFF
  ASAN (dev): OFF
  Keep Frame Pointers (dev): OFF
  Crash Handling: TRUE
  Use jemalloc: TRUE
  Unix Sockets: ON
  Wayland: TRUE
    Wlroots Layer-Shell: ON
    Session Lock: ON
    Foreign Toplevel Management: ON
    Hyprland: TRUE
      Hyprland IPC: ON
      Hyprland Global Shortcuts: ON
      Hyprland Focus Grabbing: ON
      Hyprland Surface Extensions: ON
    Screencopy: TRUE
      Image Copy Capture: ON
      Wlroots Screencopy: ON
      Hyprland Toplevel Export: ON
  X11: ON
  I3/Sway: TRUE
    I3/Sway IPC: ON
  System Tray: ON
  PipeWire: TRUE
  Mpris: ON
  Pam: TRUE
  Polkit: TRUE
  Greetd: ON
  UPower: ON
  Notifications: ON
  Bluetooth: ON

===== Runtime Information =====
Runtime Qt Version: 6.10.0
Crashed process ID: 888284
Run ID: 1e2n2mp5t
Shell ID: cd35f6437ce513072936fffb46c0f0f1
Config Path: /nix/store/skc9208x4fyfn194vlizggqvbban1y7x-noctalia-shell-e84cc3fb62b98561315f5a8d013cd3b286852a59/share/noctalia-shell/shell.qml

===== Report Integrity =====
Minidump save status: 0
Log save status: 0
Binary copy status: 0

===== System Information =====

/etc/os-release:
ANSI_COLOR="0;38;2;126;186;228"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="25.11.20251102.b3d51a0"
CPE_NAME="cpe:/o:nixos:nixos:25.11"
DEFAULT_HOSTNAME=nixos
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
ID_LIKE=""
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 25.11 (Xantusia)"
SUPPORT_URL="https://nixos.org/community.html"
VARIANT=""
VARIANT_ID=""
VENDOR_NAME=NixOS
VENDOR_URL="https://nixos.org/"
VERSION="25.11 (Xantusia)"
VERSION_CODENAME=xantusia
VERSION_ID="25.11"

/etc/lsb-release:
DISTRIB_CODENAME=xantusia
DISTRIB_DESCRIPTION="NixOS 25.11 (Xantusia)"
DISTRIB_ID=nixos
DISTRIB_RELEASE="25.11"
LSB_VERSION="25.11 (Xantusia)"

What caused the crash

If I come back to my laptop and I have another monitor that was disconnected and my session is locked Quickshell crashes everytime. It sometimes also crashes if I just connect or disconnect a monitor.

Minidump

minidump.dmp.log

Log file

log.qslog.log

Configuration

I am using noctalia-shell with NixOS:

{
  config,
  pkgs,
  inputs,
  ...
}:
{
  imports = [
    inputs.noctalia.homeModules.default
  ];

  programs.noctalia-shell = {
    enable = true;
    systemd.enable = true;
    colors = {
      mError = "#f38ba8"; # red from waybar critical state
      mOnError = "#111111";
      mOnPrimary = "#111111";
      mOnSecondary = "#111111";
      mOnSurface = "#cdd6f4"; # main text color from waybar
      mOnSurfaceVariant = "#828282"; # muted text
      mOnTertiary = "#111111";
      mOutline = "#3c3c3c"; # subtle border
      mPrimary = "#4079d6"; # blue from waybar active workspaces
      mSecondary = "#89b4fa"; # lighter blue accent from waybar
      mShadow = "#000000";
      mSurface = "#111111"; # dark background
      mSurfaceVariant = "#1a1b26"; # slightly lighter background from waybar
      mTertiary = "#cdd6f4"; # keeping it simple with main text color
    };
    settings = {
      bar = {
        density = "default";
        position = "top";
        backgroundOpacity = 0;
        showCapsule = true;
        floating = true;
        widgets = {
          left = [
            {
              id = "ControlCenter";
              useDistroLogo = true;
            }
            {
              hideUnoccupied = false;
              id = "Workspace";
              labelMode = "none";
            }
            {
              id = "Taskbar";
              onlySameOutput = true;
              onlyActiveWorkspaces = true;
            }
            {
              id = "ActiveWindow";
              showIcon = false;
              scrollingMode = "hover";
              maxWidth = 500;
            }
          ];
          center = [
            {
              id = "MediaMini";
              maxWidth = 500;
              showVisualizer = true;
              showAlbumArt = true;
            }
          ];
          right = [
            {
              id = "Tray";
            }
            {
              id = "CustomButton";
              icon = "calendar";
              textCommand = "next-event | awk -v len=40 '{ if (length($0) > len) print substr($0, 1, len-3) \"...\"; else print; }'";
              textIntervalMs = 60000;
            }
            {
              id = "WiFi";
            }
            {
              id = "Bluetooth";
            }
            {
              id = "SystemMonitor";
              showCpuUsage = true;
              showCpuTemp = false;
              showMemoryUsage = true;
              showMemoryAsPercent = true;
              usePrimaryColor = false;
            }
            {
              alwaysShowPercentage = false;
              id = "Battery";
              warningThreshold = 30;
            }
            {
              id = "Volume";
            }
            {
              id = "Microphone";
            }
            {
              formatHorizontal = "dd.MM. HH:mm";
              formatVertical = "HH mm";
              id = "Clock";
              useMonospacedFont = true;
              usePrimaryColor = false;
            }
            {
              id = "CustomButton";
              icon = "bell";
              textCommand = "swaync-client -c";
              textIntervalMs = 2500;
              leftClickExec = "swaync-client -t -sw";
              rightClickExec = "swaync-client -C";
            }
          ];
        };
      };
      ui = {
        fontDefault = "JetBrainsMono Nerd Font";
        fontFixed = "JetBrainsMono Nerd Font";
        radiusRatio = 2;
      };
      # colorSchemes.predefinedScheme = "Noctalia (default)";
      general = {
        radiusRatio = 0.2;
      };
      wallpaper = {
        enabled = true;
        directory = ../themes;
        defaultWallpaper = ../themes/dark-bg.jpg;
      };
      notifications.enabled = false;
      location = {
        name = "Munich, Germany";
        firstDayOfWeek = 0;
      };
      dock.enabled = false;
    };
  };
}

Backtrace

(gdb) bt -full
#0  0x00007f9195df4320 in wl_proxy_get_listener () from /nix/store/sk1nyvzlzffrmk2xmy14rswyafhp7bz8-wayland-1.24.0/lib/libwayland-client.so.0
No symbol table info available.
#1  0x00007f9195d966f5 in QtWayland::wl_output::fromObject(wl_output*) () from /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/lib/libQt6WaylandClient.so.6
No symbol table info available.
#2  0x00007f9195d7a5cd in QtWaylandClient::QWaylandScreen::fromWlOutput(wl_output*) () from /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/lib/libQt6WaylandClient.so.6
No symbol table info available.
#3  0x00007f9195d80f73 in QtWaylandClient::QWaylandSurface::surface_enter(wl_output*) () from /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/lib/libQt6WaylandClient.so.6
No symbol table info available.
#4  0x00007f919563f052 in ffi_call_unix64 () from /nix/store/cyw33ds8cfwj1c6740llq1mzk4iinspp-libffi-3.5.2/lib/libffi.so.8
No symbol table info available.
#5  0x00007f919563d60d in ffi_call_int () from /nix/store/cyw33ds8cfwj1c6740llq1mzk4iinspp-libffi-3.5.2/lib/libffi.so.8
No symbol table info available.
#6  0x00007f919563e5ae in ffi_call () from /nix/store/cyw33ds8cfwj1c6740llq1mzk4iinspp-libffi-3.5.2/lib/libffi.so.8
No symbol table info available.
#7  0x00007f9195df883f in wl_closure_invoke () from /nix/store/sk1nyvzlzffrmk2xmy14rswyafhp7bz8-wayland-1.24.0/lib/libwayland-client.so.0
No symbol table info available.
#8  0x00007f9195df4091 in dispatch_event () from /nix/store/sk1nyvzlzffrmk2xmy14rswyafhp7bz8-wayland-1.24.0/lib/libwayland-client.so.0
No symbol table info available.
#9  0x00007f9195df5273 in wl_display_dispatch_queue_pending () from /nix/store/sk1nyvzlzffrmk2xmy14rswyafhp7bz8-wayland-1.24.0/lib/libwayland-client.so.0
No symbol table info available.
#10 0x00007f9195d54e42 in QtWaylandClient::EventThread::readAndDispatchEvents() () from /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/lib/libQt6WaylandClient.so.6
No symbol table info available.
#11 0x00007f9195d4d671 in QtWaylandClient::QWaylandDisplay::flushRequests() () from /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/lib/libQt6WaylandClient.so.6
No symbol table info available.
#12 0x00007f9192e2c018 in void doActivate<false>(QObject*, int, void**) () from /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/lib/libQt6Core.so.6
No symbol table info available.
#13 0x00007f91930fc6ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/lib/libQt6Core.so.6
No symbol table info available.
#14 0x00007f9192dcae93 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/lib/libQt6Core.so.6
No symbol table info available.
#15 0x00007f9192dc5d81 in QCoreApplication::exec() () from /nix/store/r7wdw4nkkjii690wwnzkgj68cg4shh2v-qtbase-6.10.0/lib/libQt6Core.so.6
No symbol table info available.
#16 0x000055e931d8d503 in qs::launch::launch(qs::launch::LaunchArgs const&, char**, QCoreApplication*) ()
No symbol table info available.
#17 0x000055e931d3e7fe in qs::launch::(anonymous namespace)::checkCrashRelaunch(char**, QCoreApplication*) [clone .cold] ()
No symbol table info available.
#18 0x000055e931d75cd2 in qs::launch::main(int, char**) ()
No symbol table info available.
#19 0x00007f919242a4d8 in __libc_start_call_main () from /nix/store/daamdpmaz2vjvna55ccrc30qw3qb8h6d-glibc-2.40-66/lib/libc.so.6
No symbol table info available.
#20 0x00007f919242a59b in __libc_start_main_impl () from /nix/store/daamdpmaz2vjvna55ccrc30qw3qb8h6d-glibc-2.40-66/lib/libc.so.6
No symbol table info available.
#21 0x000055e931d77845 in _start ()
No symbol table info available.

Executable

No response

Keyruu avatar Nov 14 '25 14:11 Keyruu