---
title: "EXC_BAD_ACCESS (SIGSEGV) in UIWebView and HTML5 websockets."  
description: "EXC_BAD_ACCESS (SIGSEGV) in UIWebView and HTML5 websockets."  
author: "Anonymous User"  
published: 2014-10-13  
updated: 2014-10-13  
canonical: https://www.mindstick.com/forum/2369/exc_bad_access-sigsegv-in-uiwebview-and-html5-websockets  
category: "iphone"  
tags: ["iphone", "mobile development"]  
reading_time: 1 minute  

---

# EXC_BAD_ACCESS (SIGSEGV) in UIWebView and HTML5 websockets.

I have an iOS [application](https://www.mindstick.com/articles/12824/calculator-application-in-android) built using a UIWebView and [HTML5](https://www.mindstick.com/articles/1535/offline-add-edit-delete-data-in-html5-indexeddb) websockets. The app [experiences](https://www.mindstick.com/articles/13062/designing-compelling-site-experiences-for-seo) seemingly [random](https://www.mindstick.com/forum/33419/generating-random-numbers-in-objective-c) crashes. It has occurred while a [user](https://www.mindstick.com/articles/13001/multi-statement-table-valued-user-defined-function-in-sql-server) is interacting with it

and during [longevity](https://www.mindstick.com/forum/161662/nad-liposomal-capsules-the-key-to-cellular-longevity) [tests](https://yourviews.mindstick.com/audio/1136/sat-subject-tests) where no [interaction](https://yourviews.mindstick.com/view/80771/technology-is-destroying-human-interaction-how) between user and app occurs.

**The crash [logs](https://answers.mindstick.com/qa/50941/how-to-use-manage-apple-iphone-6s-call-forwarding-conferencing-blocking-caller-id-call-logs-settings) all have the following:**

[Exception](https://www.mindstick.com/articles/1824/objective-c-exception-handling) Type: EXC_BAD_ACCESS (SIGSEGV)

Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000

## Replies

### Reply by Anonymous User

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-

![EXC_BAD_ACCESS (SIGSEGV) in UIWebView and HTML5 websockets.](https://www.mindstick.com/mindstickforums/c6441e24-2f3d-42dc-8eb1-4bdd03253605/images/dbf68063-3fef-45e6-bfe9-24f838b2881a.png)

![EXC_BAD_ACCESS (SIGSEGV) in UIWebView and HTML5 websockets.](https://www.mindstick.com/mindstickforums/c6441e24-2f3d-42dc-8eb1-4bdd03253605/images/a8b2c1f2-deb9-4713-a6b4-c25352c65ac6.png)


---

Original Source: https://www.mindstick.com/forum/2369/exc_bad_access-sigsegv-in-uiwebview-and-html5-websockets

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
