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

duck crashing on MacOS 12 M1 #13347

Closed
AliveDevil opened this issue May 2, 2022 · 4 comments
Closed

duck crashing on MacOS 12 M1 #13347

AliveDevil opened this issue May 2, 2022 · 4 comments
Assignees
Labels
bug cli Command Line Interface help wanted
Milestone

Comments

@AliveDevil
Copy link
Contributor

AliveDevil commented May 2, 2022

duck-2022-05-02-132826.ips.zip

duck 8.3.3 installed with .pkg.

@AliveDevil AliveDevil added help wanted cli Command Line Interface labels May 2, 2022
@AliveDevil
Copy link
Contributor Author

Error on MacOS 11 Intel amd64:

Error occurred during initialization of VM
Could not reserve enough space for code cache (245760K)

@dkocher dkocher added the bug label May 4, 2022
@dkocher dkocher added this to the 9.0 milestone May 5, 2022
@Cassie205
Copy link

The latest working version seems to be duck-8.2.1.36773.pkg

@dkocher dkocher modified the milestones: 9.0, 8.4.2 Jul 17, 2022
@dkocher
Copy link
Contributor

dkocher commented Jul 17, 2022

We fixed the build job to include the entitlements when signing the bundle which resolves this issue.

@dkocher dkocher closed this as completed Jul 17, 2022
@dkocher
Copy link
Contributor

dkocher commented Jul 17, 2022

The correct entitlements should look like

codesign -d --entitlements - /usr/local/duck.bundle/
Executable=/usr/local/duck.bundle/Contents/MacOS/duck
[Dict]
	[Key] com.apple.security.automation.apple-events
	[Value]
		[Bool] true
	[Key] com.apple.security.cs.allow-jit
	[Value]
		[Bool] true
	[Key] com.apple.security.cs.allow-unsigned-executable-memory
	[Value]
		[Bool] true
	[Key] com.apple.security.cs.disable-library-validation
	[Value]
		[Bool] true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cli Command Line Interface help wanted
Projects
None yet
Development

No branches or pull requests

3 participants