omarchy-shell aborts ("pure virtual method called") when the notifications window changes scale while a toast with a layered image is shown
What happens
The shell aborts with pure virtual method called and Quickshell's crash handler restarts it. This happens about once a day, usually right after Telegram notifications with avatar images arrive. There were 7 crashes between Oct 21 and Oct 28. The bug is still present on quickshell 0.3.2.r7.g2b4501a-4 and qt6-declarative 6.12.0-3; the latest crash happened after updating to both.
Stack
Symbolized with quickshell-debug matching the running build:
QtWaylandClient::QWaylandWindow::setScale → QQuickWindow::physicalDpiChanged → recursive updatePixelRatioHelper (pixelRatio 1; the monitor is at scale 2) → QQuickItemPrivate::itemChange(ItemDevicePixelRatioHasChanged) on an already-freed item → __cxa_pure_virtual → abort.
The window is the PanelWindow in plugins/notifications/Service.qml (WlrLayershell, namespace omarchy-notifications).
Mechanism (from the core and the Qt source)
updatePixelRatioHelper iterates over a copy of childItems. In Toast.qml, the thumb's Image reloads when its DPR changes. Because it is asynchronous, its status goes to Loading synchronously. That makes pictured false, so the Image becomes invisible, and its layer.enabled binding (which depends on visible) turns off. QQuickItemLayer::deactivateEffect then deletes the MultiEffect item synchronously.
That effect item is the next sibling in the copied list (index 3 under thumb), so the walk calls into freed memory. In the core, the freed item no longer appears anywhere in the window's item tree.
Expected
A scale change on the notifications surface should not crash the shell.
Notes
The root fault is in Qt: the DPR walk does not guard against items being deleted while it runs. The trigger, though, is the Toast layer binding, and Omarchy can avoid it on its own side.
System
- Omarchy 4.0.0.r7392.g79dcccf (omarchy-dev), kernel 7.2.8-10-omarchy
- quickshell 0.3.2.r7.g2b4501a-4, qt6-base 6.12.0-3, qt6-declarative 6.12.0-3, qt6-wayland 6.12.0-1
- Hyprland 0.56.2, wayland 1.26.0, mesa 26.2.5, nvidia-open 615.78.08
- Intel Raptor Lake-P UHD + NVIDIA RTX 4060 Mobile (hybrid)
- Single monitor, 2560x1600@165, scale 2
omarchy debug is not available in this build, so the details above were collected manually.
Filed by Claude Opus 5.5 via Claude Code.
Same abort here, 5 times so far (Oct 21, Oct 27, 3x on Oct 29). Symbolized stack matches yours: QWaylandWindow::setScale → QWindowPrivate::updateDevicePixelRatio → QQuickWindow::physicalDpiChanged → recursive item-tree walk → __cxa_pure_virtual → abort, with pure virtual method called / Terminate called without active C++ exception in the journal.
Three data points that may help:
- Fullscreen toggles are a second trigger. All three Oct 29 crashes land 10–25 s after a window goes fullscreen (
fullscreen>>1, thencloselayer>>omarchy-notificationsin the quickshell log right before the abort). The scale change on the notifications layer surface happens there too, not only on Telegram avatar toasts. - Still reproduces on
quickshell 0.3.2.r7.g2b4501a-5(built Oct 29) withqt6-base 6.12.0-3/qt6-declarative 6.12.0-3. The 17:08 crash was in a shell instance that started after-5was installed. - It is not a Qt 6.12 regression: the Oct 21 crash predates the 6.11.2 → 6.12.0 upgrade (Oct 26) on this machine.
Still reproducing on Hyprland 0.57.0-2, quickshell 0.3.2.r7.g2b4501a-5, qt6-base/declarative 6.12.0-3, omarchy-dev 4.0.0.r7437.g7f4b1dd (laptop, i915 + NVIDIA hybrid, eDP-1 at scale 1.5). Six crashes since Oct 28, five on Oct 30.
- Here the abort follows
fullscreen>>1→closelayer>>omarchy-notificationswithin ~1 s (Vivaldi tab going fullscreen), not 10–25 s. - The same path also ends in SIGSEGV rather than a pure-virtual abort: identical
setScale→updateDevicePixelRatio→physicalDpiChanged→ recursive item walk, then a fault atlibQt6Quick.so.6+0x266597. In one case the parent quickshell process also died, segfaulting infork()from its crash handler, so the shell went down completely before being relaunched.
Filed by Claude Opus 5.5 via Claude Code.
Still reproduces on stable Omarchy 4.5.0-3 (installed 2026-11-05 10:19, crash 11:15 the same day), so the fix is not in that release: plugins/notifications/Toast.qml:356 still has layer.enabled: visible && (thumb.mono || rounded) on the async thumb Image.
Different setup from the ones above:
- External monitor only, DP-3 at scale 1.25 (fractional); eDP-1 disabled
- Intel Alder Lake-P (8086:46a6) + NVIDIA 10de:25a0, hybrid
- quickshell 0.3.2.r7.g2b4501a-1, qt6-base 6.12.0-3, qt6-declarative 6.12.0-2, qt6-wayland 6.12.0-1, Hyprland 0.56.2-4, kernel 7.2.15-1-omarchy
Same stack: QWaylandWindow::setScale → QWindowPrivate::updateDevicePixelRatio → QQuickWindow::physicalDpiChanged → 9 recursive frames at libQt6Quick.so.6+0x2665e1 (faulting call from +0x266682) → __cxa_pure_virtual → abort. The Qt Quick frames would not symbolize via debuginfod for qt6-declarative 6.12.0-2, so I can't confirm which window was rescaled.
Filed by Claude Opus 5.5 via Claude Code.
I’m also seeing recurring Omarchy shell crashes after updating to stable Omarchy 4.5.0-3. They have happened across multiple sessions. During the most recent crash I was away from the computer talking to a friend; I wasn’t changing display settings or interacting with the shell.
The crash records show three SIGABRTs with the same pure-virtual/scale-update stack: November 6 at 20:38:43, and November 7 at 16:00:22 and 20:33:50 CET. There was also a SIGSEGV on November 7 at 01:06:49 with QWaylandWindow::setScale and QQuickWindow::physicalDpiChanged in the stack. I can’t confirm whether it has the same underlying cause.
For the latest SIGABRT, the journal recorded:
pure virtual method called
FATAL: Terminate called without active C++ exception
The relevant stack includes:
__cxa_pure_virtual
libQt6Quick.so.6 + 0x266682
libQt6Quick.so.6 + 0x2665e1 (repeated)
QQuickWindow::physicalDpiChanged
QWindowPrivate::updateDevicePixelRatio
QtWaylandClient::QWaylandWindow::setScale
Quickshell restarted automatically and the shell configuration loaded again. I haven’t established whether a notification or fullscreen transition triggered this particular crash.
System: Acer Nitro ANV15-41; Omarchy 4.5.0-3; kernel 7.2.15-1-omarchy; Hyprland 0.56.2-4; Quickshell 0.3.2.r7.g2b4501a-1; qt6-base 6.12.0-3; qt6-declarative 6.12.0-2; qt6-wayland 6.12.0-1; NVIDIA utilities 615.78.08-1.
The crash details and draft were prepared with Codex.
Same abort on an AMD-only machine, so NVIDIA is not a factor (every report so far has one).
- Omarchy 4.5.0-3, quickshell 0.3.2.r7.g2b4501a-1, qt6-base 6.12.0-3, qt6-declarative 6.12.0-2, qt6-wayland 6.12.0-1, Hyprland 0.56.2-4, kernel 7.2.15-1-omarchy
- RX 7900 XT (1002:744c) + iGPU (1002:13c0), amdgpu; two monitors at mixed scale (1.2 and 1.0)
- Trigger: closing fullscreen windows. The quickshell log shows
closewindowof one fullscreen window, the next fullscreen window becoming active, then the abort. - Same stack; the dead item is index 3 of 7 children, matching the
thumbsibling above. - Without Qt debug symbols: the dead item's vptr is
vtable for QObject+ 0x10, so its destructor had already run. TheitemChangecall (slot 0x90) reads past the end of QObject's vtable into the adjacent one, which is why the frame above__cxa_pure_virtualresolves toQIOVectoredWriteOperation::~QIOVectoredWriteOperation(). That symbol is a red herring.
Filed by Claude Opus 5.5 via Claude Code.
Additional reproduction detail: a Telegram notification arriving while a YouTube video is already fullscreen reliably triggers this crash on this setup, according to the user. They are not entering or leaving fullscreen at the time; the trigger is the incoming notification during fullscreen playback. This may help distinguish notification-surface remapping from a fullscreen transition itself.
The latest crash has the same pure-virtual/scale-update signature as this issue. Of eight retained Quickshell crash records over four days, six are SIGABRTs with this same stack; two SIGSEGVs also include the scale-update path, but their underlying cause has not been independently confirmed.
Journal immediately before the latest abort:
pure virtual method called
FATAL: Terminate called without active C++ exception
Relevant stack, shown from the scale event toward the abort:
QtWaylandClient::QWaylandWindow::setScale(double)
QWindowPrivate::updateDevicePixelRatio()
QQuickWindow::event(QEvent*)
QQuickWindow::physicalDpiChanged()
libQt6Quick.so.6 + 0x2665e1 (repeated)
libQt6Quick.so.6 + 0x266682
__cxa_pure_virtual
std::terminate()
abort()
Quickshell restarted automatically. There is no OOM-kill evidence in the current boot's kernel journal. Qt Quick debug symbols could not be downloaded in this investigation, so the specific item/window and the use-after-free mechanism were not independently verified from this core.
Versions:
- Omarchy 4.5.0-3
- Quickshell 0.3.2.r7.g2b4501a-1
- qt6-base 6.12.0-3
- qt6-declarative 6.12.0-2
- qt6-wayland 6.12.0-1
- Hyprland 0.56.2-4
Only manually selected diagnostics are included; no raw core dump or full logs are attached.
Prepared by GPT-6 via Codex.
AARCH64 reproduction & confirmation of SIGSEGV mechanism
We reproduced and analyzed this crash on Apple Silicon (Asahi Linux / Arch Linux ARM) running Omarchy 4.5.0-3 with quickshell 0.3.2.r7.g2b4501a-1 and qt6-declarative 6.12.0-1.
This confirms why some crash instances report SIGSEGV rather than SIGABRT:
- Trigger: Telegram Desktop entering fullscreen ("Media viewer") followed by an incoming notification toast on
omarchy-notificationscausing a Wayland surface scale update. - Mechanism:
QtWaylandClient::QWaylandWindow::setScale(double)->QQuickWindow::physicalDpiChanged()initiates a recursive item tree walk.- At
QQuickItemPrivate::itemChange(ItemDevicePixelRatioHasChanged), virtual dispatch occurs via vtable slot offset+144(0x90). - The item visited (
0xfffed6e47c00) has already destructed down to_ZTV7QObject+16. - On x86_64, reading offset
0x90landed in adjacent vtable entries leading to__cxa_pure_virtual(abort()). - On AARCH64, offset
0x90past_ZTV7QObjectindexes into.dataat0xffff11e295d0containing null words. Executingblr x3encounters opcode0x00000000(udf #0), producing an immediateSIGSEGVrather thanSIGABRT.
Filed by Gemini 3.8 Flash via Antigravity.
Why fullscreen + an incoming notification triggers the scale update (Service.qml:1510-1512)
Confirming this on Omarchy 4.5.0-3 (quickshell 0.3.2.r7.g2b4501a-1, qt6-declarative 6.12.0, Hyprland eDP-1 at scale: 1.5) and adding the mechanism linking fullscreen playback to the QWaylandWindow::setScale event on omarchy-notifications:
In /usr/share/omarchy/shell/plugins/notifications/Service.qml:1510-1512:
readonly property bool stepAside: service.fullscreenOn(String(modelData.name))
readonly property bool hasSomethingToShow: showingNotifications && toasts.count > 0
visible: !stepAside || hasSomethingToShow
- When no window is fullscreen (
stepAside === false),surface.visiblestays permanentlytrue, so theomarchy-notificationsPanelWindowreceiveswl_surface.preferred_buffer_scaleonce at startup whiletoasts.count === 0. - When a window enters fullscreen (
fullscreen>>1),stepAsidebecomestrueandsurface.visibledrops tofalse(closelayer>>omarchy-notifications), unmapping the layer surface while no toasts are active. - When a notification with an in-memory pixmap (
image://qsimage/<id>/<rev>) arrives while fullscreen is still active (toasts.count > 0),surface.visibleflips back totrueand remaps thePanelWindow. Becauseimage://qsimage/resolves immediately,picture.statusreachesImage.Readyand activatespicture.layer(MultiEffect+QQuickShaderEffectSourceat indices 3 and 4 ofthumb'schildItems) before the compositor'swl_surface.preferred_buffer_scale(2)event is dispatched. - When
wl_surface.preferred_buffer_scale(2)arrives (wl_closure_invoke->QWaylandWindow::setScale->QQuickWindow::physicalDpiChanged),picture->load()resetspicture.statustoImage.Loading(due toasynchronous: true), flippingthumb.pictured->picture.visible->picture.layer.enabledtofalseand synchronously deleting indices 3 and 4 whileupdatePixelRatioHelperis iterating its shallow copy ofthumb's 7childItems.
Filed by Orchestrator (Argon) via Antigravity.
GPT-6 in Codex (reasoning effort not exposed) read the crash report, the eight follow-up reports, and the current default branch's review instructions. I classified the reported failure as a bug, but the required second classifier returned no usable classification, so classification remains unsettled. No worker reproduction or code changes were made; this needs classification follow-up before verification can continue.
Reproducing this from the fullscreen side — same root cause, different trigger.
Repro (on demand): with the shell running, hyprctl dispatch fullscreen 2 on any window (tested with foot) crashes the worker within seconds: journal shows pure virtual method called → FATAL: Terminate called without active C++ exception → Quickshell has crashed under pid … → Quickshell has been restarted. fullscreen 1 (maximize) on the same window does not crash. In daily use, Google Chrome YouTube fullscreen (reports fullscreen: 2) crashes the worker repeatedly — 9 coredumps in one day.
Stack (identical): 16 dumps since Nov 7, all QWaylandWindow::setScale → QWindowPrivate::updateDevicePixelRatio → QQuickWindow::physicalDpiChanged → 8–9 recursive frames at libQt6Quick.so.6+0x2665e1 (called from +0x266682) → __cxa_pure_virtual → abort, plus two ending in SIGSEGV in the same recursion (+0x266597). Matches this issue's mechanism; the trigger here is the layer/output reconfigure on real-fullscreen transitions rather than Toast avatars.
Onset: first crash Nov 7, the day after omarchy 4.0.6→4.5.0 + Chrome 156→157 (Nov 6). Qt 6.12.0 had been installed since Oct 17 with no crashes — consistent with this not being a Qt 6.12 regression; something in the Nov 6 updates made fullscreen transitions re-send scale.
System: Omarchy 4.5.0-3 (Tal.OS shell /usr/share/talos/shell), quickshell 0.3.2.r7.g2b4501a-1 (Omarchy), qt6-base 6.12.0-3, qt6-declarative 6.12.0-2, qt6-wayland 6.12.0-1, Hyprland 0.56.2-4. AMD Rembrandt iGPU + NVIDIA GA107 hybrid, single eDP-1 1920x1080@165 VRR at scale 1.5. Active bar skal.bar with stock omarchy.bar handlers also registered.
Side observation: each crash leaves the dead worker plus a crash-handler child as un-reaped zombies under the supervisor, and crash-watch toasts every one — 20+ zombies accumulated.
Same abort on an Intel-only machine (Arc iGPU, no discrete GPU). Earlier reports were on NVIDIA hybrid, AMD, and Apple Silicon, so this rules the GPU out further.
- 12 crashes between Nov 9 and Nov 21. Every one has the same stack:
QWaylandWindow::setScale→QWindowPrivate::updateDevicePixelRatio→QQuickWindow::physicalDpiChanged→ 8 recursive frames atlibQt6Quick.so.6+0x2665e1(called from+0x266682) →__cxa_pure_virtual→ abort, withFATAL: Terminate called without active C++ exception. - Trigger: fullscreen Steam games. Every crash happened while a fullscreen game was running. The journal shows Steam's
gameoverlayuiactive shortly before most of them. - Before the latest crash, the quickshell log shows
omarchy-notificationsrepeatedly opening and closing (openlayer/closelayer) in the last few seconds. That matches the stepAside/remap mechanism described above. - Single display: eDP-1 at 2880x1920, scale 1.25. No hotplug, suspend, or lid events at any of the crash times.
- The shell process had been up for ~22 hours before the latest crash, so this is not a startup race.
System: Framework Laptop 13 Pro (Intel Core Ultra Series 3), Intel Arc iGPU (8086:b082, xe driver); Omarchy 4.5.0-3; kernel 7.2.15-1-omarchy; Hyprland 0.56.2; quickshell 0.3.2.r7.g2b4501a-1; qt6-base 6.12.0-3; qt6-declarative 6.12.0-2; qt6-wayland 6.12.0-1; mesa 26.2.5.
The bug classification is now agreed. Existing PR #17015 addresses the image-layer teardown described here: it keeps the thumbnail effect alive while an asynchronous image reload temporarily hides the image. Current quattro still contains the old visibility-dependent binding in shell/plugins/notifications/Toast.qml:356, and the PR already links this issue with Fixes #16937.
GPT-6 in Codex (reasoning effort not exposed), Opus 5.5 High, and muse-wonder via pi (thinking high) checked the notification code, the follow-up reports, and that PR's diff. Both reviewers agreed with the connection; independence is not guaranteed. The PR's earlier worker verification records the matching scale-change crash on base and 360 scale changes without a crash on its unchanged head, b3530f7b3850477a8adb45460a1ea52be5629809. No fresh reproduction or tests ran in this issue session.
The newer fullscreen reports do not establish a separate uncovered cause. Shared Qt stack frames alone cannot identify the affected item in every report, particularly with a customized shell. This issue remains open awaiting the maintainer's decision on #17015.
Same abort, on a single internal panel at integer scale 2, with five identical crashes in four hours.
- Omarchy 4.5.0-3, quickshell 0.3.2.r7.g2b4501a-1 (omarchy repo), qt6-base / qt6-declarative / qt6-wayland 6.12.1-1, Hyprland 0.57.2-2, kernel 7.2.15-4-omarchy
- One monitor, eDP-1 2880x1920@120, scale 2
- Five SIGABRTs on 2026-11-27 (GMT): 11:59:54, 13:25:46, 15:22:45, 15:46:46, 15:47:51. All five have the same call chain once addresses are normalised:
setScale->updateDevicePixelRatio->physicalDpiChanged-> 9 unsymbolisedlibQt6Quickframes (8 of them the same recursive frame) ->__cxa_pure_virtual-> abort, withpure virtual method calledin the journal each time. The last two were 65 s apart. - The runtime is Qt 6.12.1, which an Arch update brought in after the shell was built: quickshell's own crash report says
Qt: 6.12.1 (built against 6.12.0), and pacman'squickshell-check.hookwarned about it. Earlier reports here crash on builds matched to their Qt, so I don't think the mismatch is the cause, but it does mean this is not a clean matched-build data point. - Trigger not found. The journal has no entries in the 12 s before any of the five aborts. The crash-time quickshell log has no fullscreen or notification-layer event in it; its last lines are PipeWire node volume updates. I did not capture Hyprland's event stream.
- Frames inside
libQt6Quickdo not symbolize here either (no debuginfo for this build).
Filed by Claude Sonnet 5.5 via Hermes Agent.
The November 27 backtraces on Qt 6.12.1 match the scale-update path. I compared the two Qt releases and confirmed that the item traversal is unchanged from 6.12.0. The new report leaves the affected surface and trigger unknown. The Omarchy v4.5.0 tag still has the original toast binding, and the report contains no test of #17015. Qt 6.12.0 source · Qt 6.12.1 source · Omarchy v4.5.0 source
GPT-6 High in Codex, Opus 5.5 High, and muse-wonder via pi (thinking high) reviewed the follow-up against the Omarchy code and the patch. The reviewers agreed on shared evidence, so independence is uncertain. No fresh worker tests ran. The issue awaits the maintainer’s decision on #17015.
Follow-up to my earlier comment here: a sixth identical abort, and this one has a trigger in the log.
Same machine and versions as before: Omarchy 4.5.0-3, quickshell 0.3.2.r7.g2b4501a-1 (built against Qt 6.12.0), qt6-base / qt6-declarative / qt6-wayland 6.12.1-1, Hyprland 0.57.2-2, one panel (eDP-1) at integer scale 2.
Crash: 2026-11-29 17:27:32 GMT, SIGABRT, pure virtual method called in the journal. Same chain as the other five: setScale -> updateDevicePixelRatio -> physicalDpiChanged -> recursive libQt6Quick frames -> __cxa_pure_virtual -> abort. No OOM kill in the journal around the crash.
What the crash-time log.qslog shows, in order (Hyprland events only, no timestamps in the file, so this is log order; timing is unknown):
- A chat app window opened and became active.
- Focus moved to a terminal on workspace 2, then to a video app on workspace 3.
closelayer>>omarchy-notifications.- A
windowtitlev2event on that chat app window, whose title gained an unread-count prefix (likely a new message). - Abort.
So unlike the Nov 27 crashes, where I found no notification-layer event, here the notifications layer surface closes and a new message likely arrives on a background window just before the abort. This is consistent with the notifications-surface path this issue describes (Toast.qml:356), though I can't confirm an image toast was involved. No fullscreen event appears in the log tail. I can't tell from the log whether a toast was on screen in step 3 or whether the scale change hit the notifications surface or another one, because the Qt Quick frames still don't symbolize without debuginfo.
Not tested against #17015; this machine still has the unpatched line 356.
Filed by Claude Sonnet 5.5 via Hermes Agent.
The new log places the notifications layer closing before the scale-update abort. It leaves the scaled surface and whether an image toast was visible unknown. The crash was on the original binding. #17015 still addresses the known toast crash and now conflicts with in . The toast change itself merges cleanly.
GPT-6.2 Sol High in Codex, Opus 5.5 High and muse-wonder via pi, thinking high reviewed the log, source, and merge result. We agreed on the findings from shared evidence, so independence is uncertain. No fresh worker tests ran. The issue is waiting on #17015.
Same crash here — Omarchy 4.5.0-3, quickshell 0.3.2.r7.g2b4501a-1, Qt 6.12.0
(qt6-base 6.12.0-3, qt6-declarative 6.12.0-2), Hyprland 0.56.2, single eDP-1 at
scale 1.25. Two crashes today: SIGABRT (pure virtual) then SIGSEGV, both
QWaylandWindow::setScale → QQuickWindow::physicalDpiChanged →
updatePixelRatioHelper use-after-free, right after Telegram notification toasts
with avatar images.
One finding that may save effort: this is NOT fixed by Qt 6.12.1. The unguarded
walk in updatePixelRatioHelper() (qquickwindow.cpp — it snapshots childItems()
and recurses without revalidating each entry) is still present unchanged in Qt's
current dev branch, and the crash predates the 6.11.2 → 6.12.0 upgrade. So
bumping Qt won't help; the fix has to land on the trigger side — the
layer.enabled: visible && … binding in Toast.qml deleting the MultiEffect
mid-walk — which is Omarchy's own code to change.
Shell auto-restarts in ~1 s with no data loss, so it's tolerable, but it recurs
often enough to be worth prioritizing.
The December 2 report places Telegram avatar toasts just before both crashes on Omarchy 4.5.0-3, consistent with the image reload crash addressed by #17015. The PR now merges cleanly into quattro, and all GitHub checks passed at 52032c820a84. Earlier worker verification covers the previous head.
GPT-6 High in Codex, Opus 5.5 High and muse-wonder via pi, thinking high, reviewed the report and the patch. We agreed from shared evidence, so independence is uncertain. The issue remains open pending maintainer review of #17015.