Attachment: debug_dunst.tar.gz
Description: Binary data

On 15 October 2017 at 05:19 GMT, Sebastien Marie wrote:
could you provide more debugging information ?

1) run the program with ktrace -di

$ ktrace -di dunst
Abort trap (core dumped)
$ kdump

(mostly the 100-last lines of kdump)

Attached file (within .tar.gz): kdump_dunst_tn100.out

2) recompile the port with debugging symbol, and extract the backtrace of the failure with gdb ?

$ cd /usr/ports/x11/dunst
$ make FETCH_PACKAGES=yes CFLAGS=-g
$ gdb /usr/ports/pobj/dunst-1.2.0/dunst-1.2.0/dunst
(gdb) run
...
Program received signal SIGABRT, Aborted.
(gdb) backtrace
Attached file (within .tar.gz): gdb_dunst.txt

OK, my inexperienced analysis is that I'm using icons in my dunstrc which
uses:
(a) /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so to load png icons. the latter call mmap(2) with protection "PROT_EXEC"
to load icons which failed since pledge(2) was already requested
without "prot_exec" promise.

I would guess that adding the line below into your dunstrc would
reproduce this problem.

 icon_folders = /usr/local/share/icons/gnome/16x16/status/

correct?

Thanks,
Thierry

Reply via email to