TheAppleDoctor wrote:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000009
This is telling you a who, what and where for a
dangling pointer or
memory corruption.
The error is the result of the processor executing an instruction that requested a read from a chunk of memory that was protected from user mode access. The value of the
at, being such a low address in memory indicates (to me) that "something bad" happened like a memory corruption resulting in the instruction pointer being set to an address in a data segment (typically, data addresses start on the low end and instruction addresses start on the high end of memory.
The other two numbers are merely codes from the processor/os indicating the nature of the error.
There are a million ways to cause this most of which fit into three basic classes.
- An unverified pointer being used to access memory, or
- A corruption of memory through a bad pointer resulting in "random data" being used as a pointer reference, or
- A bad instruction pointer changing the processor to load a bogus instruction.