Build with debug flags (-g in Makefile)

Enable coredumps in your .xinitrc
ulimit -c unlimited

Wait until dwm segfaults
$ gdb --core=path/to/core dwm
> bt

Voila, you've got the bug's location.

Reply via email to