https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83150
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >2. if the real `abort` is used, GCC installs a signal handler, which calls >async-signal-unsafe functions, such as malloc. The signal handler will always be sync unless someone decides to do a kill from the command line.