Bar.qml binding loop on cutoutPending/panelMode precedes repeated quickshell SIGSEGVs (4.5.0-3)
What happened
quickshell crashed with SIGSEGV three times today (16:25:57, 16:26:01, 17:30:52). Each time the shell's crash handler caught the fault, re-raised it, and the shell restarted. The 16:26 crash was within 10 seconds of launch, so the shell stopped restarting it automatically.
The journal shows the same QML binding loop logged 27 times between 16:00 and 17:31, starting at 16:03, and again right after the 17:30 restart:
WARN scene: QML BarPanel* at @plugins/bar/Bar.qml[1676:7]: Binding loop detected for property "cutoutPending":
WARN scene: QML BarPanel* at @plugins/bar/Bar.qml[1676:7]: Binding loop detected for property "panelMode":
qs:@/qs/plugins/bar/Bar.qml:1768:5 (cutoutPending)
qs:@/qs/plugins/bar/Bar.qml:1764:5 (panelMode)
The loop involves Bar.qml lines 751–766 (panelModeFor / notchFloor) and 1764–1775 (panelMode, centerBesideRight, cutoutPending, cutoutWaitOver).
Journal excerpt (user journal, hostname and LAN address redacted):
Nov 29 16:25:56 [hostname] omarchy-shell[1158]: ERROR: Quickshell has crashed under pid 14441
Nov 29 16:25:56 [hostname] omarchy-shell[1158]: WARN scene: QML BarPanel* at @plugins/bar/Bar.qml[1676:7]: Binding loop detected for property "cutoutPending":
Nov 29 16:25:56 [hostname] omarchy-shell[1158]: WARN scene: QML BarPanel* at @plugins/bar/Bar.qml[1676:7]: Binding loop detected for property "panelMode":
Nov 29 16:26:00 [hostname] omarchy-shell[1158]: ERROR: Quickshell has crashed under pid 15754
Nov 29 16:26:00 [hostname] omarchy-shell[1158]: ERROR: Quickshell crashed within 10 seconds of launching. Not restarting to avoid a crash loop.
Nov 29 17:30:52 [hostname] omarchy-shell[1171]: ERROR: Quickshell has crashed under pid 22086
Nov 29 17:30:53 [hostname] omarchy-shell[1171]: WARN scene: QML BarPanel* at @plugins/bar/Bar.qml[1676:7]: Binding loop detected for property "cutoutPending":
Backtrace (unsymbolized quickshell frames)
The crashing thread is in a repeating cycle through the QML engine:
QQmlBinding::doUpdate → QQmlBinding::slowWrite → QQmlNotifier::emitNotify → QQmlBinding::update → ...
The cycle repeats for about 119 frames, with QQmlPropertyPrivate::write in the chain. Frames below the signal handler are in quickshell, which has no symbols on debuginfod, so the exact faulting function is unknown.
Expected
Binding evaluation for panelMode and cutoutPending should settle without a loop, and the shell should not crash.
Steps to reproduce
Not reproduced deliberately. It happened on a single machine with a display cutout, during a normal session. Hardware: Apple Silicon (Asahi GPU driver).
System details
- Omarchy 4.5.0-3
- Quickshell 0.3.2.r7.g2b4501a-1 (rev 2b4501a)
- Qt 6.12.0
- Arch Linux ARM aarch64, kernel 7.2.11-14-1-ARCH
Not established
- I have not shown the binding loop causes the SIGSEGV. The link is inferred from timing and the stack shape.
- The 17:30 crash coincided with a PipeWire error on an effect convolver (start failed, EPERM). That may be the same teardown issue as #15838 rather than this loop, so I haven't claimed it here.
Filed by Claude Haiku 5.5 via Claude Code.
Update from the same machine (Asahi, Omarchy 4.5.0-3, Quickshell 0.3.2.r7.g2b4501a-1).
Workaround tested: I cloned the built-in bar to a local plugin (omarchy-plugin-clone omarchy.bar) and changed panelModeFor() to return the same object while the monitor's width, height and transform are unchanged. A fresh object on every evaluation is what notified panelMode, centerBesideRight and cutoutPending on each monitor update. With the clone active, there have been no Binding loop detected warnings and no Quickshell crashes since the shell settled at 17:40. This is a few minutes of observation, not a long-term result.
Startup transient still present: the built-in bar's BarPanel is still instantiated briefly at startup, before the registry selects the active bar. That logs five cutoutPending/panelMode binding-loop warnings each time the shell starts. The active-bar selection is in shell.qml (defaultBarLoader is active while activeBarId === defaultBarId), so the clone can't fix it. I haven't confirmed this is the cause of the crashes at startup.
I'll report back if crashes recur with the clone active.
I traced the bar bindings in v4.5.0 and quattro and checked a normal startup on an x86 worker without a display cutout. Startup produced neither warning nor crash there. Mapping the bar can cause Quickshell to re-evaluate the bindings, but the trace leaves the cause of the SIGSEGV open.
Could you share a symbolized Quickshell backtrace from one of the crashes, ideally one without the PipeWire error, and hyprctl monitors -j from the affected setup? If it happens again, please include any display change just before the crash and the full binding warnings with timestamps.
Codex (GPT‑6.2 Sol, High), Opus 5.5 High, and muse-wonder via pi (high thinking) reviewed the report. Both reviewers also found that the available trace leaves the cause open.