Skip to content

Commit 9853992

Browse files
committed
Ensure that arm-macos environments have sufficient QT thread stack
1 parent cdcc74b commit 9853992

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/qt/rpcconsole.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,10 @@ RPCConsole::RPCConsole(interfaces::Node& node, const PlatformStyle *_platformSty
579579
clear();
580580

581581
GUIUtil::handleCloseWindowShortcut(this);
582+
#if defined(Q_OS_MAC) && defined(__aarch64__)
583+
// MacOS default is apparently 0x80000, too small for MacOS arm; use linux-like size instead
584+
thread.setStackSize(0x800000);
585+
#endif
582586
}
583587

584588
RPCConsole::~RPCConsole()

0 commit comments

Comments
 (0)