AvengeMedia / AvengeMedia/DankMaterialShell

Crash (Segfault) in QML engine when scrolling application menu

Open
#2,261 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
QML
Stars
8.1k
Forks
515
Avg merge
1d 8h
Merged PRs (30d)
102

Description

### Compositor

Niri

### Distribution

Arch Linux

### If Other, please specify

_No response_

### Select your Installation Method

Distro Packaging

### Was this your original Installation method?

Yes

### If no, specify

_No response_

### dms doctor -vC

Click to expand

## DMS Doctor Report

**System**
- [ok] Operating System: Arch Linux
- ID: arch, Version: rolling, Arch: amd64
- [ok] Architecture: amd64
- [ok] Display Server: Wayland
- WAYLAND_DISPLAY=wayland-1

**Versions**
- [ok] DMS CLI: dms v1.4.4.1
- /usr/bin/dms
- [warn] Quickshell: Quickshell 0.2.1 (revision 7c5a6c4bd4be1f258aa47626cf5cde02215adad2, distributed by AUR (package: quickshell-git))
- /usr/sbin/qs
- [ok] DMS Shell: v1.4.4
- /usr/share/quickshell/dms

**Installation**
- [ok] DMS Configuration: Found
- /usr/share/quickshell/dms
- [ok] shell.qml: Present
- /usr/share/quickshell/dms/shell.qml
- [info] Install Type: System package
- /usr/share/quickshell/dms

**Compositor**
- [ok] Hyprland: 0.54.3
- /usr/sbin/hyprland
- [ok] niri: 25.11
- /usr/sbin/niri
- [ok] Sway: 1.11
- /usr/sbin/sway
- [info] Active: niri

**Quickshell Features**
- [ok] Polkit: Available
- Authentication prompts
- [ok] IdleMonitor: Available
- Idle detection
- [ok] IdleInhibitor: Available
- Prevent idle/sleep
- [ok] ShortcutInhibitor: Available
- Allow shortcut management (niri)

**Optional Features**
- [ok] accountsservice: Available
- User accounts
- [ok] power-profiles-daemon: Available
- Power profile management
- [ok] logind: Available
- Session management
- [ok] cups-pk-helper: Available
- Printer management
- [info] I2C/DDC: No monitors detected
- External monitor brightness control
- [ok] qt6-imageformats: Installed (1 formats)
- Formats: GIF (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
- [ok] kimageformats: Installed (4 formats)
- Formats: AVIF, HEIF, JXL, EXR (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
- [ok] Terminal: kitty
- [ok] Network: NetworkManager
- NetworkManager present; iwd also running (likely NM's Wi-Fi backend). Using NM API.
- [ok] matugen: Installed
- Dynamic theming
- [ok] dgop: Installed
- System monitoring
- [ok] cava: Installed
- Audio visualizer
- [info] khal: Not installed
- Calendar events
- [ok] danksearch: Installed
- File search
- [info] fprintd: Not installed
- Fingerprint auth

**Config Files**
- [ok] settings.json: Present
- /home/wzy/.config/DankMaterialShell/settings.json
- [info] clsettings.json: Not yet created
- /home/wzy/.config/DankMaterialShell/clsettings.json
- [info] plugin_settings.json: Not yet created
- /home/wzy/.config/DankMaterialShell/plugin_settings.json
- [ok] session.json: Present
- /home/wzy/.local/state/DankMaterialShell/session.json
- [ok] dms-colors.json: Present
- /home/wzy/.cache/DankMaterialShell/dms-colors.json

**Services**
- [warn] dms.service: Disabled
- [info] greetd: Not installed
- Optional greeter service

**Environment**
- [info] QT_QPA_PLATFORMTHEME: gtk3
- [info] QS_ICON_THEME: Adwaita

---
**Summary:** 0 error(s), 2 warning(s), 29 ok

### Description

Quickshell crashed with a segmentation fault while scrolling through the application menu.

### Expected Behavior

_No response_

### Steps to Reproduce

The problem might be caused by my software shortcut, specifically the .desktop file, but I don't know which one, so I can't reproduce the issue on your devices.

### Error Messages/Logs

[log.qslog.log](https://github.com/user-attachments/files/27052509/log.qslog.log)
[report.txt](https://github.com/user-attachments/files/27052533/report.txt)

### Screenshots/Recordings

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by examining the attached log.qslog.log and report.txt, then inspect the reported .desktop files and reproduce the crash by scrolling the application menu. Done means the responsible application entry or menu path is identified and scrolling no longer causes Quickshell to segfault.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.