Finally fixed the source of the SEGFAULT. Killing an entire workspace works correctly now.