小编Sul*_*min的帖子

gpus_ReturnGuiltyForHardwareRestart崩溃

应用程序在presentFrameBuffer中崩溃(在前台运行时,不会发生中断).

它没有在第一帧崩溃,它画了一段时间然后它突然崩溃了.

我没有重复的确切步骤,但似乎与绘制某些特定内容有关,但我仍然没有通过应用程序报告openGL错误,包括在presentFrameBuffer之前的一个错误检查.如果我在glFinish中将presentFrameBuffer崩溃之前添加glFinish.

应用程序崩溃与EXC_BAD_ACCESS(代码= 1,地址= 0x1)和上面的调用堆栈没有任何其他错误/日志/调试信息.

这是崩溃时报告的callstack:

线程1,队列:com.apple.main-thread

>     #0    0x36871e46 in gpus_ReturnGuiltyForHardwareRestart ()
>     #1    0x36872764 in gpusSubmitDataBuffers ()
>     #2    0x31eae624 in SubmitPacketsIfAny ()
>     #3    0x378a337a in gliPresentViewES ()
>     #4    0x325b6df2 in -[EAGLContext presentRenderbuffer:] ()
>     #5    0x0052986e in EAGLContext_presentRenderbuffer(EAGLContext*, objc_selector*, unsigned int) ()
>     #6    0x000e2a48 in -[EAGLView presentFramebuffer] at /svn/src_svn/GG/iphone/Classes/EAGLView.mm:228
>     #7    0x000e4066 in -[GGViewController drawFrame] at /svn/src_svn/GG/iphone/Classes/GGViewController.mm:504
>     #8    0x3809ab0a in __NSFireTimer ()
>     #9    0x39d36856 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ ()
>     #10   0x39d36502 in …
Run Code Online (Sandbox Code Playgroud)

iphone crash opengl-es ipad ios

12
推荐指数
1
解决办法
7356
查看次数

标签 统计

crash ×1

ios ×1

ipad ×1

iphone ×1

opengl-es ×1