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

IDE fails to launch on macOS Ventura (IEP-972) #780

Closed
kolipakakondal opened this issue Jun 6, 2023 · 1 comment
Closed

IDE fails to launch on macOS Ventura (IEP-972) #780

kolipakakondal opened this issue Jun 6, 2023 · 1 comment

Comments

@kolipakakondal
Copy link
Collaborator

This is a problem that we have seen with our development builds. However, I am pretty sure that we will have the same problem with the macOS Espressif-IDE installers as well. I am posting it here so that it will be helpful as a reference.

Context:
I have been experiencing issues with my Eclipse IDE since updating it to Eclipse 2022-03 and my macOS to version 13.4 two weeks ago. Despite working fine initially, the IDE now fails to launch and crashes upon attempting to do so.

Error Code:

Exception Type:  EXC_CRASH (SIGKILL (Code Signature Invalid))
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: CODESIGNING 1

Reason:
Eclipse app itself is modifying and thus breaking its own code signature. It’s likely that this is triggering a problem within macOS’s trusted execution subsystem. I don't know I have not faced these issues with earlier versoins of Eclipse. My guess is that Apple would have introduced something more with the macOS Ventura and causing this problem. Most likely this has to be fixed in the Eclipse.

Workaround
Sign the modified Eclipse.app

$ codesign --force --deep --sign - /Applications/Eclipse.app
/Applications/Eclipse.app: replacing existing signature

References:
https://developer.apple.com/forums/thread/684509
https://bugs.eclipse.org/bugs/show_bug.cgi?id=578883
https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpressoIDE-Code-Signature-Invalid-exception-when-launching-on/m-p/1577655#M8641

@github-actions github-actions bot changed the title IDE fails to launch on macOS Ventura after several days IDE fails to launch on macOS Ventura after several days (IEP-972) Jun 6, 2023
@kolipakakondal kolipakakondal changed the title IDE fails to launch on macOS Ventura after several days (IEP-972) IDE fails to launch on macOS Ventura (IEP-972) Jun 6, 2023
@kolipakakondal
Copy link
Collaborator Author

Closing this as one else reported this problem!

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

No branches or pull requests

1 participant