1 Reply
      Latest reply on Jan 10, 2019 11:55 AM by PBK
      khushboo89 Level 1 Level 1 (0 points)


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


        Raw Text





        CGColorGetAlpha + 12






        -[CALayer renderInContext:] + 1364




        -[UVVideoRecorder renderViewSafe:context:] + 4341667992


        Getting random crash in UVVideoRecorder, after closing camera session.

        • Re: Getting crash Crash on UVVideoRecorder
          PBK Level 7 Level 7 (3,195 points)

          "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.