https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99442
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There is no way really to recover from a segfault in a manner that is suitable for all programs. The developer could set a sigv handler if they want to do any recovery from it. The library should not do it.