EXC BAD ACCESS
lastmod 2026-11-10created 2018-11-284 edits
EXC_BAD_ACCESS is a Mach exception raised on macOS and iOS when a program tries to read or write a memory address it cannot access. It corresponds to a segmentation fault on Linux, and its main causes are use of a freed object, null pointer dereference, and incorrect pointer arithmetic. The cause is tracked down with Xcode's Zombie Objects or Address Sanitizer.
See also
Favorite site
References
-
Understanding_EXC_BAD_ACCESS.pdf ↩