当我第一次启动应用程序时,我只在具有核心数据保存上下文的ios 8上获得应用程序崩溃。其他明智的应用程序正常。我尝试过多种替代方案但没有成功。一个奇怪的观察是,如果我在保存上下文中设置一个断点,那么每个东西在ios 8中都可以正常工作。如果我禁用断点,那么它会被崩溃。行为。
这是我的代码。在CERROR 2017-06-28 17:30:03,902 - java.lang.StackOverflowError
CERROR 2017-06-28 17:30:03,903 - at java.awt.AWTEventMulticaster.hierarchyChanged(Unknown Source)
CERROR 2017-06-28 17:30:03,903 - at java.awt.AWTEventMulticaster.hierarchyChanged(Unknown Source)
CERROR 2017-06-28 17:30:03,906 - at java.awt.AWTEventMulticaster.hierarchyChanged(Unknown Source)
CERROR 2017-06-28 17:30:03,907 - at java.awt.AWTEventMulticaster.hierarchyChanged(Unknown Source)
CERROR 2017-06-28 17:30:03,909 - at java.awt.AWTEventMulticaster.hierarchyChanged(Unknown Source)
CERROR 2017-06-28 17:30:03,911 - at java.awt.AWTEventMulticaster.hierarchyChanged(Unknown Source)
CERROR 2017-06-28 17:30:03,912 - at java.awt.AWTEventMulticaster.hierarchyChanged(Unknown Source)
CERROR 2017-06-28 17:30:03,914 - at java.awt.AWTEventMulticaster.hierarchyChanged(Unknown Source)
CERROR 2017-06-28 17:30:03,916 - at java.awt.AWTEventMulticaster.hierarchyChanged(Unknown Source)
CERROR 2017-06-28 17:30:03,917 - at java.awt.AWTEventMulticaster.hierarchyChanged(Unknown Source)
CERROR 2017-06-28 17:30:03,920 - at java.awt.AWTEventMulticaster.hierarchyChanged(Unknown Source)
崩溃但控制台中没有消息
try self.subContext.save()