CRASH in handle_sigreturn when app's handler was removed
handle_sigreturn references the app's handler, but the handler could have been removed after being invoked but before the handler function returns and executes sigreturn. This leads to a crash. We have seen this happen on a third-party app.