segfaults and handling/error timeouts