(lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) * frame #0: 0x00007fff709835e2 libsystem_platform.dylib`_os_unfair_lock_recursive_abort + 23 frame #1: 0x00007fff70983710 libsystem_platform.dylib`_os_unfair_lock_lock_slow + 226 frame #2: 0x00007fff7081b2ee libsystem_malloc.dylib`szone_malloc_should_clear + 213 frame #3: 0x00007fff7081b1bd libsystem_malloc.dylib`malloc_zone_malloc + 103 frame #4: 0x00007fff487db6f4 CoreFoundation`CFBasicHashCreateCopy + 116 frame #5: 0x00007fff487e3936 CoreFoundation`CFDictionaryCreateCopy + 134 frame #6: 0x00007fff48982a28 CoreFoundation`__40-[_CFXPreferences synchronizeEverything]_block_invoke + 24 frame #7: 0x00007fff4891b4cf CoreFoundation`-[_CFXPreferences(SourceAdditions) withSources:] + 79 frame #8: 0x00007fff489829b3 CoreFoundation`-[_CFXPreferences synchronizeEverything] + 115 frame #9: 0x00007fff4884cef9 CoreFoundation`_CFPrefsSynchronizeForProcessTermination + 73 frame #10: 0x00007fff4a91df65 Foundation`-[NSUserDefaults(NSUserDefaults) synchronize] + 51 frame #11: 0x0000000100335e72 Emacs`ns_term_shutdown(sig=4) at nsterm.m:5487 frame #12: 0x000000010014edf4 Emacs`shut_down_emacs(sig=4, stuff=0x0000000000000000) at emacs.c:2136 frame #13: 0x000000010014ea7f Emacs`terminate_due_to_signal(sig=4, backtrace_limit=40) at emacs.c:383 frame #14: 0x0000000100182288 Emacs`handle_fatal_signal(sig=4) at sysdep.c:1769 frame #15: 0x0000000100182322 Emacs`deliver_thread_signal(sig=4, handler=(Emacs`handle_fatal_signal at sysdep.c:1768)) at sysdep.c:1743 frame #16: 0x00000001001800ea Emacs`deliver_fatal_thread_signal(sig=4) at sysdep.c:1781 frame #17: 0x00007fff70980f5a libsystem_platform.dylib`_sigtramp + 26 frame #18: 0x00007fff709835e3 libsystem_platform.dylib`_os_unfair_lock_recursive_abort + 24 frame #19: 0x00007fff70983710 libsystem_platform.dylib`_os_unfair_lock_lock_slow + 226 frame #20: 0x00007fff7081b7f2 libsystem_malloc.dylib`szone_malloc_should_clear + 1497 frame #21: 0x00007fff7081b1bd libsystem_malloc.dylib`malloc_zone_malloc + 103 frame #22: 0x00007fff7081a4c7 libsystem_malloc.dylib`malloc + 24 frame #23: 0x00000001002b4fc2 Emacs`unexec_malloc(size=1024) at unexmacosx.c:1331 frame #24: 0x00000001001f2555 Emacs`lmalloc(size=1024) at alloc.c:1461 frame #25: 0x00000001001f24e5 Emacs`xmalloc(size=1024) at alloc.c:872 frame #26: 0x00000001001e5064 Emacs`regex_compile(pattern="\\$\\(?:\\(?1:[[:alnum:]_]+\\)\\|{\\(?1:[^{}]+\\)}\\|\\$\\)", size=49, posix_backtracking=false, whitespace_regexp=0x0000000000000000, bufp=0x00000001007e05d8) at regex-emacs.c:1766 frame #27: 0x00000001001e4f98 Emacs`rpl_re_compile_pattern(pattern="\\$\\(?:\\(?1:[[:alnum:]_]+\\)\\|{\\(?1:[^{}]+\\)}\\|\\$\\)", length=49, posix_backtracking=false, whitespace_regexp=0x0000000000000000, bufp=0x00000001007e05d8) at regex-emacs.c:5091 frame #28: 0x00000001001d5c4c Emacs`compile_pattern_1(cp=0x00000001007e05b8, pattern=0x0000000100416f94, translate=0x000000010688786d, posix=false) at search.c:147 frame #29: 0x00000001001cef70 Emacs`compile_pattern(pattern=0x0000000100416f94, regp=0x00000001007fa478, translate=0x000000010688786d, posix=false, multibyte=false) at search.c:258 frame #30: 0x00000001001ce9c0 Emacs`string_match_1(regexp=0x0000000100416f94, string=0x000000010045b414, start=0x0000000000000002, posix=false) at search.c:419 frame #31: 0x00000001001ce747 Emacs`Fstring_match(regexp=0x0000000100416f94, string=0x000000010045b414, start=0x0000000000000002) at search.c:466 frame #32: 0x0000000100248ca8 Emacs`funcall_subr(subr=0x00000001003e00b8, numargs=3, args=0x00007ffeefbf8ad8) at eval.c:2936 frame #33: 0x00000001002479fe Emacs`Ffuncall(nargs=4, args=0x00007ffeefbf8ad0) at eval.c:2856 frame #34: 0x00000001002b997e Emacs`exec_byte_code(bytestr=0x0000000100416fe4, vector=0x0000000100417005, maxdepth=0x000000000000002a, args_template=0x0000000000000806, nargs=2, args=0x00007ffeefbf9208) at bytecode.c:632 frame #35: 0x00000001002490dc Emacs`funcall_lambda(fun=0x0000000100416fb5, nargs=2, arg_vector=0x00007ffeefbf91f8) at eval.c:3057 frame #36: 0x0000000100247a46 Emacs`Ffuncall(nargs=3, args=0x00007ffeefbf91f0) at eval.c:2858 frame #37: 0x00000001002b997e Emacs`exec_byte_code(bytestr=0x00000001004170b4, vector=0x00000001004170d5, maxdepth=0x0000000000000016, args_template=0x0000000000000406, nargs=1, args=0x00007ffeefbf98b8) at bytecode.c:632 frame #38: 0x00000001002490dc Emacs`funcall_lambda(fun=0x0000000100417085, nargs=1, arg_vector=0x00007ffeefbf98b0) at eval.c:3057 frame #39: 0x0000000100247a46 Emacs`Ffuncall(nargs=2, args=0x00007ffeefbf98a8) at eval.c:2858 frame #40: 0x0000000100248554 Emacs`call1(fn=0x000000000000b220, arg1=0x000000010045b414) at eval.c:2707 frame #41: 0x00000001001af51c Emacs`Fsubstitute_in_file_name(filename=0x000000010045b414) at fileio.c:1763 frame #42: 0x000000010028b3e4 Emacs`Fload(file=0x000000010045b414, noerror=0x0000000000000000, nomessage=0x000000000000b460, nosuffix=0x0000000000000000, must_suffix=0x000000000000b460) at lread.c:1175 frame #43: 0x000000010023fca6 Emacs`Fautoload_do_load(fundef=0x000000010045b3f3, funname=0x0000000000003ea0, macro_only=0x0000000000000000) at eval.c:2109 frame #44: 0x0000000100247b90 Emacs`Ffuncall(nargs=3, args=0x00007ffeefbf9fd0) at eval.c:2873 frame #45: 0x00000001002477ca Emacs`Fapply(nargs=2, args=0x00007ffeefbfa0d8) at eval.c:2476 frame #46: 0x0000000100239305 Emacs`apply1(fn=0x0000000000003ea0, arg=0x00000001038c9d53) at eval.c:2692 frame #47: 0x0000000100238cdf Emacs`call_debugger(arg=0x00000001038c9d53) at eval.c:358 frame #48: 0x0000000100247c1a Emacs`Ffuncall(nargs=8, args=0x00007ffeefbfa470) at eval.c:2883