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

Document OSX solution for OSX fork safety issue #4985

Open
gmuloc opened this issue Feb 6, 2025 · 2 comments
Open

Document OSX solution for OSX fork safety issue #4985

gmuloc opened this issue Feb 6, 2025 · 2 comments

Comments

@gmuloc
Copy link
Contributor

gmuloc commented Feb 6, 2025

When running validate state or cv deploy on OSX the following error can occur:

TASK [arista.avd.cv_deploy : Deploy device configurations and tags to CloudVision] *************************************************************************************************************
Wednesday 05 February 2025  20:56:27 -0500 (0:00:00.036)       0:00:05.714 **** 
Wednesday 05 February 2025  20:56:27 -0500 (0:00:00.036)       0:00:05.714 **** 
objc[54680]: +[NSMutableString initialize] may have been in progress in another thread when fork() was called.
objc[54680]: +[NSMutableString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
ERROR! A worker was found in a dead state

The solution is to use

export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
@gmuloc gmuloc changed the title Document OSX issue Document OSX solution for OSX fork safety issue Feb 6, 2025
@ClausHolbechArista
Copy link
Contributor

It is already documented in Ansible documentation.

@gmuloc
Copy link
Contributor Author

gmuloc commented Feb 6, 2025

it is but we are getting the question on a weekly basis in various channels

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

2 participants