Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that arm-macos environments have sufficient QT thread stack #1342

Merged

Conversation

jhfrontz
Copy link
Contributor

Issuing assets via the elements-qt console interface on MacOS arm platforms causes the process to crash. This appears to be because the secondary threads on MacOS default to a 512k stack (per https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Multithreading/CreatingThreads/CreatingThreads.html via https://stackoverflow.com/a/23609290 ) -- this in comparison to linux threads that apparently have 8M of stack.

This change forces the QT-related threads to have an 8M stack.

Copy link
Member

@delta1 delta1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 9853992

@psgreco psgreco merged commit 5a07eec into ElementsProject:master Jul 18, 2024
9 of 13 checks passed
@grubles
Copy link

grubles commented Jul 18, 2024

Tested ACK 9853992

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants