Home > DeveloperSection > Forums > EXC_BAD_ACCESS (SIGSEGV) in UIWebView and HTML5 websockets.
Chintoo Semi

Total Post:135

Posted on    October-13-2014 12:41 AM

 iPhone iPhone  Mobile Development 

 1 Reply(s)
 1817  View(s)
Rate this:

I have an iOS application built using a UIWebView and HTML5 websockets. The app experiences seemingly random crashes. It has occurred while a user is interacting with it

and during longevity tests where no interaction between user and app occurs.

The crash logs all have the following:


Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000

Kamlakar Singh
Kamlakar Singh

Total Post:194

Posted on    October-13-2014 12:51 AM

This is an EXC_BAD_ACCESS type of code which relates to accessing deallocated memory. In order to find this you need to enable NSZombie objects. to enable NSZombie objects go to product-> Scheme->Edit scheme this will display the following dialog-



Don't want to miss updates? Please click the below button!

Follow MindStick