add nice segfault reporting