diff --git a/Libraries/LibC/stdlib.cpp b/Libraries/LibC/stdlib.cpp index 2a97e507da1..cc2d82da36e 100644 --- a/Libraries/LibC/stdlib.cpp +++ b/Libraries/LibC/stdlib.cpp @@ -222,8 +222,11 @@ int atexit(void (*handler)()) void abort() { + // For starters, send ourselves a SIGABRT. raise(SIGABRT); - ASSERT_NOT_REACHED(); + // If that didn't kill us, try harder. + raise(SIGKILL); + _exit(127); } static HashTable s_malloced_environment_variables;