dmenu displays but player segfaults when dmenu exits