Description Issue description:
The dunstify command crashes with a segmentation fault when the -r (replace) option is used.
Example command:
➜ dunstify -r " 9999" " foo" " bar"
zsh: segmentation fault (core dumped) dunstify -r " 9999" " foo" " bar"
➜ coredumpctl list dunstify
Sat 2025-02-22 18:29:41 IST 21990 1000 1000 SIGSEGV present /usr/bin/dunstify 396.4K
Installation info
Version: 1.12.1
Dunst - A customizable and lightweight notification-daemon 1.12.1 (2024-12-17)
Compiled on 2024-12-22 with the following options:
X11 support: enabled
Wayland support: enabled
SYSCONFDIR set to: /etc
Compiler flags: -g -std=gnu11 -pedantic -Wall -Wno-overlength-strings -Os -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/dunst/src=/usr/src/debug/dunst -flto=auto -pthread -MMD -MP
Linker flags: -lm -lrt -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lwayland-client -lwayland-cursor -lX11 -lXinerama -lXext -lXrandr -lXss
Install type: arch extras/dunst
Window manager / Desktop environment: qtile
Distro: Arch Linux
libnotify 0.8.4-1
Reactions are currently unavailable
You can’t perform that action at this time.
Issue description:
Installation info
Dunst - A customizable and lightweight notification-daemon 1.12.1 (2024-12-17)
Compiled on 2024-12-22 with the following options:
X11 support: enabled
Wayland support: enabled
SYSCONFDIR set to: /etc
Compiler flags: -g -std=gnu11 -pedantic -Wall -Wno-overlength-strings -Os -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/dunst/src=/usr/src/debug/dunst -flto=auto -pthread -MMD -MP
Linker flags: -lm -lrt -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lwayland-client -lwayland-cursor -lX11 -lXinerama -lXext -lXrandr -lXss