Getting crash Crash on UVVideoRecorder


Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000fc8582b38


Raw Text

0


CoreGraphics


CGColorGetAlpha + 12


8


QuartzCore


-[CALayer renderInContext:] + 1364


9


-[UVVideoRecorder renderViewSafe:context:] + 4341667992


Getting random crash in UVVideoRecorder, after closing camera session.

Replies

"Getting random crash in UVVideoRecorder, after closing camera session."


Wild guess here - although you are closing the session (and deallocating all of its objects), something is left open and is trying to access some object in the session that you deallocated. Check out 1) are you closing the session as prescribed 2) are you leaving any observers open that could be receiving notifications 3) are you ca;ling a method that is in the session after you closed the session?


Try salting teh code with NSLog(@"here I am 1111"); statements to see where the coe gets before the crash.