diff options
author | Tim Jenssen <tim.jenssen@qt.io> | 2022-02-24 16:37:56 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2022-02-24 16:27:34 +0000 |
commit | b58c57fb3f73c12ec216d80f06776901bc2da3db (patch) | |
tree | f5eed7bffe5109a3a70632093e6fe85f3ef0ee60 | |
parent | 5ce07a23459db8ea6faa3774b22cbab9d2facb63 (diff) |
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>
-rw-r--r-- | src/app/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp index a4ef3eea32..e17ef27e20 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -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 |