Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c iOS 6应用程序在显示地图时在EagleContext中崩溃_Objective C_Ios_Opengl Es_Ios6 - Fatal编程技术网

Objective c iOS 6应用程序在显示地图时在EagleContext中崩溃

Objective c iOS 6应用程序在显示地图时在EagleContext中崩溃,objective-c,ios,opengl-es,ios6,Objective C,Ios,Opengl Es,Ios6,我们有一个使用OpenGL和MKMapView的应用程序。当我们切换到iOS 6时,每当我们在设置自己的EAGLContext后试图显示地图时,它就会在带有EXC\u BAD\u访问权限的[EAGLContext setCurrentContext:处崩溃。iOS 6地图是基于OpenGL的。如果你不打电话,你的应用程序将崩溃 [EAGLContext setCurrentContext:nil] 在您设置了自己的EagleContext之后。我们通过将上述调用放入与EagleContext交互

我们有一个使用OpenGL和
MKMapView
的应用程序。当我们切换到iOS 6时,每当我们在设置自己的
EAGLContext

后试图显示地图时,它就会在带有EXC\u BAD\u访问权限的
[EAGLContext setCurrentContext:
处崩溃。iOS 6地图是基于OpenGL的。如果你不打电话,你的应用程序将崩溃

[EAGLContext setCurrentContext:nil]


在您设置了自己的EagleContext之后。我们通过将上述调用放入与EagleContext交互的类的dealloc方法中修复了错误。

嗨,Darren,回溯是否在
GPU ReturnNotPermittedKillClient上结束?
?这里也有同样的问题(iOS 6.1.3)。你的解决方案减少了崩溃,但遗憾的是并没有完全消除它。它不起作用:我可以在6.1上系统地再现崩溃。挽救了我的生命,VLC在观看其他摄像机提供商后崩溃了