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

resque-pool fails to launch on macOS High Sierra #168

Open
smile2day opened this issue Dec 15, 2017 · 1 comment
Open

resque-pool fails to launch on macOS High Sierra #168

smile2day opened this issue Dec 15, 2017 · 1 comment

Comments

@smile2day
Copy link

Launching resque-pool results in an error

Error message

objc[5921]: +[__NSPlaceholderDictionary 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.

@smile2day
Copy link
Author

Apple made changes to forking processes in High Sierra to harden security of the OS it seems.

I found a workaround on Stackexchange in a question related to Unicorn.

 OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES

https://stackoverflow.com/questions/46591470/unicorn-with-ruby-2-4-1-causing-weird-crash

Ruby

https://bugs.ruby-lang.org/issues/14009

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