You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you'll try running log scanner manually with python, and not with docker, it'll probably crash with these messages:
objc[35301]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called.
objc[35301]: +[__NSPlaceholderDate 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.
Explanation
That issue is caused due to some new security changes made in High Sierra macOS that are breaking a lot of Python program that use forking. For further explanation, please check out this link. In general, a new mechanism aimed to detect the usage of forking (which the log scanner most certainly does).
Solution
You can either run the scanner with docker, as described, or set a temporary environment variable which will disable that fork safety mechanism:
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
enjoy :)
The text was updated successfully, but these errors were encountered:
macOS users, please notice:
Bug
If you'll try running log scanner manually with python, and not with docker, it'll probably crash with these messages:
Explanation
That issue is caused due to some new security changes made in High Sierra macOS that are breaking a lot of Python program that use forking. For further explanation, please check out this link. In general, a new mechanism aimed to detect the usage of forking (which the log scanner most certainly does).
Solution
You can either run the scanner with docker, as described, or set a temporary environment variable which will disable that fork safety mechanism:
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
enjoy :)
The text was updated successfully, but these errors were encountered: