snapshot: print stack trace on segfault