deque segfaults