From 9b38a4dbc8b7adfd64118eac40781d67219be0aa Mon Sep 17 00:00:00 2001 From: Arnaud Le Blanc Date: Fri, 20 May 2022 14:27:20 +0200 Subject: [PATCH] Panic with abort() --- Zend/zend_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 3511c48a76f5e..0ed2ee2a79aec 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -364,7 +364,7 @@ static ZEND_COLD ZEND_NORETURN void zend_mm_panic(const char *message) #if ZEND_DEBUG && defined(HAVE_KILL) && defined(HAVE_GETPID) kill(getpid(), SIGSEGV); #endif - exit(1); + abort(); } static ZEND_COLD ZEND_NORETURN void zend_mm_safe_error(zend_mm_heap *heap,