From c67db681ae7b5818676eda8b5e96b506190a5e3f Mon Sep 17 00:00:00 2001 From: XLor Date: Fri, 6 Oct 2023 00:42:38 -0500 Subject: [PATCH] fix: handle assert error --- src/catbox.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/catbox.rs b/src/catbox.rs index 5eb194f..55ac40b 100644 --- a/src/catbox.rs +++ b/src/catbox.rs @@ -311,7 +311,8 @@ pub fn run(option: &CatBoxOption) -> Result { | Signal::SIGILL | Signal::SIGSEGV | Signal::SIGSYS - | Signal::SIGXFSZ => { + | Signal::SIGXFSZ + | Signal::SIGABRT => { info!("Child process #{}. is stopped by {}", pid, signal); last_signal = Some(signal); ptrace::cont(pid, signal)?;