---
title: EXC_BAD_ACCESS (SIGBUS)
framework: xcode
role: article
role_heading: Article
path: xcode/sigbus
---

# EXC_BAD_ACCESS (SIGBUS)

A bus error terminated the process, often because the process tried to access a misaligned or invalid address in memory, or due to a pointer authentication failure.

## Overview

Overview Common problems include accessing an invalid index in an array, dereferencing a pointer to an invalid memory location, or writing to read-only memory. In many cases, these problems produce SIGSEGV rather than SIGBUS. For more information, see Investigating memory access crashes.

## See Also

### Exceptions

- [EXC_ARITHMETIC](xcode/exc_arithmetic.md)
- [EXC_BAD_ACCESS](xcode/exc_bad_access.md)
- [EXC_BAD_ACCESS (SIGSEGV)](xcode/sigsegv.md)
- [EXC_BREAKPOINT (SIGTRAP) and EXC_BAD_INSTRUCTION (SIGILL)](xcode/sigtrap_sigill.md)
- [EXC_CRASH](xcode/exc_crash.md)
- [EXC_CRASH (SIGABRT)](xcode/sigabrt.md)
- [EXC_CRASH (SIGKILL)](xcode/sigkill.md)
- [EXC_CRASH (SIGQUIT)](xcode/sigquit.md)
- [EXC_CRASH (SIGSYS)](xcode/sigsys.md)
- [EXC_CRASH (SIGTERM)](xcode/sigterm.md)
- [EXC_GUARD](xcode/exc_guard.md)
- [EXC_RESOURCE](xcode/exc_resource.md)
