lldb nextstep/Emacs.app/Contents/MacOS/Emacs (lldb) target create "nextstep/Emacs.app/Contents/MacOS/Emacs" Current executable set to 'nextstep/Emacs.app/Contents/MacOS/Emacs' (x86_64). (lldb) run Process 20520 launched: '/Volumes/sensitive/contrib/emacs-git/nextstep/Emacs.app/Contents/MacOS/Emacs' (x86_64) Process 20520 stopped * thread #1: tid = 0xa8646b, 0x00007fff9877d04a libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 402, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x10) frame #0: 0x00007fff9877d04a libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 402 libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop: -> 0x7fff9877d04a <+402>: movq 0x10(%rbx), %rax 0x7fff9877d04e <+406>: leaq 0x38(%rbx), %rcx 0x7fff9877d052 <+410>: cmpq %rcx, %rax 0x7fff9877d055 <+413>: jne 0x7fff9877d077 ; <+447> (lldb) thread backtrace * thread #1: tid = 0xa8646b, 0x00007fff9877d04a libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 402, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x10) * frame #0: 0x00007fff9877d04a libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 402 frame #1: 0x00007fff8eeeb29f QuartzCore`CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 87 frame #2: 0x00007fff8d8aae07 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 frame #3: 0x00007fff8d8aad77 CoreFoundation`__CFRunLoopDoObservers + 391 frame #4: 0x00007fff8d889d58 CoreFoundation`CFRunLoopRunSpecific + 328 frame #5: 0x00007fff9621771e HIServices`waitForTransaction + 204 frame #6: 0x00007fff9b75d907 AppKit`minimizeItemsMaybeBatching + 89 frame #7: 0x00007fff9b790cfd AppKit`-[NSWindow(NSWindow_Theme) _minimizeToDock] + 192 frame #8: 0x00000001001a490e Emacs`x_iconify_frame(f=) + 430 at nsterm.m:1211 frame #9: 0x0000000100011077 Emacs`Ficonify_frame(frame=) + 135 at frame.c:2136 frame #10: 0x0000000100136ec0 Emacs`Ffuncall(nargs=1, args=) + 992 at eval.c:2650 frame #11: 0x000000010017003a Emacs`exec_byte_code(bytestr=, vector=4298361973, maxdepth=, args_template=, nargs=, args=) + 2346 at bytecode.c:880 frame #12: 0x0000000100136d64 Emacs`Ffuncall(nargs=1, args=) + 644 at eval.c:2699 frame #13: 0x000000010017003a Emacs`exec_byte_code(bytestr=, vector=4298362109, maxdepth=, args_template=, nargs=, args=) + 2346 at bytecode.c:880 frame #14: 0x0000000100136d64 Emacs`Ffuncall(nargs=1, args=) + 644 at eval.c:2699 frame #15: 0x0000000100130bca Emacs`Ffuncall_interactively(nargs=, args=) + 58 at callint.c:250 frame #16: 0x0000000100136df6 Emacs`Ffuncall(nargs=2, args=) + 790 at eval.c:2630 frame #17: 0x00000001001311ed Emacs`Fcall_interactively(function=44716416, record_flag=0, keys=4345321373) + 1549 at callint.c:387 frame #18: 0x0000000100136ee7 Emacs`Ffuncall(nargs=4, args=) + 1031 at eval.c:2657 frame #19: 0x000000010017003a Emacs`exec_byte_code(bytestr=, vector=4298090549, maxdepth=, args_template=, nargs=, args=) + 2346 at bytecode.c:880 frame #20: 0x0000000100136d64 Emacs`Ffuncall(nargs=2, args=) + 644 at eval.c:2699 frame #21: 0x000000010013755d Emacs`call1(fn=, arg1=) + 45 at eval.c:2509 frame #22: 0x00000001000bab16 Emacs`command_loop_1 + 3382 at keyboard.c:1460 frame #23: 0x0000000100135877 Emacs`internal_condition_case(bfun=(Emacs`command_loop_1 at keyboard.c:1240), handlers=, hfun=) + 231 at eval.c:1309 frame #24: 0x00000001000c92d0 Emacs`command_loop_2(ignore=) + 48 at keyboard.c:1088 frame #25: 0x000000010013529f Emacs`internal_catch(tag=, func=(Emacs`command_loop_2 at keyboard.c:1084), arg=0) + 223 at eval.c:1073 frame #26: 0x00000001000b94ae Emacs`command_loop + 158 at keyboard.c:1067 frame #27: 0x00000001000b93c5 Emacs`recursive_edit_1 + 101 at keyboard.c:673 frame #28: 0x00000001000b95ec Emacs`Frecursive_edit + 220 at keyboard.c:744 frame #29: 0x00000001000b82b7 Emacs`main(argc=0, argv=0x00007fff5fbff548) + 5655 at emacs.c:1643 frame #30: 0x00007fff8fdcf5ad libdyld.dylib`start + 1 frame #31: 0x00007fff8fdcf5ad libdyld.dylib`start + 1 (lldb) up frame #1: 0x00007fff8eeeb29f QuartzCore`CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 87 QuartzCore`CA::Transaction::observer_callback: 0x7fff8eeeb29f <+87>: testb $0x1, 0x80(%rbx) 0x7fff8eeeb2a6 <+94>: je 0x7fff8eeeb2f1 ; <+169> 0x7fff8eeeb2a8 <+96>: movq -0x154b2e27(%rip), %rsi ; CA::callback_timer 0x7fff8eeeb2af <+103>: testq %rsi, %rsi (lldb) up frame #2: 0x00007fff8d8aae07 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__: 0x7fff8d8aae07 <+23>: popq %rbp 0x7fff8d8aae08 <+24>: retq 0x7fff8d8aae09 <+25>: nopl (%rax) CoreFoundation`CFRunLoopRemoveObserver: 0x7fff8d8aae10 <+0>: pushq %rbp (lldb) up frame #3: 0x00007fff8d8aad77 CoreFoundation`__CFRunLoopDoObservers + 391 CoreFoundation`__CFRunLoopDoObservers: 0x7fff8d8aad77 <+391>: testb $0x2, %r13b 0x7fff8d8aad7b <+395>: jne 0x7fff8d8aad85 ; <+405> 0x7fff8d8aad7d <+397>: movq %rbx, %rdi 0x7fff8d8aad80 <+400>: callq 0x7fff8d8ab0d0 ; CFRunLoopObserverInvalidate (lldb) up frame #4: 0x00007fff8d889d58 CoreFoundation`CFRunLoopRunSpecific + 328 CoreFoundation`CFRunLoopRunSpecific: 0x7fff8d889d58 <+328>: xorl %r13d, %r13d 0x7fff8d889d5b <+331>: addq $0x10, %r15 0x7fff8d889d5f <+335>: movq %r15, %rdi 0x7fff8d889d62 <+338>: callq 0x7fff8d9d4f4e ; symbol stub for: pthread_mutex_unlock (lldb) up frame #5: 0x00007fff9621771e HIServices`waitForTransaction + 204 HIServices`waitForTransaction: 0x7fff9621771e <+204>: movl 0x8(%r12), %eax 0x7fff96217723 <+209>: testl %eax, %eax 0x7fff96217725 <+211>: movl $0xffffeca0, %ebx 0x7fff9621772a <+216>: cmovel %eax, %ebx (lldb) up frame #6: 0x00007fff9b75d907 AppKit`minimizeItemsMaybeBatching + 89 AppKit`minimizeItemsMaybeBatching: 0x7fff9b75d907 <+89>: movl %eax, %r14d 0x7fff9b75d90a <+92>: cmpl $0xffffeca0, %r14d 0x7fff9b75d911 <+99>: je 0x7fff9b75d929 ; <+123> 0x7fff9b75d913 <+101>: testl %r14d, %r14d (lldb) up frame #7: 0x00007fff9b790cfd AppKit`-[NSWindow(NSWindow_Theme) _minimizeToDock] + 192 AppKit`-[NSWindow(NSWindow_Theme) _minimizeToDock]: 0x7fff9b790cfd <+192>: movl %eax, %r12d 0x7fff9b790d00 <+195>: movq -0x1fd5c5f7(%rip), %rsi ; "release" 0x7fff9b790d07 <+202>: movq %r15, %rdi 0x7fff9b790d0a <+205>: callq *%rbx (lldb) up frame #8: 0x00000001001a490e Emacs`x_iconify_frame(f=) + 430 at nsterm.m:1211 1208 [[view window] orderOut: NSApp]; 1209 [[view window] setFrame: t display: NO]; 1210 } -> 1211 [[view window] miniaturize: NSApp]; 1212 } 1213 1214 /* Free X resources of frame F. */