Skip to content

Mac forking error #702

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

Closed
HashNotAdam opened this issue Oct 19, 2023 · 1 comment
Closed

Mac forking error #702

HashNotAdam opened this issue Oct 19, 2023 · 1 comment

Comments

@HashNotAdam
Copy link

HashNotAdam commented Oct 19, 2023

When I run one of my RSpec tests—and only a specific one—I receive the error:

objc[24658]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
objc[24658]: +[__NSCFConstantString 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.

I'm happy to help debug this, but I'm unsure where to start, sorry.

My stack is:

  • M2 Mac
  • spring (4.1.1)
  • rails (7.0.8)
  • rspec-rails (6.0.3)
  • pg (1.5.4)

I can confirm this is happening on a colleague's (identical) Mac
This issue is not happing in our CI (GitHub Actions running Ubuntu 22.04.3)

@HashNotAdam
Copy link
Author

I've tracked this issue down to GoodJob (we're running v3.19.4). I'll move this issue there

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