“+[SomeClass initialize] may have been in progress in another thread when fork() was called”
2017-12-07 17:26
585 查看
python multiprocessing程序运行时,报错:
解决方法:添加环境变量:
附图:
![](http://img.blog.csdn.net/20171207172205336?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdHltYXRsYWI=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
参考:
http://sealiesoftware.com/blog/archive/2017/6/5/Objective-C_and_fork_in_macOS_1013.html
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
相关文章推荐
- 解决“Row cannot be located for updating. Some values may have been changed since it was last read.”的问题
- Kafka:ZK+Kafka+Spark Streaming集群环境搭建(二十三)Structured Streaming遇到问题:Set(TopicName-0) are gone. Some data may have been missed
- Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.fusesource
- Node 2478301 does not exist in the cache. It may have been deleted already.
- 33.Some non-DBA users in your database have been granted ANY TABLE system privileges and they
- [Axapta]"Journal name may not be changed when vouchers have been created"的问题
- Some text formatting may have changed in this file because the maximum number of fonts was exceeded解决办法
- SharePoint, No item exists at It may have been deleted or renamed by another user.
- Exception in thread "main" java.lang.UnsupportedClassVersionError:Unsupported major.minor version 52
- After u have been in Germany
- jacob 多个web项目报错 jacob-1.14.3-x64.dll already loaded in another classloader jacob
- Drools 运行时出现Exception in thread "main" java.lang.RuntimeException: wrong class format 的问题
- Some Tips When handle Dataset in VS 2005
- kafka异常:Uncaught exception in kafka-producer-network-thread 异常:Kafka scheduler has not been started
- How to view the schema class or attribute definition you first have to install the Active Directory Schema snap-in
- 命令行出错Exception in thread "main" java.lang.UnsupportedClassVersionError
- 恶心的jdcob--Could not initialize class com.jacob.com.ComThread
- Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
- Exception in thread main java.lang.UnsopportedClassVersionError解决办法
- Exception in thread "main" org.hibernate.MappingException: You may only specify a cache for root