From 9853992fd22dadd97c7d15f08606466bd3b5437c Mon Sep 17 00:00:00 2001 From: jhfrontz Date: Wed, 17 Jul 2024 16:52:05 -0400 Subject: [PATCH] Ensure that arm-macos environments have sufficient QT thread stack --- src/qt/rpcconsole.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index c5e5e69df6a..9fd3b8b6fe6 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -579,6 +579,10 @@ RPCConsole::RPCConsole(interfaces::Node& node, const PlatformStyle *_platformSty clear(); GUIUtil::handleCloseWindowShortcut(this); +#if defined(Q_OS_MAC) && defined(__aarch64__) + // MacOS default is apparently 0x80000, too small for MacOS arm; use linux-like size instead + thread.setStackSize(0x800000); +#endif } RPCConsole::~RPCConsole()