crash report

I test the HelloCpp on my iPad 4, and it crashed.
Here is the log and call stack backtrace:

2013-01-30 23:19:29.083 HelloCpp[1268:907] cocos2d: surface size: 2048x1536

Cocos2d: cocos2d: cocos2d-2.1beta3-x-2.1.1

Cocos2d: cocos2d: GL_VENDOR: Imagination Technologies

Cocos2d: cocos2d: GL_RENDERER: PowerVR SGX 554

Cocos2d: cocos2d: GL_VERSION: OpenGL ES 2.0 IMGSGX554-73.16.1

Cocos2d: cocos2d: GL_MAX_TEXTURE_SIZE: 4096

Cocos2d: cocos2d: GL_MAX_TEXTURE_UNITS: 8

Cocos2d: cocos2d: GL supports PVRTC: YES

Cocos2d: cocos2d: GL supports BGRA8888 textures: NO

Cocos2d: cocos2d: GL supports NPOT textures: YES

Cocos2d: cocos2d: GL supports discard_framebuffer: YES

Cocos2d: cocos2d: GL supports shareable VAO: YES

Cocos2d: cocos2d: compiled with Profiling Support: NO

(lldb) bt

  • thread #1: tid = 0x2403, 0x32cbdbe0 IMGSGX554GLDriver`sgxTextureGetImageRowBytes(GLDTextureRec*, unsigned int, unsigned int) + 8, stop reason = EXC_BAD_ACCESS (code=1, address=0x44)

frame #0: 0x32cbdbe0 IMGSGX554GLDriver`sgxTextureGetImageRowBytes(GLDTextureRec*, unsigned int, unsigned int) + 8

frame #1: 0x32cbdb92 IMGSGX554GLDriver`CalculateChunkPlaneSizes(GLDTextureRec**, int, unsigned int**, unsigned int**, unsigned int**, unsigned int*) + 106

frame #2: 0x32cc02f6 IMGSGX554GLDriver`sgxConfigureTexturePrivate(GLDTextureRec*) + 86

frame #3: 0x32cbef48 IMGSGX554GLDriver`glrUpdateTexture + 620

frame #4: 0x374fb6c0 libGPUSupportMercury.dylib`gldLoadFramebuffer + 104

frame #5: 0x350ecbd4 GLEngine`gleUpdateDrawFramebufferState + 180

frame #6: 0x35064a60 GLEngine`glClear_Exec + 236

frame #7: 0x001731e6 libglInterpose.dylib`clear + 266

frame #8: 0x0000b984 HelloCpp`cocos2d::CCDirector::drawScene(this=0x00374f10) + 60 at CCDirector.cpp:217

frame #9: 0x0000b984 HelloCpp`cocos2d::CCDirector::drawScene(this=0x00374f10) + 60 at CCDirector.cpp:217

frame #10: 0x0000cdf8 HelloCpp`cocos2d::CCDisplayLinkDirector::mainLoop(this=0x00374f10) + 60 at CCDirector.cpp:944

frame #11: 0x00025e3e HelloCpp`+ 22 at CCDirectorCaller.mm:93
frame #12: 0x001bbc4c libglInterpose.dylib`
[DYDisplayLinkInterposer forwardDisplayLinkCallback:] + 308

frame #13: 0x358a47a8 QuartzCore`CA::Display::DisplayLink::dispatch(unsigned long long, unsigned long long) + 160

frame #14: 0x358a4700 QuartzCore`CA::Display::IOMFBDisplayLink::callback(IOMobileFramebuffer*, unsigned long long, unsigned long long, unsigned long long, void**) + 64
frame #15: 0x37afbfd6 IOMobileFramebuffer`IOMobileFramebufferVsyncNotifyFunc + 154
frame #16: 0x348975ac IOKit`IODispatchCalloutFromCFMessage + 192
frame #17: 0x33c7988a CoreFoundation`*CFMachPortPerform + 118

frame #18: 0x33c843e6 CoreFoundation`CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 34

frame #19: 0x33c8438a CoreFoundation`*CFRunLoopDoSource1 + 138
frame #20: 0x33c8320e CoreFoundation`*CFRunLoopRun + 1382

frame #21: 0x33bf623c CoreFoundation`CFRunLoopRunSpecific + 356

frame #22: 0x33bf60c8 CoreFoundation`CFRunLoopRunInMode + 104

frame #23: 0x377b033a GraphicsServices`GSEventRunModal + 74

frame #24: 0x35b122b8 UIKit`UIApplicationMain + 1120

frame #25: 0x0000333a HelloCpp`main(argc=1, argv=0x2fdffc88) + 114 at main.m:14

frame #26: 0x00002ae0 HelloCpp`start + 40
(lldb)

Exactly the same error we’ve got in crash report for iPad3.5.

Exception Type
EXC_BAD_ACCESS
Code
KERN_INVALID_ADDRESS at 0x44

It’s a known GPU bug or OGL misbehavior of some frameworks or apps on iPad3 only. Check stackoverflow for more.

What exactly is the know bug/behavior? Can you provide a link?