<!--
{
  "documentType" : "article",
  "framework" : "Xcode",
  "identifier" : "/documentation/Xcode/EXC_BAD_ACCESS",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "EXC_BAD_ACCESS"
}
-->

# EXC_BAD_ACCESS

A bad access to memory terminated the process.

## Discussion

This exception is usually accompanied by either the
`SIGBUS` or `SIGSEGV` signal;
for more information, see [EXC_BAD_ACCESS (SIGBUS)](/documentation/Xcode/SIGBUS) or [EXC_BAD_ACCESS (SIGSEGV)](/documentation/Xcode/SIGSEGV).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)