omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Shell SIGSEGV (Repeater delegate use-after-free) under NetworkManager AP churn on quickshell 0.3.1

Open Dandroid-D opened this issue 2 months ago • 2 comments

Crash summary: The Omarchy shell (quickshell -n -p /usr/share/omarchy/shell) hard-crashed with SIGSEGV (2026-09-20, single occurrence) during a bar click while NetworkManager access-point objects were churning heavily during scans. Backtrace: QQuickMouseArea::mouseReleaseEvent → JS handler → QQuickRepeater::setModel → regenerate() → delegate incubation → typeof name lookup hits freed memory in libQt6QmlModels (QQmlDelegateModel data). Classic model-churn use-after-free; the 19.7 MB crash log is dominated by NM AP add/update/remove events.

Environment: quickshell 0.3.1-1 (Arch extra, latest), Qt 6.11.2, omarchy 4.0.4-1, stock shell (pacman -Qkk omarchy → 0 altered files), Hyprland + amdgpu.

Handling worked: omarchy-launch-shell relaunched the shell ~2 min later and omarchy-crash-watch announced it — no manual intervention needed. Just filing so the crash class is tracked on the Omarchy side.

Upstream report with full backtrace excerpt: https://github.com/quickshell-mirror/quickshell/issues/1164

Post-v0.3.1 quickshell master contains plausible fixes (92cb8909 disconnect deleteLater'd QObjects, c6a51609 scriptmodel native-type comparison). Once quickshell cuts a release carrying them, a version bump here would close this out. Workaround in the meantime: quickshell-git from the AUR.

Dandroid-D avatar Sep 20 '26 07:09 Dandroid-D

Follow-up with a packaging heads-up: following this report I tried switching to omarchy/quickshell-git as a workaround, and the repo's latest build is 0.3.0.r20.g28771c7-3 (built 2026-09-04 from a 2026-08-02 master snapshot, commit 28771c7). That predates both the candidate fixes in quickshell-mirror/quickshell#1164 (92cb8909, 2026-09-13; c6a51609, 2026-09-15) — and it even predates the v0.3.1 release content that extra/quickshell 0.3.1 ships, so anyone "upgrading" from the release package to the repo's git package currently gets an effective downgrade without the crash fixes.

Since quickshell-git resolves to the omarchy binary repo before the AUR on a default install, a rebuild of that package from current master (HEAD c6a51609) would turn it into the one-command fix path for every affected Omarchy user.

Dandroid-D avatar Sep 20 '26 07:09 Dandroid-D

Quick update: Quickshell v0.3.2 includes both candidate fixes you found (92cb8909 and c6a51609), and it reached Arch extra as quickshell 0.3.2-1 on Oct 8. After you update, could you say whether the crash comes back under NetworkManager scan churn? If it doesn't, I think this can be closed. (Note that 0.3.2 arrived together with Qt 6.12, which has its own menu/bar rendering reports, e.g. #14635.)

jandrusk avatar Oct 12 '26 18:10 jandrusk