Be super careful not to segfault in our handler.