Consider this: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Subtype: KERN_MEMORY_ERROR at 0x000000010844eb40 and this: Thread 0 crashed with X86 Thread State (64-bit): … rip: 0x000000010844eb40 … (In Intel, RIP is the PC register.) Your program has crashed to an unmapped memory exception and the crashing address is the PC. That is, the program has jumped to a bad address. That’s why you get this: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 ??? 0x10844eb40 ??? because there is no code mapped at that location. Notably, let’s look at more of that backtrace: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 ??? 0x10844eb40 ??? 1 CoreFoundation 0x7ff80f155518 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 137 2 CoreFoundation 0x7ff80f1b864e ___CFXRegistrationPost_block_invoke + 88 3 CoreFoundation 0x7ff80f1b85a2 _CFXRegistrationPost + 515 4 CoreFoundation 0x7ff80f134dd6 _CFXNotificationPost + 763 5 Foundation 0x7ff810e22752 -[NSNotificationCenter postNotificationName:object:u
Topic:
Developer Tools & Services
SubTopic:
General
Tags: