crashpad: disable calling crashpad_handler on arm64

Currently, the none arm handler binary is hanging and
needs further investigation.
Maybe a complete universal build will fix this, and
we can enable it again.

Change-Id: I60b5623d8dda500a3be3efd095f91a9609600324
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Tim Jenssen
2022-02-24 16:37:56 +01:00
parent 5ce07a2345
commit b58c57fb3f

View File

@@ -56,6 +56,8 @@
#include <QUrl>
#include <QVariant>
#include <QSysInfo>
#include <QNetworkProxyFactory>
#include <QApplication>
@@ -410,6 +412,11 @@ QStringList lastSessionArgument()
#ifdef ENABLE_CRASHPAD
bool startCrashpad(const QString &libexecPath, bool crashReportingEnabled)
{
if (QSysInfo::currentCpuArchitecture() == "arm64") {
qDebug() << "The crashpad_handler binary does not work on arm64 properly. So it is disabled for now.";
return false;
}
using namespace crashpad;
// Cache directory that will store crashpad information and minidumps