dumps core on exit