Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

EXC_BAD_ACCESS from sgxTextureGetImageRowBytes

Anyone seen this error before? I can't tell if my iPad 4 is dying or not; other apps work fine, but my app (which is now a near clone of Apple's GLKit example for setting up an OpenGL ES 2.0 iOS app) has started, frequently, crashing.


My application was running fine yesterday, almost a hundred source files (nearly a finished iOS game). Then it starts crashing, and after reverting back to previous revisions, it still kept crashing, and now I've reverted all the way back to its origins (a copy&paste of Apple's source examples), and it crashes with just this:


Code:

- (void)glkView:(GLKView *)view drawInRect:(CGRect)rect

{

glClearColor(0.0f, 0.0f, 0.0f, 0.0f);

glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

}



StackTrace:


#0 0x32979c20 in sgxTextureGetImageRowBytes(GLDTextureRec*, unsigned int, unsigned int) ()

#1 0x32979bd2 in CalculateChunkPlaneSizes(GLDTextureRec*, int, unsigned int*, unsigned int*, unsigned int*, unsigned int*) ()

#2 0x3297c336 in sgxConfigureTexturePrivate(GLDTextureRec*) ()

#3 0x3297af88 in glrUpdateTexture ()

#4 0x341a56c0 in gldLoadFramebuffer ()

#5 0x38387bd4 in gleUpdateDrawFramebufferState ()

#6 0x382ffa60 in glClear_Exec ()

#7 0x001221ea in clear ()

iPad (4th gen) Wi-Fi, iOS 6.0.1

Posted on Jan 15, 2013 3:09 AM

Reply
2 replies

EXC_BAD_ACCESS from sgxTextureGetImageRowBytes

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.