Skip to content

[BUG] Qt 6.10.1 crash in QSGThreadedRenderLoop::polishAndSync - SIGSEGV in QMetaObject::inherits #442

@flammablebunny

Description

@flammablebunny

General crash information

===== Build Information =====
Git Revision: 3918290c1bcd93ed81291844d9f1ed146672dbfc
Buildtime Qt Version: 6.10.1
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: FALSE
    I3/Sway IPC: OFF (Requires I3)
  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.1
Crashed process ID: 354332
Run ID: hty6jeeu7t
Shell ID: c5a786409a8f506605f663f9eb487fa8
Config Path: /nix/store/7sb8aik96ka6hda14fah2ws4xlm4b8kh-caelestia-shell-1.0.0/share/caelestia-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="26.05.20251221.a653104"
CPE_NAME="cpe:/o:nixos:nixos:26.05"
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 26.05 (Yarara)"
SUPPORT_URL="https://nixos.org/community.html"
VARIANT=""
VARIANT_ID=""
VENDOR_NAME=NixOS
VENDOR_URL="https://nixos.org/"
VERSION="26.05 (Yarara)"
VERSION_CODENAME=yarara
VERSION_ID="26.05"

/etc/lsb-release:
DISTRIB_CODENAME=yarara
DISTRIB_DESCRIPTION="NixOS 26.05 (Yarara)"
DISTRIB_ID=nixos
DISTRIB_RELEASE="26.05"
LSB_VERSION="26.05 (Yarara)"

Stack Trace:
#0 QMetaObject::inherits (libQt6Core.so.6)
#1 QQmlPropertyPrivate::write (libQt6Qml.so.6)
#2 QQmlPropertyToUnbindablePropertyBinding::update (libQt6Qml.so.6)
#3 QQDMIncubationTask::initializeRequiredProperties (libQt6QmlModels.so.6)
#4 QQmlDelegateModelPrivate::setInitialState (libQt6QmlModels.so.6)
#5 QQmlIncubatorPrivate::incubate (libQt6Qml.so.6)
#6 QQmlEnginePrivate::incubate (libQt6Qml.so.6)
#7 QQmlDelegateModelPrivate::object (libQt6QmlModels.so.6)
#8 QQuickItemViewPrivate::createItem (libQt6Quick.so.6)
#9 QQuickListViewPrivate::addVisibleItems (libQt6Quick.so.6)
#10 QQuickItemViewPrivate::refill (libQt6Quick.so.6)
#11 QQuickItemViewPrivate::layout (libQt6Quick.so.6)
#12 QQuickWindowPrivate::polishItems (libQt6Quick.so.6)
#13 QSGThreadedRenderLoop::polishAndSync (libQt6Quick.so.6)
#14 QQuickWindow::event (libQt6Quick.so.6)

What caused the crash

Qt Quickshell crashes randomly with SIGSEGV in QSGThreadedRenderLoop::polishAndSync during window expose/resize events.

The crash occurs in QMetaObject::inherits() called from QQmlPropertyPrivate::write() during QML delegate model item initialization.

Please Note this error message:

"QSGThreadedRenderLoop: expose event received for window with invalid geometry"
with geometry values of 18446744073709551615 (0xFFFFFFFFFFFFFFFF / -1 as unsigned).

Steps to Reproduce:

  1. Run Caelestia Quickshell on NixOS Yarara
  2. Interact with the UI (resize, focus changes, screen lock/unlock)
  3. Application crashes randomly during render loopSteps to Reproduce:

Minidump

minidump.dmp.log

Log file

log.qslog.log

Configuration

https://github.com/flammablebunny/nix-dotfiles

Backtrace

backtrace.txt

Executable

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcrash

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions