diff -Naur a/src/libmime/mime_parser.c b/src/libmime/mime_parser.c
--- a/src/libmime/mime_parser.c	2023-11-14 21:01:02.000000000 +0600
+++ b/src/libmime/mime_parser.c	2023-11-20 20:58:07.268062153 +0600
@@ -172,7 +172,7 @@
 	if (!rspamd_multipattern_compile(lib_ctx->mp_boundary, &err)) {
 		msg_err("fatal error: cannot compile multipattern for mime parser boundaries: %e", err);
 		g_error_free(err);
-		g_abort();
+		abort();
 	}
 	ottery_rand_bytes(lib_ctx->hkey, sizeof(lib_ctx->hkey));
 }
diff -Naur a/src/libserver/symcache/symcache_c.cxx b/src/libserver/symcache/symcache_c.cxx
--- a/src/libserver/symcache/symcache_c.cxx	2023-11-14 21:01:02.000000000 +0600
+++ b/src/libserver/symcache/symcache_c.cxx	2023-11-20 20:58:31.247890159 +0600
@@ -625,7 +625,7 @@
 						   "subsystem %s (%s)",
 						   static_item->symbol.c_str(), static_item->id,
 						   real_dyn_item->async_events, subsystem, loc);
-		g_abort();
+		abort();
 		g_assert_not_reached();
 	}
 
diff -Naur a/src/libserver/symcache/symcache_impl.cxx b/src/libserver/symcache/symcache_impl.cxx
--- a/src/libserver/symcache/symcache_impl.cxx	2023-11-14 21:01:02.000000000 +0600
+++ b/src/libserver/symcache/symcache_impl.cxx	2023-11-20 20:58:50.097754960 +0600
@@ -193,7 +193,7 @@
 				msg_err_cache(
 					"cannot register delayed condition for %s: virtual parent; qed",
 					delayed_cond.sym.c_str());
-				g_abort();
+				abort();
 			}
 
 			msg_debug_cache("added a condition to the symbol %s", it->symbol.c_str());
diff -Naur a/src/libutil/mem_pool.c b/src/libutil/mem_pool.c
--- a/src/libutil/mem_pool.c	2023-11-14 21:01:02.000000000 +0600
+++ b/src/libutil/mem_pool.c	2023-11-20 20:59:11.258603185 +0600
@@ -568,7 +568,7 @@
 
 		g_error("alloc_array: overflow %" G_GSIZE_FORMAT " * %" G_GSIZE_FORMAT "",
 				nmemb, size);
-		g_abort();
+		abort();
 	}
 	return memory_pool_alloc_common(pool, size * nmemb, alignment, RSPAMD_MEMPOOL_NORMAL, loc);
 }
