client exit segfault debug