Contents

EXC_BAD_ACCESS (SIGSEGV)

A memory segmentation fault terminated the process, often because the process tried to access an invalid or out-of-bounds address in memory.

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.

For more information, see Investigating memory access crashes.

See Also

Exceptions