preemption segfault