Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000010 0x00007fff8ae4be65 in (anonymous namespace)::AutoreleasePoolPage::pop () (gdb) bt #0 0x00007fff8ae4be65 in (anonymous namespace)::AutoreleasePoolPage::pop () #1 0x00007fff8b1c16f2 in _CFAutoreleasePoolPop () #2 0x00007fff8f6a2832 in -[NSAutoreleasePool drain] () #3 0x00007fff867ddbc1 in -[NSApplication run] () #4 0x00000001001a27a8 in -[EmacsApp run] ( self=, _cmd=) at nsterm.m:4827 #5 0x00000001001a250b in ns_term_init ( display_name=) at nsterm.m:4759 #6 0x00000001001b5da7 in Fx_open_connection (display=4375708556, resource_string=0, must_succeed=40416) at nsfns.m:1844 #7 0x0000000100137cfe in Ffuncall ( nargs=, args=) at eval.c:2657 #8 0x000000010016fca4 in exec_byte_code ( bytestr=, vector=4429459997, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #9 0x0000000100137b4f in Ffuncall ( nargs=, args=) at eval.c:2699 #10 0x0000000100137648 in Fapply ( nargs=, args=) at eval.c:2231 #11 0x0000000100137bea in Ffuncall ( nargs=, args=) at eval.c:2630 #12 0x000000010016fca4 in exec_byte_code ( bytestr=, vector=4496538477, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #13 0x0000000100137b4f in Ffuncall ( nargs=, args=) at eval.c:2699 #14 0x000000010016fca4 in exec_byte_code ( bytestr=, vector=4298365205, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #15 0x0000000100137b4f in Ffuncall ( nargs=, args=) at eval.c:2699 #16 0x000000010016fca4 in exec_byte_code ( bytestr=, vector=4298361181, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #17 0x0000000100137540 in apply_lambda (fun=4298361101, args=, count=) at eval.c:2751 #18 0x000000010013445d in eval_sub ( form=) at eval.c:2168 #19 0x0000000100137398 in Feval (form=4462858579, lexical=) at eval.c:1953 #20 0x00000001001366b7 in internal_condition_case ( bfun=0x1000cc840 , handlers=, hfun=) at eval.c:1309 #21 0x00000001000cc80d in top_level_1 ( ignore=) at keyboard.c:1103 #22 0x00000001001360ef in internal_catch ( tag=, func=0x1000cc7e0 , arg=0) at eval.c:1073 #23 0x00000001000bb0ff in command_loop () at keyboard.c:1064 #24 0x00000001000bb029 in recursive_edit_1 () at keyboard.c:671 #25 0x00000001000bb24c in Frecursive_edit () at keyboard.c:742 #26 0x00000001000b9f34 in main (argc=Cannot access memory at address 0x0 ) at emacs.c:1644