“+[SomeClass initialize] may have been in progress in another thread when fork() was called”
来源:互联网 发布:qq邮箱for mac 编辑:程序博客网 时间:2024/06/04 23:35
python multiprocessing程序运行时,报错:
objc[2483]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called.objc[2483]: +[__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.
解决方法:添加环境变量:
OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
附图:
参考:
- http://sealiesoftware.com/blog/archive/2017/6/5/Objective-C_and_fork_in_macOS_1013.html
阅读全文
0 0
- “+[SomeClass initialize] may have been in progress in another thread when fork() was called”
- have been in 和have been to
- Another installation is in progress
- Node 2478301 does not exist in the cache. It may have been deleted already.
- GCDCache initialize has been called
- Error: "The application domain in which the thread was running has been unloaded"
- After u have been in Germany
- angularjs Error: have been in digest cycle
- Some text formatting may have changed in this file because the maximum number of fonts was exceeded解决办法
- Homebrew error: Another active Homebrew process is already in progress
- VMware Tools installation fails when Easy Install is in progress
- 解决VS Find was stopped in progress 问题
- How many papers have been implemented in OpenCV?
- HAVE IN .....
- ContextSwitchDeadlock was detected when debugging in Visual Studio 2005
- ORA-10456: cannot open standby database; media recovery session may be in progress
- ORA-10456: cannot open standby database; media recovery session may be in progress
- ORA-10456: cannot open standby database; media recovery session may be in progress
- AltCoin
- linux解压、解压缩文件
- 使用li标签布局
- Android酷炫实用的开源框架(UI框架)
- linux下通过V4L2驱动USB摄像头
- “+[SomeClass initialize] may have been in progress in another thread when fork() was called”
- Log4j学习汇总(二)
- Python学习,第二天
- springcloud学习二 Ribbon
- 信息安全 课后笔记(一)
- win系统安装配置GLPK及使用实例
- CentOS Redis 集群
- [LeetCode] 557.Reverse Words in a String III
- 2017年度北大软微学院创新创业论坛|悬镜分享DevSecOps的思考与实践