FatalSignalHandler: handle SIGABRT too

Pick-to: 6.3
Change-Id: I5ff8e16fcdcb4ffd9ab6fffd16eb77e9c77d10ba
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Thiago Macieira 2022-05-02 19:38:54 -07:00
parent 7ad8a2e8fe
commit 92046dde55

View File

@ -1893,7 +1893,7 @@ class FatalSignalHandler
{
public:
static constexpr std::array fatalSignals = {
SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGBUS, SIGFPE, SIGSEGV, SIGPIPE, SIGTERM
SIGHUP, SIGINT, SIGQUIT, SIGABRT, SIGILL, SIGBUS, SIGFPE, SIGSEGV, SIGPIPE, SIGTERM
};
static constexpr std::array crashingSignals = {
// Crash signals are special, because if we return from the handler