Skip to content

Instantly share code, notes, and snippets.

@floam
Created July 11, 2016 08:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floam/519249caf016c0369f866ada4d5d879b to your computer and use it in GitHub Desktop.
Save floam/519249caf016c0369f866ada4d5d879b to your computer and use it in GitHub Desktop.
(lldb) bt
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4720d libsystem_malloc.dylib`default_zone_free_definite_size + 50, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff8ec4720d libsystem_malloc.dylib`default_zone_free_definite_size + 50
frame #1: 0x0000000102958418 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_dispose(std::allocator<wchar_t> const&) + 22 at basic_string.h:238 [opt]
frame #2: 0x0000000102958402 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string() at basic_string.h:493 [opt]
frame #3: 0x0000000102958402 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string() at basic_string.h:493 [opt]
frame #4: 0x0000000102958402 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::_Destroy<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*) at stl_construct.h:107 [opt]
frame #5: 0x0000000102958402 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::__destroy_aux<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*>(__first=L"VARIABLE", __last=<unavailable>) + 18 at stl_construct.h:122 [opt]
frame #6: 0x00000001029583f0 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::_Destroy<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*>(__first=<unavailable>, __last=<unavailable>) at stl_construct.h:155 [opt]
frame #7: 0x00000001029583f0 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::_Destroy<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(__first=<unavailable>, __last=<unavailable>) at stl_construct.h:182 [opt]
frame #8: 0x00000001029583f0 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector(this=<unavailable>) + 24 at stl_vector.h:271 [opt]
frame #9: 0x0000000102968929 fish`event_t::~event_t() [inlined] std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector(this=<unavailable>) + 21 at stl_vector.h:271 [opt]
frame #10: 0x0000000102968924 fish`event_t::~event_t(this=0x00007fff5d2aaeb8) + 16 at event.cpp:511 [opt]
frame #11: 0x00000001029915db fish`env_set(key=<unavailable>, val=<unavailable>, var_mode=<unavailable>) + 1300 at env.cpp:633 [opt]
frame #12: 0x00000001029bd4cd fish`input_set_bind_mode(bm=L"default") + 53 at input.cpp:218 [opt]
frame #13: 0x00000001029c01ee fish`input_mapping_execute(m=<unavailable>, allow_commands=<unavailable>) + 461 at input.cpp:476 [opt]
frame #14: 0x00000001029befe2 fish`input_readch(bool) + 419 at input.cpp:533 [opt]
frame #15: 0x00000001029bee3f fish`input_readch(allow_commands=<unavailable>) + 209 at input.cpp:605 [opt]
frame #16: 0x00000001029b0c5f fish`reader_readline(nchars=<unavailable>) + 387 at reader.cpp:2441 [opt]
frame #17: 0x00000001029b5090 fish`reader_read(int, io_chain_t const&) + 537 at reader.cpp:2306 [opt]
frame #18: 0x00000001029b4e77 fish`reader_read(fd=<unavailable>, io=<unavailable>) + 83 at reader.cpp:3409 [opt]
frame #19: 0x00000001029cbb9b fish`main(argc=<unavailable>, argv=0x0000000102a3f600) + 4643 at fish.cpp:503 [opt]
frame #20: 0x00000001029546c0 fish`start + 52
(lldb) p
Enter expressions, then terminate with an empty line to evaluate:
1: ^C
(lldb) s
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec47211 libsystem_malloc.dylib`default_zone_free_definite_size + 54, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec47211 libsystem_malloc.dylib`default_zone_free_definite_size + 54
libsystem_malloc.dylib`default_zone_free_definite_size:
-> 0x7fff8ec47211 <+54>: movq %rbx, %rsi
0x7fff8ec47214 <+57>: movq %r14, %rdx
0x7fff8ec47217 <+60>: popq %rbx
0x7fff8ec47218 <+61>: popq %r14
(lldb) s
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec47214 libsystem_malloc.dylib`default_zone_free_definite_size + 57, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec47214 libsystem_malloc.dylib`default_zone_free_definite_size + 57
libsystem_malloc.dylib`default_zone_free_definite_size:
-> 0x7fff8ec47214 <+57>: movq %r14, %rdx
0x7fff8ec47217 <+60>: popq %rbx
0x7fff8ec47218 <+61>: popq %r14
0x7fff8ec4721a <+63>: popq %rbp
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec47217 libsystem_malloc.dylib`default_zone_free_definite_size + 60, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec47217 libsystem_malloc.dylib`default_zone_free_definite_size + 60
libsystem_malloc.dylib`default_zone_free_definite_size:
-> 0x7fff8ec47217 <+60>: popq %rbx
0x7fff8ec47218 <+61>: popq %r14
0x7fff8ec4721a <+63>: popq %rbp
0x7fff8ec4721b <+64>: jmpq *%rax
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec47218 libsystem_malloc.dylib`default_zone_free_definite_size + 61, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec47218 libsystem_malloc.dylib`default_zone_free_definite_size + 61
libsystem_malloc.dylib`default_zone_free_definite_size:
-> 0x7fff8ec47218 <+61>: popq %r14
0x7fff8ec4721a <+63>: popq %rbp
0x7fff8ec4721b <+64>: jmpq *%rax
libsystem_malloc.dylib`default_zone_pressure_relief:
0x7fff8ec4721d <+0>: pushq %rbp
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4721a libsystem_malloc.dylib`default_zone_free_definite_size + 63, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4721a libsystem_malloc.dylib`default_zone_free_definite_size + 63
libsystem_malloc.dylib`default_zone_free_definite_size:
-> 0x7fff8ec4721a <+63>: popq %rbp
0x7fff8ec4721b <+64>: jmpq *%rax
libsystem_malloc.dylib`default_zone_pressure_relief:
0x7fff8ec4721d <+0>: pushq %rbp
0x7fff8ec4721e <+1>: movq %rsp, %rbp
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4721b libsystem_malloc.dylib`default_zone_free_definite_size + 64, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4721b libsystem_malloc.dylib`default_zone_free_definite_size + 64
libsystem_malloc.dylib`default_zone_free_definite_size:
-> 0x7fff8ec4721b <+64>: jmpq *%rax
libsystem_malloc.dylib`default_zone_pressure_relief:
0x7fff8ec4721d <+0>: pushq %rbp
0x7fff8ec4721e <+1>: movq %rsp, %rbp
0x7fff8ec47221 <+4>: pushq %rbx
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec399eb libsystem_malloc.dylib`szone_free_definite_size, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec399eb libsystem_malloc.dylib`szone_free_definite_size
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec399eb <+0>: movq %rdx, %rax
0x7fff8ec399ee <+3>: movq %rsi, %rcx
0x7fff8ec399f1 <+6>: testq %rcx, %rcx
0x7fff8ec399f4 <+9>: je 0x7fff8ec39a11 ; <+38>
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec399ee libsystem_malloc.dylib`szone_free_definite_size + 3, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec399ee libsystem_malloc.dylib`szone_free_definite_size + 3
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec399ee <+3>: movq %rsi, %rcx
0x7fff8ec399f1 <+6>: testq %rcx, %rcx
0x7fff8ec399f4 <+9>: je 0x7fff8ec39a11 ; <+38>
0x7fff8ec399f6 <+11>: testb $0xf, %cl
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec399f1 libsystem_malloc.dylib`szone_free_definite_size + 6, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec399f1 libsystem_malloc.dylib`szone_free_definite_size + 6
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec399f1 <+6>: testq %rcx, %rcx
0x7fff8ec399f4 <+9>: je 0x7fff8ec39a11 ; <+38>
0x7fff8ec399f6 <+11>: testb $0xf, %cl
0x7fff8ec399f9 <+14>: je 0x7fff8ec39a12 ; <+39>
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec399f4 libsystem_malloc.dylib`szone_free_definite_size + 9, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec399f4 libsystem_malloc.dylib`szone_free_definite_size + 9
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec399f4 <+9>: je 0x7fff8ec39a11 ; <+38>
0x7fff8ec399f6 <+11>: testb $0xf, %cl
0x7fff8ec399f9 <+14>: je 0x7fff8ec39a12 ; <+39>
0x7fff8ec399fb <+16>: leaq 0x16642(%rip), %rdx ; "Non-aligned pointer being freed"
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec399f6 libsystem_malloc.dylib`szone_free_definite_size + 11, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec399f6 libsystem_malloc.dylib`szone_free_definite_size + 11
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec399f6 <+11>: testb $0xf, %cl
0x7fff8ec399f9 <+14>: je 0x7fff8ec39a12 ; <+39>
0x7fff8ec399fb <+16>: leaq 0x16642(%rip), %rdx ; "Non-aligned pointer being freed"
0x7fff8ec39a02 <+23>: movl $0x1, %esi
(lldb) so
The following subcommands are supported:
info -- Display source line information (as specified) based on the current executable's debug info.
list -- Display source code (as specified) based on the current executable's debug info.
For more help on any particular subcommand, type 'help <command> <subcommand>'.
(lldb) s
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec399f9 libsystem_malloc.dylib`szone_free_definite_size + 14, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec399f9 libsystem_malloc.dylib`szone_free_definite_size + 14
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec399f9 <+14>: je 0x7fff8ec39a12 ; <+39>
0x7fff8ec399fb <+16>: leaq 0x16642(%rip), %rdx ; "Non-aligned pointer being freed"
0x7fff8ec39a02 <+23>: movl $0x1, %esi
0x7fff8ec39a07 <+28>: xorl %r8d, %r8d
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec39a12 libsystem_malloc.dylib`szone_free_definite_size + 39, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec39a12 libsystem_malloc.dylib`szone_free_definite_size + 39
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec39a12 <+39>: cmpq $0x3f0, %rax ; imm = 0x3F0
0x7fff8ec39a18 <+45>: ja 0x7fff8ec39a34 ; <+73>
0x7fff8ec39a1a <+47>: movl %ecx, %edx
0x7fff8ec39a1c <+49>: andl $0xfff80, %edx ; imm = 0xFFF80
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec39a18 libsystem_malloc.dylib`szone_free_definite_size + 45, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec39a18 libsystem_malloc.dylib`szone_free_definite_size + 45
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec39a18 <+45>: ja 0x7fff8ec39a34 ; <+73>
0x7fff8ec39a1a <+47>: movl %ecx, %edx
0x7fff8ec39a1c <+49>: andl $0xfff80, %edx ; imm = 0xFFF80
0x7fff8ec39a22 <+55>: cmpq $0xfc071, %rdx ; imm = 0xFC071
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec39a1a libsystem_malloc.dylib`szone_free_definite_size + 47, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec39a1a libsystem_malloc.dylib`szone_free_definite_size + 47
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec39a1a <+47>: movl %ecx, %edx
0x7fff8ec39a1c <+49>: andl $0xfff80, %edx ; imm = 0xFFF80
0x7fff8ec39a22 <+55>: cmpq $0xfc071, %rdx ; imm = 0xFC071
0x7fff8ec39a29 <+62>: jb 0x7fff8ec39a44 ; <+89>
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec39a1c libsystem_malloc.dylib`szone_free_definite_size + 49, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec39a1c libsystem_malloc.dylib`szone_free_definite_size + 49
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec39a1c <+49>: andl $0xfff80, %edx ; imm = 0xFFF80
0x7fff8ec39a22 <+55>: cmpq $0xfc071, %rdx ; imm = 0xFC071
0x7fff8ec39a29 <+62>: jb 0x7fff8ec39a44 ; <+89>
0x7fff8ec39a2b <+64>: leaq 0x16632(%rip), %rdx ; "Pointer to metadata being freed"
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec39a22 libsystem_malloc.dylib`szone_free_definite_size + 55, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec39a22 libsystem_malloc.dylib`szone_free_definite_size + 55
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec39a22 <+55>: cmpq $0xfc071, %rdx ; imm = 0xFC071
0x7fff8ec39a29 <+62>: jb 0x7fff8ec39a44 ; <+89>
0x7fff8ec39a2b <+64>: leaq 0x16632(%rip), %rdx ; "Pointer to metadata being freed"
0x7fff8ec39a32 <+71>: jmp 0x7fff8ec39a02 ; <+23>
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec39a29 libsystem_malloc.dylib`szone_free_definite_size + 62, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec39a29 libsystem_malloc.dylib`szone_free_definite_size + 62
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec39a29 <+62>: jb 0x7fff8ec39a44 ; <+89>
0x7fff8ec39a2b <+64>: leaq 0x16632(%rip), %rdx ; "Pointer to metadata being freed"
0x7fff8ec39a32 <+71>: jmp 0x7fff8ec39a02 ; <+23>
0x7fff8ec39a34 <+73>: testw $0x1ff, %cx ; imm = 0x1FF
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec39a44 libsystem_malloc.dylib`szone_free_definite_size + 89, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec39a44 libsystem_malloc.dylib`szone_free_definite_size + 89
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec39a44 <+89>: movq %rcx, %rdx
0x7fff8ec39a47 <+92>: andq $-0x100000, %rdx ; imm = 0xFFFFFFFFFFF00000
0x7fff8ec39a4e <+99>: movq %rcx, %rsi
0x7fff8ec39a51 <+102>: movq %rax, %rcx
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec39a47 libsystem_malloc.dylib`szone_free_definite_size + 92, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec39a47 libsystem_malloc.dylib`szone_free_definite_size + 92
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec39a47 <+92>: andq $-0x100000, %rdx ; imm = 0xFFFFFFFFFFF00000
0x7fff8ec39a4e <+99>: movq %rcx, %rsi
0x7fff8ec39a51 <+102>: movq %rax, %rcx
0x7fff8ec39a54 <+105>: jmp 0x7fff8ec4ee74 ; free_tiny
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec39a4e libsystem_malloc.dylib`szone_free_definite_size + 99, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec39a4e libsystem_malloc.dylib`szone_free_definite_size + 99
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec39a4e <+99>: movq %rcx, %rsi
0x7fff8ec39a51 <+102>: movq %rax, %rcx
0x7fff8ec39a54 <+105>: jmp 0x7fff8ec4ee74 ; free_tiny
0x7fff8ec39a59 <+110>: movl 0x134c(%rdi), %edx
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec39a51 libsystem_malloc.dylib`szone_free_definite_size + 102, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec39a51 libsystem_malloc.dylib`szone_free_definite_size + 102
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec39a51 <+102>: movq %rax, %rcx
0x7fff8ec39a54 <+105>: jmp 0x7fff8ec4ee74 ; free_tiny
0x7fff8ec39a59 <+110>: movl 0x134c(%rdi), %edx
0x7fff8ec39a5f <+116>: cmpq %rax, %rdx
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec39a54 libsystem_malloc.dylib`szone_free_definite_size + 105, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec39a54 libsystem_malloc.dylib`szone_free_definite_size + 105
libsystem_malloc.dylib`szone_free_definite_size:
-> 0x7fff8ec39a54 <+105>: jmp 0x7fff8ec4ee74 ; free_tiny
0x7fff8ec39a59 <+110>: movl 0x134c(%rdi), %edx
0x7fff8ec39a5f <+116>: cmpq %rax, %rdx
0x7fff8ec39a62 <+119>: jae 0x7fff8ec39a7f ; <+148>
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee74 libsystem_malloc.dylib`free_tiny, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee74 libsystem_malloc.dylib`free_tiny
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee74 <+0>: pushq %rbp
0x7fff8ec4ee75 <+1>: movq %rsp, %rbp
0x7fff8ec4ee78 <+4>: pushq %r15
0x7fff8ec4ee7a <+6>: pushq %r14
(lldb)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee75 libsystem_malloc.dylib`free_tiny + 1, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee75 libsystem_malloc.dylib`free_tiny + 1
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee75 <+1>: movq %rsp, %rbp
0x7fff8ec4ee78 <+4>: pushq %r15
0x7fff8ec4ee7a <+6>: pushq %r14
0x7fff8ec4ee7c <+8>: pushq %r13
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee78 libsystem_malloc.dylib`free_tiny + 4, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee78 libsystem_malloc.dylib`free_tiny + 4
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee78 <+4>: pushq %r15
0x7fff8ec4ee7a <+6>: pushq %r14
0x7fff8ec4ee7c <+8>: pushq %r13
0x7fff8ec4ee7e <+10>: pushq %r12
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee7a libsystem_malloc.dylib`free_tiny + 6, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee7a libsystem_malloc.dylib`free_tiny + 6
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee7a <+6>: pushq %r14
0x7fff8ec4ee7c <+8>: pushq %r13
0x7fff8ec4ee7e <+10>: pushq %r12
0x7fff8ec4ee80 <+12>: pushq %rbx
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee7c libsystem_malloc.dylib`free_tiny + 8, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee7c libsystem_malloc.dylib`free_tiny + 8
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee7c <+8>: pushq %r13
0x7fff8ec4ee7e <+10>: pushq %r12
0x7fff8ec4ee80 <+12>: pushq %rbx
0x7fff8ec4ee81 <+13>: subq $0x38, %rsp
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee7e libsystem_malloc.dylib`free_tiny + 10, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee7e libsystem_malloc.dylib`free_tiny + 10
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee7e <+10>: pushq %r12
0x7fff8ec4ee80 <+12>: pushq %rbx
0x7fff8ec4ee81 <+13>: subq $0x38, %rsp
0x7fff8ec4ee85 <+17>: movq %rdx, %r15
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee80 libsystem_malloc.dylib`free_tiny + 12, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee80 libsystem_malloc.dylib`free_tiny + 12
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee80 <+12>: pushq %rbx
0x7fff8ec4ee81 <+13>: subq $0x38, %rsp
0x7fff8ec4ee85 <+17>: movq %rdx, %r15
0x7fff8ec4ee88 <+20>: movq %rsi, %rdx
(lldb)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee81 libsystem_malloc.dylib`free_tiny + 13, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee81 libsystem_malloc.dylib`free_tiny + 13
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee81 <+13>: subq $0x38, %rsp
0x7fff8ec4ee85 <+17>: movq %rdx, %r15
0x7fff8ec4ee88 <+20>: movq %rsi, %rdx
0x7fff8ec4ee8b <+23>: movq %rdi, %r14
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee85 libsystem_malloc.dylib`free_tiny + 17, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee85 libsystem_malloc.dylib`free_tiny + 17
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee85 <+17>: movq %rdx, %r15
0x7fff8ec4ee88 <+20>: movq %rsi, %rdx
0x7fff8ec4ee8b <+23>: movq %rdi, %r14
0x7fff8ec4ee8e <+26>: movl 0xfc09c(%r15), %ebx
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee88 libsystem_malloc.dylib`free_tiny + 20, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee88 libsystem_malloc.dylib`free_tiny + 20
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee88 <+20>: movq %rsi, %rdx
0x7fff8ec4ee8b <+23>: movq %rdi, %r14
0x7fff8ec4ee8e <+26>: movl 0xfc09c(%r15), %ebx
0x7fff8ec4ee95 <+33>: movslq %ebx, %rax
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee8b libsystem_malloc.dylib`free_tiny + 23, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee8b libsystem_malloc.dylib`free_tiny + 23
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee8b <+23>: movq %rdi, %r14
0x7fff8ec4ee8e <+26>: movl 0xfc09c(%r15), %ebx
0x7fff8ec4ee95 <+33>: movslq %ebx, %rax
0x7fff8ec4ee98 <+36>: movq 0x10f0(%r14), %rsi
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee8e libsystem_malloc.dylib`free_tiny + 26, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee8e libsystem_malloc.dylib`free_tiny + 26
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee8e <+26>: movl 0xfc09c(%r15), %ebx
0x7fff8ec4ee95 <+33>: movslq %ebx, %rax
0x7fff8ec4ee98 <+36>: movq 0x10f0(%r14), %rsi
0x7fff8ec4ee9f <+43>: movq %rsi, -0x40(%rbp)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee95 libsystem_malloc.dylib`free_tiny + 33, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee95 libsystem_malloc.dylib`free_tiny + 33
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee95 <+33>: movslq %ebx, %rax
0x7fff8ec4ee98 <+36>: movq 0x10f0(%r14), %rsi
0x7fff8ec4ee9f <+43>: movq %rsi, -0x40(%rbp)
0x7fff8ec4eea3 <+47>: leaq (%rax,%rax,4), %r11
(lldb)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee98 libsystem_malloc.dylib`free_tiny + 36, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee98 libsystem_malloc.dylib`free_tiny + 36
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee98 <+36>: movq 0x10f0(%r14), %rsi
0x7fff8ec4ee9f <+43>: movq %rsi, -0x40(%rbp)
0x7fff8ec4eea3 <+47>: leaq (%rax,%rax,4), %r11
0x7fff8ec4eea7 <+51>: shlq $0x9, %r11
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4ee9f libsystem_malloc.dylib`free_tiny + 43, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4ee9f libsystem_malloc.dylib`free_tiny + 43
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4ee9f <+43>: movq %rsi, -0x40(%rbp)
0x7fff8ec4eea3 <+47>: leaq (%rax,%rax,4), %r11
0x7fff8ec4eea7 <+51>: shlq $0x9, %r11
0x7fff8ec4eeab <+55>: leaq (%rsi,%r11), %r12
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eea3 libsystem_malloc.dylib`free_tiny + 47, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eea3 libsystem_malloc.dylib`free_tiny + 47
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eea3 <+47>: leaq (%rax,%rax,4), %r11
0x7fff8ec4eea7 <+51>: shlq $0x9, %r11
0x7fff8ec4eeab <+55>: leaq (%rsi,%r11), %r12
0x7fff8ec4eeaf <+59>: movzbl 0x88807de(%rip), %eax ; malloc_tracing_enabled
(lldb)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eea7 libsystem_malloc.dylib`free_tiny + 51, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eea7 libsystem_malloc.dylib`free_tiny + 51
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eea7 <+51>: shlq $0x9, %r11
0x7fff8ec4eeab <+55>: leaq (%rsi,%r11), %r12
0x7fff8ec4eeaf <+59>: movzbl 0x88807de(%rip), %eax ; malloc_tracing_enabled
0x7fff8ec4eeb6 <+66>: andl $0x1, %eax
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eeab libsystem_malloc.dylib`free_tiny + 55, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eeab libsystem_malloc.dylib`free_tiny + 55
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eeab <+55>: leaq (%rsi,%r11), %r12
0x7fff8ec4eeaf <+59>: movzbl 0x88807de(%rip), %eax ; malloc_tracing_enabled
0x7fff8ec4eeb6 <+66>: andl $0x1, %eax
0x7fff8ec4eeb9 <+69>: cmpl $0x1, %eax
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eeaf libsystem_malloc.dylib`free_tiny + 59, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eeaf libsystem_malloc.dylib`free_tiny + 59
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eeaf <+59>: movzbl 0x88807de(%rip), %eax ; malloc_tracing_enabled
0x7fff8ec4eeb6 <+66>: andl $0x1, %eax
0x7fff8ec4eeb9 <+69>: cmpl $0x1, %eax
0x7fff8ec4eebc <+72>: jne 0x7fff8ec4eeed ; <+121>
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eeb6 libsystem_malloc.dylib`free_tiny + 66, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eeb6 libsystem_malloc.dylib`free_tiny + 66
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eeb6 <+66>: andl $0x1, %eax
0x7fff8ec4eeb9 <+69>: cmpl $0x1, %eax
0x7fff8ec4eebc <+72>: jne 0x7fff8ec4eeed ; <+121>
0x7fff8ec4eebe <+74>: movl $0x33020018, %edi ; imm = 0x33020018
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eeb9 libsystem_malloc.dylib`free_tiny + 69, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eeb9 libsystem_malloc.dylib`free_tiny + 69
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eeb9 <+69>: cmpl $0x1, %eax
0x7fff8ec4eebc <+72>: jne 0x7fff8ec4eeed ; <+121>
0x7fff8ec4eebe <+74>: movl $0x33020018, %edi ; imm = 0x33020018
0x7fff8ec4eec3 <+79>: movq %r14, %rsi
(lldb)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eebc libsystem_malloc.dylib`free_tiny + 72, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eebc libsystem_malloc.dylib`free_tiny + 72
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eebc <+72>: jne 0x7fff8ec4eeed ; <+121>
0x7fff8ec4eebe <+74>: movl $0x33020018, %edi ; imm = 0x33020018
0x7fff8ec4eec3 <+79>: movq %r14, %rsi
0x7fff8ec4eec6 <+82>: movq %r15, -0x30(%rbp)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eeed libsystem_malloc.dylib`free_tiny + 121, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eeed libsystem_malloc.dylib`free_tiny + 121
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eeed <+121>: testq %rcx, %rcx
0x7fff8ec4eef0 <+124>: je 0x7fff8ec4ef04 ; <+144>
0x7fff8ec4eef2 <+126>: movq %r15, -0x30(%rbp)
0x7fff8ec4eef6 <+130>: addl $0xf, %ecx
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eef0 libsystem_malloc.dylib`free_tiny + 124, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eef0 libsystem_malloc.dylib`free_tiny + 124
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eef0 <+124>: je 0x7fff8ec4ef04 ; <+144>
0x7fff8ec4eef2 <+126>: movq %r15, -0x30(%rbp)
0x7fff8ec4eef6 <+130>: addl $0xf, %ecx
0x7fff8ec4eef9 <+133>: shrl $0x4, %ecx
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eef2 libsystem_malloc.dylib`free_tiny + 126, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eef2 libsystem_malloc.dylib`free_tiny + 126
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eef2 <+126>: movq %r15, -0x30(%rbp)
0x7fff8ec4eef6 <+130>: addl $0xf, %ecx
0x7fff8ec4eef9 <+133>: shrl $0x4, %ecx
0x7fff8ec4eefc <+136>: movq %rcx, %r15
(lldb)
(lldb)
error: invalid thread
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eef6 libsystem_malloc.dylib`free_tiny + 130, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eef6 libsystem_malloc.dylib`free_tiny + 130
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eef6 <+130>: addl $0xf, %ecx
0x7fff8ec4eef9 <+133>: shrl $0x4, %ecx
0x7fff8ec4eefc <+136>: movq %rcx, %r15
0x7fff8ec4eeff <+139>: jmp 0x7fff8ec4efa5 ; <+305>
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eef9 libsystem_malloc.dylib`free_tiny + 133, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eef9 libsystem_malloc.dylib`free_tiny + 133
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eef9 <+133>: shrl $0x4, %ecx
0x7fff8ec4eefc <+136>: movq %rcx, %r15
0x7fff8ec4eeff <+139>: jmp 0x7fff8ec4efa5 ; <+305>
0x7fff8ec4ef04 <+144>: movq %rdx, %r10
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eefc libsystem_malloc.dylib`free_tiny + 136, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eefc libsystem_malloc.dylib`free_tiny + 136
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eefc <+136>: movq %rcx, %r15
0x7fff8ec4eeff <+139>: jmp 0x7fff8ec4efa5 ; <+305>
0x7fff8ec4ef04 <+144>: movq %rdx, %r10
0x7fff8ec4ef07 <+147>: andq $-0x100000, %r10 ; imm = 0xFFFFFFFFFFF00000
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eeff libsystem_malloc.dylib`free_tiny + 139, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eeff libsystem_malloc.dylib`free_tiny + 139
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eeff <+139>: jmp 0x7fff8ec4efa5 ; <+305>
0x7fff8ec4ef04 <+144>: movq %rdx, %r10
0x7fff8ec4ef07 <+147>: andq $-0x100000, %r10 ; imm = 0xFFFFFFFFFFF00000
0x7fff8ec4ef0e <+154>: movl %edx, %eax
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4efa5 libsystem_malloc.dylib`free_tiny + 305, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4efa5 libsystem_malloc.dylib`free_tiny + 305
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4efa5 <+305>: movl %gs:0x18, %ecx
0x7fff8ec4efad <+313>: xorl %eax, %eax
0x7fff8ec4efaf <+315>: lock
0x7fff8ec4efb0 <+316>: cmpxchgl %ecx, (%r12)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4efad libsystem_malloc.dylib`free_tiny + 313, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4efad libsystem_malloc.dylib`free_tiny + 313
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4efad <+313>: xorl %eax, %eax
0x7fff8ec4efaf <+315>: lock
0x7fff8ec4efb0 <+316>: cmpxchgl %ecx, (%r12)
0x7fff8ec4efb5 <+321>: je 0x7fff8ec4efd2 ; <+350>
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4efaf libsystem_malloc.dylib`free_tiny + 315, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4efaf libsystem_malloc.dylib`free_tiny + 315
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4efaf <+315>: lock
0x7fff8ec4efb0 <+316>: cmpxchgl %ecx, (%r12)
0x7fff8ec4efb5 <+321>: je 0x7fff8ec4efd2 ; <+350>
0x7fff8ec4efb7 <+323>: movl $0x10000, %esi ; imm = 0x10000
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4efb5 libsystem_malloc.dylib`free_tiny + 321, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4efb5 libsystem_malloc.dylib`free_tiny + 321
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4efb5 <+321>: je 0x7fff8ec4efd2 ; <+350>
0x7fff8ec4efb7 <+323>: movl $0x10000, %esi ; imm = 0x10000
0x7fff8ec4efbc <+328>: movq %r12, %rdi
0x7fff8ec4efbf <+331>: movq %rdx, %r13
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4efd2 libsystem_malloc.dylib`free_tiny + 350, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4efd2 libsystem_malloc.dylib`free_tiny + 350
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4efd2 <+350>: cmpl $-0x1, %ebx
0x7fff8ec4efd5 <+353>: movq %r15, %rax
0x7fff8ec4efd8 <+356>: je 0x7fff8ec4f084 ; <+528>
0x7fff8ec4efde <+362>: movzwl %ax, %r13d
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4efd5 libsystem_malloc.dylib`free_tiny + 353, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4efd5 libsystem_malloc.dylib`free_tiny + 353
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4efd5 <+353>: movq %r15, %rax
0x7fff8ec4efd8 <+356>: je 0x7fff8ec4f084 ; <+528>
0x7fff8ec4efde <+362>: movzwl %ax, %r13d
0x7fff8ec4efe2 <+366>: cmpl $0xf, %r13d
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4efd8 libsystem_malloc.dylib`free_tiny + 356, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4efd8 libsystem_malloc.dylib`free_tiny + 356
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4efd8 <+356>: je 0x7fff8ec4f084 ; <+528>
0x7fff8ec4efde <+362>: movzwl %ax, %r13d
0x7fff8ec4efe2 <+366>: cmpl $0xf, %r13d
0x7fff8ec4efe6 <+370>: ja 0x7fff8ec4f084 ; <+528>
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4efde libsystem_malloc.dylib`free_tiny + 362, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4efde libsystem_malloc.dylib`free_tiny + 362
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4efde <+362>: movzwl %ax, %r13d
0x7fff8ec4efe2 <+366>: cmpl $0xf, %r13d
0x7fff8ec4efe6 <+370>: ja 0x7fff8ec4f084 ; <+528>
0x7fff8ec4efec <+376>: movq -0x40(%rbp), %rcx
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4efe2 libsystem_malloc.dylib`free_tiny + 366, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4efe2 libsystem_malloc.dylib`free_tiny + 366
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4efe2 <+366>: cmpl $0xf, %r13d
0x7fff8ec4efe6 <+370>: ja 0x7fff8ec4f084 ; <+528>
0x7fff8ec4efec <+376>: movq -0x40(%rbp), %rcx
0x7fff8ec4eff0 <+380>: movq 0x8(%rcx,%r11), %rdi
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4efe6 libsystem_malloc.dylib`free_tiny + 370, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4efe6 libsystem_malloc.dylib`free_tiny + 370
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4efe6 <+370>: ja 0x7fff8ec4f084 ; <+528>
0x7fff8ec4efec <+376>: movq -0x40(%rbp), %rcx
0x7fff8ec4eff0 <+380>: movq 0x8(%rcx,%r11), %rdi
0x7fff8ec4eff5 <+385>: movq %rdi, %rsi
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4efec libsystem_malloc.dylib`free_tiny + 376, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4efec libsystem_malloc.dylib`free_tiny + 376
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4efec <+376>: movq -0x40(%rbp), %rcx
0x7fff8ec4eff0 <+380>: movq 0x8(%rcx,%r11), %rdi
0x7fff8ec4eff5 <+385>: movq %rdi, %rsi
0x7fff8ec4eff8 <+388>: andq $-0x10, %rsi
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eff0 libsystem_malloc.dylib`free_tiny + 380, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eff0 libsystem_malloc.dylib`free_tiny + 380
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eff0 <+380>: movq 0x8(%rcx,%r11), %rdi
0x7fff8ec4eff5 <+385>: movq %rdi, %rsi
0x7fff8ec4eff8 <+388>: andq $-0x10, %rsi
0x7fff8ec4effc <+392>: cmpq %rdx, %rsi
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eff5 libsystem_malloc.dylib`free_tiny + 385, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eff5 libsystem_malloc.dylib`free_tiny + 385
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4eff5 <+385>: movq %rdi, %rsi
0x7fff8ec4eff8 <+388>: andq $-0x10, %rsi
0x7fff8ec4effc <+392>: cmpq %rdx, %rsi
0x7fff8ec4efff <+395>: je 0x7fff8ec4f14e ; <+730>
(lldb)
(lldb)
(lldb)
error: invalid thread
(lldb)
error: invalid thread
(lldb)
error: invalid thread
(lldb)
error: invalid thread
(lldb)
error: invalid thread
(lldb)
error: invalid thread
(lldb)
error: invalid thread
(lldb)
error: invalid thread
(lldb)
error: invalid thread
(lldb)
error: invalid thread
(lldb)
error: invalid thread
(lldb)
error: invalid thread
(lldb)
error: invalid thread
(lldb)
error: invalid thread
(lldb)
error: invalid thread
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eff8 libsystem_malloc.dylib`free_tiny + 388, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eff8 libsystem_malloc.dylib`free_tiny + 388
libsystem_malloc.dylib`free_tiny:
0x7fff8ec4eff8 <+388>: andq $-0x10, %rsi
-> 0x7fff8ec4effc <+392>: cmpq %rdx, %rsi
0x7fff8ec4efff <+395>: je 0x7fff8ec4f14e ; <+730>
0x7fff8ec4f005 <+401>: movq %rdx, -0x38(%rbp)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4eff8 libsystem_malloc.dylib`free_tiny + 388, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4eff8 libsystem_malloc.dylib`free_tiny + 388
libsystem_malloc.dylib`free_tiny:
0x7fff8ec4eff8 <+388>: andq $-0x10, %rsi
-> 0x7fff8ec4effc <+392>: cmpq %rdx, %rsi
0x7fff8ec4efff <+395>: je 0x7fff8ec4f14e ; <+730>
0x7fff8ec4f005 <+401>: movq %rdx, -0x38(%rbp)
(lldb) s
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4efff libsystem_malloc.dylib`free_tiny + 395, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4efff libsystem_malloc.dylib`free_tiny + 395
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4efff <+395>: je 0x7fff8ec4f14e ; <+730>
0x7fff8ec4f005 <+401>: movq %rdx, -0x38(%rbp)
0x7fff8ec4f009 <+405>: leaq 0x8(%rcx,%r11), %rdx
0x7fff8ec4f00e <+410>: movq 0x10(%rcx,%r11), %r15
(lldb) s
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f005 libsystem_malloc.dylib`free_tiny + 401, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f005 libsystem_malloc.dylib`free_tiny + 401
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f005 <+401>: movq %rdx, -0x38(%rbp)
0x7fff8ec4f009 <+405>: leaq 0x8(%rcx,%r11), %rdx
0x7fff8ec4f00e <+410>: movq 0x10(%rcx,%r11), %r15
0x7fff8ec4f013 <+415>: leaq 0x10(%rcx,%r11), %rcx
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f009 libsystem_malloc.dylib`free_tiny + 405, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f009 libsystem_malloc.dylib`free_tiny + 405
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f009 <+405>: leaq 0x8(%rcx,%r11), %rdx
0x7fff8ec4f00e <+410>: movq 0x10(%rcx,%r11), %r15
0x7fff8ec4f013 <+415>: leaq 0x10(%rcx,%r11), %rcx
0x7fff8ec4f018 <+420>: testw %ax, %ax
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f00e libsystem_malloc.dylib`free_tiny + 410, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f00e libsystem_malloc.dylib`free_tiny + 410
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f00e <+410>: movq 0x10(%rcx,%r11), %r15
0x7fff8ec4f013 <+415>: leaq 0x10(%rcx,%r11), %rcx
0x7fff8ec4f018 <+420>: testw %ax, %ax
0x7fff8ec4f01b <+423>: je 0x7fff8ec4f05e ; <+490>
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f013 libsystem_malloc.dylib`free_tiny + 415, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f013 libsystem_malloc.dylib`free_tiny + 415
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f013 <+415>: leaq 0x10(%rcx,%r11), %rcx
0x7fff8ec4f018 <+420>: testw %ax, %ax
0x7fff8ec4f01b <+423>: je 0x7fff8ec4f05e ; <+490>
0x7fff8ec4f01d <+425>: movl 0x1008(%r14), %eax
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f018 libsystem_malloc.dylib`free_tiny + 420, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f018 libsystem_malloc.dylib`free_tiny + 420
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f018 <+420>: testw %ax, %ax
0x7fff8ec4f01b <+423>: je 0x7fff8ec4f05e ; <+490>
0x7fff8ec4f01d <+425>: movl 0x1008(%r14), %eax
0x7fff8ec4f024 <+432>: andl $0x8, %eax
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f01b libsystem_malloc.dylib`free_tiny + 423, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f01b libsystem_malloc.dylib`free_tiny + 423
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f01b <+423>: je 0x7fff8ec4f05e ; <+490>
0x7fff8ec4f01d <+425>: movl 0x1008(%r14), %eax
0x7fff8ec4f024 <+432>: andl $0x8, %eax
0x7fff8ec4f027 <+435>: je 0x7fff8ec4f05e ; <+490>
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f01d libsystem_malloc.dylib`free_tiny + 425, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f01d libsystem_malloc.dylib`free_tiny + 425
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f01d <+425>: movl 0x1008(%r14), %eax
0x7fff8ec4f024 <+432>: andl $0x8, %eax
0x7fff8ec4f027 <+435>: je 0x7fff8ec4f05e ; <+490>
0x7fff8ec4f029 <+437>: movq %rdx, -0x50(%rbp)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f024 libsystem_malloc.dylib`free_tiny + 432, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f024 libsystem_malloc.dylib`free_tiny + 432
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f024 <+432>: andl $0x8, %eax
0x7fff8ec4f027 <+435>: je 0x7fff8ec4f05e ; <+490>
0x7fff8ec4f029 <+437>: movq %rdx, -0x50(%rbp)
0x7fff8ec4f02d <+441>: movq %r13, %rdx
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f027 libsystem_malloc.dylib`free_tiny + 435, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f027 libsystem_malloc.dylib`free_tiny + 435
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f027 <+435>: je 0x7fff8ec4f05e ; <+490>
0x7fff8ec4f029 <+437>: movq %rdx, -0x50(%rbp)
0x7fff8ec4f02d <+441>: movq %r13, %rdx
0x7fff8ec4f030 <+444>: shlq $0x4, %rdx
(lldb)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f05e libsystem_malloc.dylib`free_tiny + 490, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f05e libsystem_malloc.dylib`free_tiny + 490
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f05e <+490>: movq -0x38(%rbp), %rax
0x7fff8ec4f062 <+494>: orq %r13, %rax
0x7fff8ec4f065 <+497>: movq %rax, (%rdx)
0x7fff8ec4f068 <+500>: movq -0x30(%rbp), %rax
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f062 libsystem_malloc.dylib`free_tiny + 494, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f062 libsystem_malloc.dylib`free_tiny + 494
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f062 <+494>: orq %r13, %rax
0x7fff8ec4f065 <+497>: movq %rax, (%rdx)
0x7fff8ec4f068 <+500>: movq -0x30(%rbp), %rax
0x7fff8ec4f06c <+504>: movq %rax, (%rcx)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f065 libsystem_malloc.dylib`free_tiny + 497, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f065 libsystem_malloc.dylib`free_tiny + 497
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f065 <+497>: movq %rax, (%rdx)
0x7fff8ec4f068 <+500>: movq -0x30(%rbp), %rax
0x7fff8ec4f06c <+504>: movq %rax, (%rcx)
0x7fff8ec4f06f <+507>: testq %rdi, %rdi
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f068 libsystem_malloc.dylib`free_tiny + 500, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f068 libsystem_malloc.dylib`free_tiny + 500
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f068 <+500>: movq -0x30(%rbp), %rax
0x7fff8ec4f06c <+504>: movq %rax, (%rcx)
0x7fff8ec4f06f <+507>: testq %rdi, %rdi
0x7fff8ec4f072 <+510>: je 0x7fff8ec4f117 ; <+675>
(lldb)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f06c libsystem_malloc.dylib`free_tiny + 504, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f06c libsystem_malloc.dylib`free_tiny + 504
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f06c <+504>: movq %rax, (%rcx)
0x7fff8ec4f06f <+507>: testq %rdi, %rdi
0x7fff8ec4f072 <+510>: je 0x7fff8ec4f117 ; <+675>
0x7fff8ec4f078 <+516>: andl $0xf, %edi
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f06f libsystem_malloc.dylib`free_tiny + 507, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f06f libsystem_malloc.dylib`free_tiny + 507
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f06f <+507>: testq %rdi, %rdi
0x7fff8ec4f072 <+510>: je 0x7fff8ec4f117 ; <+675>
0x7fff8ec4f078 <+516>: andl $0xf, %edi
0x7fff8ec4f07b <+519>: movw %di, %ax
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f072 libsystem_malloc.dylib`free_tiny + 510, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f072 libsystem_malloc.dylib`free_tiny + 510
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f072 <+510>: je 0x7fff8ec4f117 ; <+675>
0x7fff8ec4f078 <+516>: andl $0xf, %edi
0x7fff8ec4f07b <+519>: movw %di, %ax
0x7fff8ec4f07e <+522>: movq %rsi, -0x38(%rbp)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f117 libsystem_malloc.dylib`free_tiny + 675, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f117 libsystem_malloc.dylib`free_tiny + 675
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f117 <+675>: movl %gs:0x18, %eax
0x7fff8ec4f11f <+683>: xorl %ecx, %ecx
0x7fff8ec4f121 <+685>: lock
0x7fff8ec4f122 <+686>: cmpxchgl %ecx, (%r12)
(lldb)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f11f libsystem_malloc.dylib`free_tiny + 683, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f11f libsystem_malloc.dylib`free_tiny + 683
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f11f <+683>: xorl %ecx, %ecx
0x7fff8ec4f121 <+685>: lock
0x7fff8ec4f122 <+686>: cmpxchgl %ecx, (%r12)
0x7fff8ec4f127 <+691>: jne 0x7fff8ec4f138 ; <+708>
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f121 libsystem_malloc.dylib`free_tiny + 685, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f121 libsystem_malloc.dylib`free_tiny + 685
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f121 <+685>: lock
0x7fff8ec4f122 <+686>: cmpxchgl %ecx, (%r12)
0x7fff8ec4f127 <+691>: jne 0x7fff8ec4f138 ; <+708>
0x7fff8ec4f129 <+693>: addq $0x38, %rsp
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f127 libsystem_malloc.dylib`free_tiny + 691, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f127 libsystem_malloc.dylib`free_tiny + 691
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f127 <+691>: jne 0x7fff8ec4f138 ; <+708>
0x7fff8ec4f129 <+693>: addq $0x38, %rsp
0x7fff8ec4f12d <+697>: popq %rbx
0x7fff8ec4f12e <+698>: popq %r12
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f129 libsystem_malloc.dylib`free_tiny + 693, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f129 libsystem_malloc.dylib`free_tiny + 693
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f129 <+693>: addq $0x38, %rsp
0x7fff8ec4f12d <+697>: popq %rbx
0x7fff8ec4f12e <+698>: popq %r12
0x7fff8ec4f130 <+700>: popq %r13
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f12d libsystem_malloc.dylib`free_tiny + 697, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f12d libsystem_malloc.dylib`free_tiny + 697
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f12d <+697>: popq %rbx
0x7fff8ec4f12e <+698>: popq %r12
0x7fff8ec4f130 <+700>: popq %r13
0x7fff8ec4f132 <+702>: popq %r14
(lldb)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f12e libsystem_malloc.dylib`free_tiny + 698, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f12e libsystem_malloc.dylib`free_tiny + 698
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f12e <+698>: popq %r12
0x7fff8ec4f130 <+700>: popq %r13
0x7fff8ec4f132 <+702>: popq %r14
0x7fff8ec4f134 <+704>: popq %r15
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f130 libsystem_malloc.dylib`free_tiny + 700, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f130 libsystem_malloc.dylib`free_tiny + 700
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f130 <+700>: popq %r13
0x7fff8ec4f132 <+702>: popq %r14
0x7fff8ec4f134 <+704>: popq %r15
0x7fff8ec4f136 <+706>: popq %rbp
(lldb)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f134 libsystem_malloc.dylib`free_tiny + 704, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f134 libsystem_malloc.dylib`free_tiny + 704
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f134 <+704>: popq %r15
0x7fff8ec4f136 <+706>: popq %rbp
0x7fff8ec4f137 <+707>: retq
0x7fff8ec4f138 <+708>: movq %r12, %rdi
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f136 libsystem_malloc.dylib`free_tiny + 706, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f136 libsystem_malloc.dylib`free_tiny + 706
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f136 <+706>: popq %rbp
0x7fff8ec4f137 <+707>: retq
0x7fff8ec4f138 <+708>: movq %r12, %rdi
0x7fff8ec4f13b <+711>: addq $0x38, %rsp
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00007fff8ec4f137 libsystem_malloc.dylib`free_tiny + 707, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x00007fff8ec4f137 libsystem_malloc.dylib`free_tiny + 707
libsystem_malloc.dylib`free_tiny:
-> 0x7fff8ec4f137 <+707>: retq
0x7fff8ec4f138 <+708>: movq %r12, %rdi
0x7fff8ec4f13b <+711>: addq $0x38, %rsp
0x7fff8ec4f13f <+715>: popq %rbx
(lldb)
fish was compiled with optimization - stepping may behave oddly; variables may not be available.
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102958418 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_dispose(std::allocator<wchar_t> const&) + 22 at basic_string.h:238, queue = 'com.apple.main-thread', stop reason = instruction step into
frame #0: 0x0000000102958418 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_dispose(std::allocator<wchar_t> const&) + 22 at basic_string.h:238 [opt]
235 #endif
236 if (__gnu_cxx::__exchange_and_add_dispatch(&this->_M_refcount,
237 -1) <= 0)
-> 238 _M_destroy(__a);
239 } // XXX MT
240
241 void
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102958426 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::__destroy_aux<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*>(__first=L"VARIABLE", __last=<unavailable>) + 54 at stl_construct.h:121, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x0000000102958426 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::__destroy_aux<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*>(__first=L"VARIABLE", __last=<unavailable>) + 54 at stl_construct.h:121 [opt]
118 __destroy_aux(_ForwardIterator __first, _ForwardIterator __last,
119 __false_type)
120 {
-> 121 for (; __first != __last; ++__first)
122 std::_Destroy(&*__first);
123 }
124
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102958402 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::__destroy_aux<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*>(__first=L"SET", __last=<unavailable>) + 18 at stl_construct.h:122, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x0000000102958402 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::__destroy_aux<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*>(__first=L"SET", __last=<unavailable>) + 18 at stl_construct.h:122 [opt]
119 __false_type)
120 {
121 for (; __first != __last; ++__first)
-> 122 std::_Destroy(&*__first);
123 }
124
125 /**
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102958402 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::_Destroy<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*) at stl_construct.h:107, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x0000000102958402 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::_Destroy<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*) at stl_construct.h:107 [opt]
104 template<typename _Tp>
105 inline void
106 _Destroy(_Tp* __pointer)
-> 107 { __pointer->~_Tp(); }
108
109 /**
110 * @if maint
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102958426 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::__destroy_aux<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*>(__first=L"SET", __last=<unavailable>) + 54 at stl_construct.h:121, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x0000000102958426 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::__destroy_aux<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*>(__first=L"SET", __last=<unavailable>) + 54 at stl_construct.h:121 [opt]
118 __destroy_aux(_ForwardIterator __first, _ForwardIterator __last,
119 __false_type)
120 {
-> 121 for (; __first != __last; ++__first)
122 std::_Destroy(&*__first);
123 }
124
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102958402 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::__destroy_aux<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*>(__first=L"fish_bind_mode", __last=<unavailable>) + 18 at stl_construct.h:122, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x0000000102958402 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::__destroy_aux<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*>(__first=L"fish_bind_mode", __last=<unavailable>) + 18 at stl_construct.h:122 [opt]
119 __false_type)
120 {
121 for (; __first != __last; ++__first)
-> 122 std::_Destroy(&*__first);
123 }
124
125 /**
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102958402 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::_Destroy<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*) at stl_construct.h:107, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x0000000102958402 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::_Destroy<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*) at stl_construct.h:107 [opt]
104 template<typename _Tp>
105 inline void
106 _Destroy(_Tp* __pointer)
-> 107 { __pointer->~_Tp(); }
108
109 /**
110 * @if maint
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102958426 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::__destroy_aux<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*>(__first=L"fish_bind_mode", __last=<unavailable>) + 54 at stl_construct.h:121, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x0000000102958426 fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector() [inlined] void std::__destroy_aux<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >*>(__first=L"fish_bind_mode", __last=<unavailable>) + 54 at stl_construct.h:121 [opt]
118 __destroy_aux(_ForwardIterator __first, _ForwardIterator __last,
119 __false_type)
120 {
-> 121 for (; __first != __last; ++__first)
122 std::_Destroy(&*__first);
123 }
124
(lldb)
(lldb) Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x000000010295842f fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector(this=<unavailable>) + 87 at stl_vector.h:272, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x000000010295842f fish`std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::~vector(this=<unavailable>) + 87 at stl_vector.h:272 [opt]
269 */
270 ~vector()
271 { std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
-> 272 _M_get_Tp_allocator()); }
273
274 /**
275 * @brief %Vector assignment operator.
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102968929 fish`event_t::~event_t(this=0x00007fff5d2aaeb8) + 21 at event.cpp:511, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x0000000102968929 fish`event_t::~event_t(this=0x00007fff5d2aaeb8) + 21 at event.cpp:511 [opt]
508
509 event_t::event_t(int t) : type(t), param1(), str_param1(), function_name(), arguments() {}
510
-> 511 event_t::~event_t() {}
512
513 event_t event_t::signal_event(int sig) {
514 event_t event(EVENT_SIGNAL);
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029915db fish`env_set(key=<unavailable>, val=<unavailable>, var_mode=<unavailable>) + 1300 at env.cpp:633, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029915db fish`env_set(key=<unavailable>, val=<unavailable>, var_mode=<unavailable>) + 1300 at env.cpp:633 [opt]
630
631 react_to_variable_change(key);
632 return 0;
-> 633 }
634
635 /// Attempt to remove/free the specified key/value pair from the specified map.
636 ///
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029bd4cd fish`input_set_bind_mode(bm=L"default") + 53 at input.cpp:218, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029bd4cd fish`input_set_bind_mode(bm=L"default") + 53 at input.cpp:218 [opt]
215
216 /// Set the current bind mode.
217 void input_set_bind_mode(const wcstring &bm) {
-> 218 env_set(FISH_BIND_MODE_VAR, bm.c_str(), ENV_GLOBAL);
219 }
220
221 /// Returns the arity of a given input function.
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029bd4de fish`input_set_bind_mode(bm=L"default") + 70 at input.cpp:219, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029bd4de fish`input_set_bind_mode(bm=L"default") + 70 at input.cpp:219 [opt]
216 /// Set the current bind mode.
217 void input_set_bind_mode(const wcstring &bm) {
218 env_set(FISH_BIND_MODE_VAR, bm.c_str(), ENV_GLOBAL);
-> 219 }
220
221 /// Returns the arity of a given input function.
222 int input_function_arity(int function) {
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c01ee fish`input_mapping_execute(m=<unavailable>, allow_commands=<unavailable>) + 461 at input.cpp:477, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c01ee fish`input_mapping_execute(m=<unavailable>, allow_commands=<unavailable>) + 461 at input.cpp:477 [opt]
474 }
475
476 input_set_bind_mode(m.sets_mode);
-> 477 }
478
479 /// Try reading the specified function mapping.
480 static bool input_mapping_is_match(const input_mapping_t &m) {
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029befe2 fish`input_readch(bool) + 419 at input.cpp:518, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029befe2 fish`input_readch(bool) + 419 at input.cpp:518 [opt]
515
516 const wcstring bind_mode = input_get_bind_mode();
517
-> 518 for (int i = 0; i < mapping_list.size(); i++) {
519 const input_mapping_t &m = mapping_list.at(i);
520
521 // debug(0, L"trying mapping (%ls,%ls,%ls)\n", escape(m.seq.c_str(), ESCAPE_ALL).c_str(),
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029befec fish`input_readch(bool) [inlined] input_mapping_execute_matching_or_generic(bool) + 429 at input.cpp:545, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029befec fish`input_readch(bool) [inlined] input_mapping_execute_matching_or_generic(bool) + 429 at input.cpp:545 [opt]
542 wchar_t c = input_common_readch(0);
543 if (c == R_EOF) input_common_next_ch(c);
544 }
-> 545 }
546
547 /// Helper function. Picks through the queue of incoming characters until we get to one that's not a
548 /// readline function.
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029bf001 fish`input_readch(allow_commands=<unavailable>) + 659 at input.cpp:578, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029bf001 fish`input_readch(allow_commands=<unavailable>) + 659 at input.cpp:578 [opt]
575 reader_reset_interrupted();
576 // Search for sequence in mapping tables.
577 while (1) {
-> 578 wchar_t c = input_common_readch(0);
579
580 if (c >= R_MIN && c <= R_MAX) {
581 switch (c) {
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029695fe fish`input_common_readch(timed=0) + 34 at input_common.cpp:243, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029695fe fish`input_common_readch(timed=0) + 34 at input_common.cpp:243 [opt]
240 }
241 } else {
242 if (!timed) {
-> 243 while (has_lookahead() && lookahead_front() == WEOF) lookahead_pop();
244 if (!has_lookahead()) return input_common_readch(0);
245 }
246
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029695fe fish`input_common_readch(int) [inlined] has_lookahead() at input_common.cpp:46, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029695fe fish`input_common_readch(int) [inlined] has_lookahead() at input_common.cpp:46 [opt]
43 static callback_queue_t callback_queue;
44 static void input_flush_callbacks(void);
45
-> 46 static bool has_lookahead(void) { return !lookahead_list.empty(); }
47
48 static wint_t lookahead_pop(void) {
49 wint_t result = lookahead_list.front();
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x000000010296960c fish`input_common_readch(timed=0) + 48 at input_common.cpp:198, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x000000010296960c fish`input_common_readch(timed=0) + 48 at input_common.cpp:198 [opt]
195 }
196
197 wchar_t input_common_readch(int timed) {
-> 198 if (!has_lookahead()) {
199 if (timed) {
200 fd_set fds;
201 FD_ZERO(&fds);
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x000000010296961d fish`input_common_readch(timed=<unavailable>) + 65 at input_common.cpp:243, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x000000010296961d fish`input_common_readch(timed=<unavailable>) + 65 at input_common.cpp:243 [opt]
240 }
241 } else {
242 if (!timed) {
-> 243 while (has_lookahead() && lookahead_front() == WEOF) lookahead_pop();
244 if (!has_lookahead()) return input_common_readch(0);
245 }
246
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102969b87 fish`input_common_readch(timed=<unavailable>) + 1451 at input_common.cpp:244, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x0000000102969b87 fish`input_common_readch(timed=<unavailable>) + 1451 at input_common.cpp:244 [opt]
241 } else {
242 if (!timed) {
243 while (has_lookahead() && lookahead_front() == WEOF) lookahead_pop();
-> 244 if (!has_lookahead()) return input_common_readch(0);
245 }
246
247 return lookahead_pop();
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102969b90 fish`input_common_readch(timed=<unavailable>) + 1460 at input_common.cpp:247, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x0000000102969b90 fish`input_common_readch(timed=<unavailable>) + 1460 at input_common.cpp:247 [opt]
244 if (!has_lookahead()) return input_common_readch(0);
245 }
246
-> 247 return lookahead_pop();
248 }
249 }
250
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102969b90 fish`input_common_readch(int) [inlined] lookahead_pop() at input_common.cpp:49, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x0000000102969b90 fish`input_common_readch(int) [inlined] lookahead_pop() at input_common.cpp:49 [opt]
46 static bool has_lookahead(void) { return !lookahead_list.empty(); }
47
48 static wint_t lookahead_pop(void) {
-> 49 wint_t result = lookahead_list.front();
50 lookahead_list.pop_front();
51 return result;
52 }
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102969b93 fish`input_common_readch(int) [inlined] lookahead_pop() + 3 at input_common.cpp:50, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x0000000102969b93 fish`input_common_readch(int) [inlined] lookahead_pop() + 3 at input_common.cpp:50 [opt]
47
48 static wint_t lookahead_pop(void) {
49 wint_t result = lookahead_list.front();
-> 50 lookahead_list.pop_front();
51 return result;
52 }
53
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102969be7 fish`input_common_readch(timed=<unavailable>) + 1547 at deque.tcc:371, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x0000000102969be7 fish`input_common_readch(timed=<unavailable>) + 1547 at deque.tcc:371 [opt]
368 this->_M_impl.destroy(this->_M_impl._M_start._M_cur);
369 _M_deallocate_node(this->_M_impl._M_start._M_first);
370 this->_M_impl._M_start._M_set_node(this->_M_impl._M_start._M_node + 1);
-> 371 this->_M_impl._M_start._M_cur = this->_M_impl._M_start._M_first;
372 }
373
374 template <typename _Tp, typename _Alloc>
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x0000000102969bf7 fish`input_common_readch(timed=<unavailable>) + 1563 at input_common.cpp:249, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x0000000102969bf7 fish`input_common_readch(timed=<unavailable>) + 1563 at input_common.cpp:249 [opt]
246
247 return lookahead_pop();
248 }
-> 249 }
250
251 void input_common_queue_ch(wint_t ch) { lookahead_push_back(ch); }
252
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029bf008 fish`input_readch(allow_commands=<unavailable>) + 666 at input.cpp:580, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029bf008 fish`input_readch(allow_commands=<unavailable>) + 666 at input.cpp:580 [opt]
577 while (1) {
578 wchar_t c = input_common_readch(0);
579
-> 580 if (c >= R_MIN && c <= R_MAX) {
581 switch (c) {
582 case R_EOF: // if it's closed, then just return
583 {
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029bf01f fish`input_readch(allow_commands=<unavailable>) + 689 at input.cpp:581, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029bf01f fish`input_readch(allow_commands=<unavailable>) + 689 at input.cpp:581 [opt]
578 wchar_t c = input_common_readch(0);
579
580 if (c >= R_MIN && c <= R_MAX) {
-> 581 switch (c) {
582 case R_EOF: // if it's closed, then just return
583 {
584 return R_EOF;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029bf149 fish`input_readch(allow_commands=<unavailable>) + 987 at input.cpp:611, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029bf149 fish`input_readch(allow_commands=<unavailable>) + 987 at input.cpp:611 [opt]
608 // we'll break out and return it.
609 }
610 }
-> 611 }
612
613 std::vector<input_mapping_name_t> input_mapping_get_names() {
614 // Sort the mappings by the user specification order, so we can return them in the same order
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b0c5f fish`reader_readline(nchars=<unavailable>) + 387 at reader.cpp:2441, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b0c5f fish`reader_readline(nchars=<unavailable>) + 387 at reader.cpp:2441 [opt]
2438 while (1) {
2439 int was_interactive_read = is_interactive_read;
2440 is_interactive_read = 1;
-> 2441 c = input_readch();
2442 is_interactive_read = was_interactive_read;
2443 // fprintf(stderr, "C: %lx\n", (long)c);
2444
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b0c68 fish`reader_readline(nchars=<unavailable>) + 396 at reader.cpp:2445, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b0c68 fish`reader_readline(nchars=<unavailable>) + 396 at reader.cpp:2445 [opt]
2442 is_interactive_read = was_interactive_read;
2443 // fprintf(stderr, "C: %lx\n", (long)c);
2444
-> 2445 if (((!wchar_private(c))) && (c > 31) && (c != 127)) {
2446 if (can_read(0)) {
2447 wchar_t arr[READAHEAD_MAX + 1];
2448 size_t i;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b0c68 fish`reader_readline(int) [inlined] wchar_private(c=L'') at reader.cpp:2353, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b0c68 fish`reader_readline(int) [inlined] wchar_private(c=L'') at reader.cpp:2353 [opt]
2350 //
2351 // TODO: Actually implement the replacement as documented above.
2352 static int wchar_private(wchar_t c) {
-> 2353 return (c >= RESERVED_CHAR_BASE && c < RESERVED_CHAR_END) ||
2354 (c >= ENCODE_DIRECT_BASE && c < ENCODE_DIRECT_END) ||
2355 (c >= INPUT_COMMON_BASE && c < INPUT_COMMON_END);
2356 }
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b0c78 fish`reader_readline(int) [inlined] wchar_private(c=L'') + 16 at reader.cpp:2354, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b0c78 fish`reader_readline(int) [inlined] wchar_private(c=L'') + 16 at reader.cpp:2354 [opt]
2351 // TODO: Actually implement the replacement as documented above.
2352 static int wchar_private(wchar_t c) {
2353 return (c >= RESERVED_CHAR_BASE && c < RESERVED_CHAR_END) ||
-> 2354 (c >= ENCODE_DIRECT_BASE && c < ENCODE_DIRECT_END) ||
2355 (c >= INPUT_COMMON_BASE && c < INPUT_COMMON_END);
2356 }
2357
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b0c8b fish`reader_readline(nchars=<unavailable>) + 431 at reader.cpp:2445, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b0c8b fish`reader_readline(nchars=<unavailable>) + 431 at reader.cpp:2445 [opt]
2442 is_interactive_read = was_interactive_read;
2443 // fprintf(stderr, "C: %lx\n", (long)c);
2444
-> 2445 if (((!wchar_private(c))) && (c > 31) && (c != 127)) {
2446 if (can_read(0)) {
2447 wchar_t arr[READAHEAD_MAX + 1];
2448 size_t i;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b0c9f fish`reader_readline(int) [inlined] wchar_private(c=L'') at reader.cpp:2355, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b0c9f fish`reader_readline(int) [inlined] wchar_private(c=L'') at reader.cpp:2355 [opt]
2352 static int wchar_private(wchar_t c) {
2353 return (c >= RESERVED_CHAR_BASE && c < RESERVED_CHAR_END) ||
2354 (c >= ENCODE_DIRECT_BASE && c < ENCODE_DIRECT_END) ||
-> 2355 (c >= INPUT_COMMON_BASE && c < INPUT_COMMON_END);
2356 }
2357
2358 /// Test if the specified character in the specified string is backslashed. pos may be at the end of
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b0ecf fish`reader_readline(nchars=<unavailable>) + 1011 at reader.cpp:2483, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b0ecf fish`reader_readline(nchars=<unavailable>) + 1011 at reader.cpp:2483 [opt]
2480 }
2481 }
2482
-> 2483 if (c != 0) break;
2484
2485 if (0 < nchars && (size_t)nchars <= data->command_line.size()) {
2486 c = R_NULL;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b0fd0 fish`reader_readline(nchars=<unavailable>) + 1268 at reader.cpp:2492, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b0fd0 fish`reader_readline(nchars=<unavailable>) + 1268 at reader.cpp:2492 [opt]
2489 }
2490
2491 // If we get something other than a repaint, then stop coalescing them.
-> 2492 if (c != R_REPAINT) coalescing_repaints = false;
2493
2494 if (last_char != R_YANK && last_char != R_YANK_POP) yank_len = 0;
2495
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b0fe2 fish`reader_readline(nchars=<unavailable>) + 1286 at reader.cpp:2494, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b0fe2 fish`reader_readline(nchars=<unavailable>) + 1286 at reader.cpp:2494 [opt]
2491 // If we get something other than a repaint, then stop coalescing them.
2492 if (c != R_REPAINT) coalescing_repaints = false;
2493
-> 2494 if (last_char != R_YANK && last_char != R_YANK_POP) yank_len = 0;
2495
2496 // Restore the text.
2497 if (c == R_CANCEL && data->is_navigating_pager_contents()) {
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b0ff8 fish`reader_readline(nchars=<unavailable>) + 1308 at reader.cpp:2497, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b0ff8 fish`reader_readline(nchars=<unavailable>) + 1308 at reader.cpp:2497 [opt]
2494 if (last_char != R_YANK && last_char != R_YANK_POP) yank_len = 0;
2495
2496 // Restore the text.
-> 2497 if (c == R_CANCEL && data->is_navigating_pager_contents()) {
2498 set_command_line_and_position(&data->command_line, data->cycle_command_line,
2499 data->cycle_cursor_pos);
2500 }
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029af04c fish`reader_data_t::active_edit_line(this=0x00007f8650800000) + 10 at reader.cpp:233, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029af04c fish`reader_data_t::active_edit_line(this=0x00007f8650800000) + 10 at reader.cpp:233 [opt]
230 /// The line that is currently being edited. Typically the command line, but may be the search
231 /// field.
232 editable_line_t *active_edit_line() {
-> 233 if (this->is_navigating_pager_contents() && this->pager.is_search_field_shown()) {
234 return &this->pager.search_field_line;
235 }
236 return &this->command_line;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029af04c fish`reader_data_t::active_edit_line() [inlined] reader_data_t::is_navigating_pager_contents(this=0x00007f8650800000) const at reader.cpp:228, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029af04c fish`reader_data_t::active_edit_line() [inlined] reader_data_t::is_navigating_pager_contents(this=0x00007f8650800000) const at reader.cpp:228 [opt]
225 /// Whether the reader should exit on ^C.
226 bool exit_on_interrupt;
227
-> 228 bool is_navigating_pager_contents() const { return this->pager.is_navigating_contents(); }
229
230 /// The line that is currently being edited. Typically the command line, but may be the search
231 /// field.
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8ec4 fish`pager_t::is_navigating_contents(this=0x00007f8650800018) const + 4 at pager.cpp:774, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8ec4 fish`pager_t::is_navigating_contents(this=0x00007f8650800018) const + 4 at pager.cpp:774 [opt]
771 // It's possible we have no visual selection but are still navigating the contents, e.g. every
772 // completion is filtered.
773 bool pager_t::is_navigating_contents() const {
-> 774 return selected_completion_idx != PAGER_SELECTION_NONE;
775 }
776
777 void pager_t::set_fully_disclosed(bool flag) { fully_disclosed = flag; }
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029af058 fish`reader_data_t::active_edit_line(this=0x00007f8650800000) + 22 at reader.cpp:233, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029af058 fish`reader_data_t::active_edit_line(this=0x00007f8650800000) + 22 at reader.cpp:233 [opt]
230 /// The line that is currently being edited. Typically the command line, but may be the search
231 /// field.
232 editable_line_t *active_edit_line() {
-> 233 if (this->is_navigating_pager_contents() && this->pager.is_search_field_shown()) {
234 return &this->pager.search_field_line;
235 }
236 return &this->command_line;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029af06c fish`reader_data_t::active_edit_line(this=<unavailable>) + 42 at reader.cpp:237, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029af06c fish`reader_data_t::active_edit_line(this=<unavailable>) + 42 at reader.cpp:237 [opt]
234 return &this->pager.search_field_line;
235 }
236 return &this->command_line;
-> 237 }
238
239 /// Do what we need to do whenever our command line changes.
240 void command_line_changed(const editable_line_t *el);
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b104f fish`reader_readline(nchars=<unavailable>) + 1395 at reader.cpp:2504, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b104f fish`reader_readline(nchars=<unavailable>) + 1395 at reader.cpp:2504 [opt]
2501
2502 // Clear the pager if necessary.
2503 bool focused_on_search_field = (data->active_edit_line() == &data->pager.search_field_line);
-> 2504 if (command_ends_paging(c, focused_on_search_field)) {
2505 clear_pager();
2506 }
2507 // fprintf(stderr, "\n\nchar: %ls\n\n", describe_char(c).c_str());
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b104f fish`reader_readline(int) [inlined] command_ends_paging(c=L'') at reader.cpp:863, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b104f fish`reader_readline(int) [inlined] command_ends_paging(c=L'') at reader.cpp:863 [opt]
860
861 /// Indicates if the given command char ends paging.
862 static bool command_ends_paging(wchar_t c, bool focused_on_search_field) {
-> 863 switch (c) {
864 case R_HISTORY_SEARCH_BACKWARD:
865 case R_HISTORY_SEARCH_FORWARD:
866 case R_HISTORY_TOKEN_SEARCH_BACKWARD:
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b105f fish`reader_readline(nchars=<unavailable>) + 1411 at reader.cpp:863, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b105f fish`reader_readline(nchars=<unavailable>) + 1411 at reader.cpp:863 [opt]
860
861 /// Indicates if the given command char ends paging.
862 static bool command_ends_paging(wchar_t c, bool focused_on_search_field) {
-> 863 switch (c) {
864 case R_HISTORY_SEARCH_BACKWARD:
865 case R_HISTORY_SEARCH_FORWARD:
866 case R_HISTORY_TOKEN_SEARCH_BACKWARD:
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b106f fish`reader_readline(nchars=<unavailable>) + 1427 at reader.cpp:2503, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b106f fish`reader_readline(nchars=<unavailable>) + 1427 at reader.cpp:2503 [opt]
2500 }
2501
2502 // Clear the pager if necessary.
-> 2503 bool focused_on_search_field = (data->active_edit_line() == &data->pager.search_field_line);
2504 if (command_ends_paging(c, focused_on_search_field)) {
2505 clear_pager();
2506 }
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b1081 fish`reader_readline(nchars=<unavailable>) + 1445 at reader.cpp:2504, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b1081 fish`reader_readline(nchars=<unavailable>) + 1445 at reader.cpp:2504 [opt]
2501
2502 // Clear the pager if necessary.
2503 bool focused_on_search_field = (data->active_edit_line() == &data->pager.search_field_line);
-> 2504 if (command_ends_paging(c, focused_on_search_field)) {
2505 clear_pager();
2506 }
2507 // fprintf(stderr, "\n\nchar: %ls\n\n", describe_char(c).c_str());
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b1081 fish`reader_readline(int) [inlined] command_ends_paging(c=L'') at reader.cpp:922, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b1081 fish`reader_readline(int) [inlined] command_ends_paging(c=L'') at reader.cpp:922 [opt]
919 case R_BEGINNING_OF_BUFFER:
920 case R_END_OF_BUFFER: {
921 // These commands operate on the search field if that's where the focus is.
-> 922 return !focused_on_search_field;
923 }
924 }
925 }
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029b109f fish`reader_readline(nchars=<unavailable>) + 1475 at reader.cpp:2505, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029b109f fish`reader_readline(nchars=<unavailable>) + 1475 at reader.cpp:2505 [opt]
2502 // Clear the pager if necessary.
2503 bool focused_on_search_field = (data->active_edit_line() == &data->pager.search_field_line);
2504 if (command_ends_paging(c, focused_on_search_field)) {
-> 2505 clear_pager();
2506 }
2507 // fprintf(stderr, "\n\nchar: %ls\n\n", describe_char(c).c_str());
2508
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afd83 fish`clear_pager() at reader.cpp:1273, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afd83 fish`clear_pager() at reader.cpp:1273 [opt]
1270
1271 // Ensure we have no pager contents.
1272 static void clear_pager() {
-> 1273 if (data) {
1274 data->pager.clear();
1275 data->current_page_rendering = page_rendering_t();
1276 reader_repaint_needed();
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afd97 fish`clear_pager() + 20 at reader.cpp:1274, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afd97 fish`clear_pager() + 20 at reader.cpp:1274 [opt]
1271 // Ensure we have no pager contents.
1272 static void clear_pager() {
1273 if (data) {
-> 1274 data->pager.clear();
1275 data->current_page_rendering = page_rendering_t();
1276 reader_repaint_needed();
1277 }
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8f47 fish`pager_t::clear(this=0x00007f8650800018) + 9 at pager.cpp:808, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8f47 fish`pager_t::clear(this=0x00007f8650800018) + 9 at pager.cpp:808 [opt]
805 }
806
807 void pager_t::clear() {
-> 808 unfiltered_completion_infos.clear();
809 completion_infos.clear();
810 prefix.clear();
811 selected_completion_idx = PAGER_SELECTION_NONE;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8f50 fish`pager_t::clear(this=0x00007f8650800018) + 18 at pager.cpp:809, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8f50 fish`pager_t::clear(this=0x00007f8650800018) + 18 at pager.cpp:809 [opt]
806
807 void pager_t::clear() {
808 unfiltered_completion_infos.clear();
-> 809 completion_infos.clear();
810 prefix.clear();
811 selected_completion_idx = PAGER_SELECTION_NONE;
812 fully_disclosed = false;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8f59 fish`pager_t::clear(this=0x00007f8650800018) + 27 at pager.cpp:810, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8f59 fish`pager_t::clear(this=0x00007f8650800018) + 27 at pager.cpp:810 [opt]
807 void pager_t::clear() {
808 unfiltered_completion_infos.clear();
809 completion_infos.clear();
-> 810 prefix.clear();
811 selected_completion_idx = PAGER_SELECTION_NONE;
812 fully_disclosed = false;
813 search_field_shown = false;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8f6e fish`pager_t::clear(this=0x00007f8650800018) + 48 at pager.cpp:811, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8f6e fish`pager_t::clear(this=0x00007f8650800018) + 48 at pager.cpp:811 [opt]
808 unfiltered_completion_infos.clear();
809 completion_infos.clear();
810 prefix.clear();
-> 811 selected_completion_idx = PAGER_SELECTION_NONE;
812 fully_disclosed = false;
813 search_field_shown = false;
814 search_field_line.clear();
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8f76 fish`pager_t::clear(this=0x00007f8650800018) + 56 at pager.cpp:812, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8f76 fish`pager_t::clear(this=0x00007f8650800018) + 56 at pager.cpp:812 [opt]
809 completion_infos.clear();
810 prefix.clear();
811 selected_completion_idx = PAGER_SELECTION_NONE;
-> 812 fully_disclosed = false;
813 search_field_shown = false;
814 search_field_line.clear();
815 }
(lldb)
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8f7c fish`pager_t::clear(this=0x00007f8650800018) + 62 at pager.cpp:814, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8f7c fish`pager_t::clear(this=0x00007f8650800018) + 62 at pager.cpp:814 [opt]
811 selected_completion_idx = PAGER_SELECTION_NONE;
812 fully_disclosed = false;
813 search_field_shown = false;
-> 814 search_field_line.clear();
815 }
816
817 void pager_t::set_search_field_shown(bool flag) { this->search_field_shown = flag; }
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8f80 fish`pager_t::clear() [inlined] editable_line_t::clear(this=0x00007f8650800070) at reader.h:36, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8f80 fish`pager_t::clear() [inlined] editable_line_t::clear(this=0x00007f8650800070) at reader.h:36 [opt]
33 bool empty() const { return text.empty(); }
34
35 void clear() {
-> 36 text.clear();
37 position = 0;
38 }
39
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8f91 fish`pager_t::clear() [inlined] editable_line_t::clear(this=<unavailable>) + 17 at reader.h:37, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8f91 fish`pager_t::clear() [inlined] editable_line_t::clear(this=<unavailable>) + 17 at reader.h:37 [opt]
34
35 void clear() {
36 text.clear();
-> 37 position = 0;
38 }
39
40 wchar_t at(size_t idx) { return text.at(idx); }
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8f99 fish`pager_t::clear(this=0x00007f8650800018) + 91 at pager.cpp:815, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8f99 fish`pager_t::clear(this=0x00007f8650800018) + 91 at pager.cpp:815 [opt]
812 fully_disclosed = false;
813 search_field_shown = false;
814 search_field_line.clear();
-> 815 }
816
817 void pager_t::set_search_field_shown(bool flag) { this->search_field_shown = flag; }
818
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afdaa fish`clear_pager() + 39 at reader.cpp:1275, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afdaa fish`clear_pager() + 39 at reader.cpp:1275 [opt]
1272 static void clear_pager() {
1273 if (data) {
1274 data->pager.clear();
-> 1275 data->current_page_rendering = page_rendering_t();
1276 reader_repaint_needed();
1277 }
1278 }
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8916 fish`page_rendering_t::page_rendering_t(this=0x00007fff5d2ab008) + 4 at pager.cpp:840, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8916 fish`page_rendering_t::page_rendering_t(this=0x00007fff5d2ab008) + 4 at pager.cpp:840 [opt]
837 row_end(0),
838 selected_completion_idx(-1),
839 remaining_to_disclose(0),
-> 840 search_field_shown(false) {}
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8916 fish`page_rendering_t::page_rendering_t() [inlined] page_rendering_t::page_rendering_t(this=0x00007fff5d2ab008) at pager.cpp:832, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8916 fish`page_rendering_t::page_rendering_t() [inlined] page_rendering_t::page_rendering_t(this=0x00007fff5d2ab008) at pager.cpp:832 [opt]
829
830 // Constructor
831 page_rendering_t::page_rendering_t()
-> 832 : term_width(-1),
833 term_height(-1),
834 rows(0),
835 cols(0),
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c891d fish`page_rendering_t::page_rendering_t() [inlined] page_rendering_t::page_rendering_t(this=0x00007fff5d2ab008) + 7 at pager.cpp:835, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c891d fish`page_rendering_t::page_rendering_t() [inlined] page_rendering_t::page_rendering_t(this=0x00007fff5d2ab008) + 7 at pager.cpp:835 [opt]
832 : term_width(-1),
833 term_height(-1),
834 rows(0),
-> 835 cols(0),
836 row_start(0),
837 row_end(0),
838 selected_completion_idx(-1),
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c893d fish`page_rendering_t::page_rendering_t() [inlined] page_rendering_t::page_rendering_t(this=0x00007fff5d2ab008) + 39 at pager.cpp:838, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c893d fish`page_rendering_t::page_rendering_t() [inlined] page_rendering_t::page_rendering_t(this=0x00007fff5d2ab008) + 39 at pager.cpp:838 [opt]
835 cols(0),
836 row_start(0),
837 row_end(0),
-> 838 selected_completion_idx(-1),
839 remaining_to_disclose(0),
840 search_field_shown(false) {}
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8945 fish`page_rendering_t::page_rendering_t() [inlined] page_rendering_t::page_rendering_t(this=0x00007fff5d2ab008) + 47 at pager.cpp:839, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8945 fish`page_rendering_t::page_rendering_t() [inlined] page_rendering_t::page_rendering_t(this=0x00007fff5d2ab008) + 47 at pager.cpp:839 [opt]
836 row_start(0),
837 row_end(0),
838 selected_completion_idx(-1),
-> 839 remaining_to_disclose(0),
840 search_field_shown(false) {}
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8971 fish`page_rendering_t::page_rendering_t() [inlined] page_rendering_t::page_rendering_t(this=0x00007fff5d2ab008) + 91 at pager.cpp:831, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8971 fish`page_rendering_t::page_rendering_t() [inlined] page_rendering_t::page_rendering_t(this=0x00007fff5d2ab008) + 91 at pager.cpp:831 [opt]
828 }
829
830 // Constructor
-> 831 page_rendering_t::page_rendering_t()
832 : term_width(-1),
833 term_height(-1),
834 rows(0),
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8971 fish`page_rendering_t::page_rendering_t() [inlined] editable_line_t::editable_line_t() at reader.h:42, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8971 fish`page_rendering_t::page_rendering_t() [inlined] editable_line_t::editable_line_t() at reader.h:42 [opt]
39
40 wchar_t at(size_t idx) { return text.at(idx); }
41
-> 42 editable_line_t() : text(), position(0) {}
43
44 /// Inserts a substring of str given by start, len at the cursor position.
45 void insert_string(const wcstring &str, size_t start = 0, size_t len = wcstring::npos);
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8971 fish`page_rendering_t::page_rendering_t() [inlined] editable_line_t::editable_line_t() at reader.h:42, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8971 fish`page_rendering_t::page_rendering_t() [inlined] editable_line_t::editable_line_t() at reader.h:42 [opt]
39
40 wchar_t at(size_t idx) { return text.at(idx); }
41
-> 42 editable_line_t() : text(), position(0) {}
43
44 /// Inserts a substring of str given by start, len at the cursor position.
45 void insert_string(const wcstring &str, size_t start = 0, size_t len = wcstring::npos);
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029c8988 fish`page_rendering_t::page_rendering_t(this=0x00007fff5d2ab008) + 118 at pager.cpp:840, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029c8988 fish`page_rendering_t::page_rendering_t(this=0x00007fff5d2ab008) + 118 at pager.cpp:840 [opt]
837 row_end(0),
838 selected_completion_idx(-1),
839 remaining_to_disclose(0),
-> 840 search_field_shown(false) {}
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afdbd fish`clear_pager() + 58 at reader.cpp:1275, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afdbd fish`clear_pager() + 58 at reader.cpp:1275 [opt]
1272 static void clear_pager() {
1273 if (data) {
1274 data->pager.clear();
-> 1275 data->current_page_rendering = page_rendering_t();
1276 reader_repaint_needed();
1277 }
1278 }
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afdbd fish`clear_pager() [inlined] page_rendering_t::operator=((null)=<unavailable>) at pager.h:18, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afdbd fish`clear_pager() [inlined] page_rendering_t::operator=((null)=<unavailable>) at pager.h:18 [opt]
15 #define PAGER_SELECTION_NONE ((size_t)(-1))
16
17 /// Represents rendering from the pager.
-> 18 class page_rendering_t {
19 public:
20 int term_width;
21 int term_height;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe02 fish`clear_pager() [inlined] screen_data_t::operator=(screen_data_t const&) at screen.h:60, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe02 fish`clear_pager() [inlined] screen_data_t::operator=(screen_data_t const&) at screen.h:60 [opt]
57 };
58
59 /// A class representing screen contents.
-> 60 class screen_data_t {
61 std::vector<line_t> line_datas;
62
63 public:
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe20 fish`clear_pager() [inlined] page_rendering_t::operator=((null)=<unavailable>) + 99 at pager.h:18, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe20 fish`clear_pager() [inlined] page_rendering_t::operator=((null)=<unavailable>) + 99 at pager.h:18 [opt]
15 #define PAGER_SELECTION_NONE ((size_t)(-1))
16
17 /// Represents rendering from the pager.
-> 18 class page_rendering_t {
19 public:
20 int term_width;
21 int term_height;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe34 fish`clear_pager() [inlined] editable_line_t::operator=(editable_line_t const&) at reader.h:21, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe34 fish`clear_pager() [inlined] editable_line_t::operator=(editable_line_t const&) at reader.h:21 [opt]
18 class io_chain_t;
19
20 /// Helper class for storing a command line.
-> 21 class editable_line_t {
22 public:
23 /// The command line.
24 wcstring text;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe4f fish`clear_pager() + 204 at reader.cpp:1275, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe4f fish`clear_pager() + 204 at reader.cpp:1275 [opt]
1272 static void clear_pager() {
1273 if (data) {
1274 data->pager.clear();
-> 1275 data->current_page_rendering = page_rendering_t();
1276 reader_repaint_needed();
1277 }
1278 }
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe4f fish`clear_pager() [inlined] page_rendering_t::~page_rendering_t(this=<unavailable>) at pager.h:18, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe4f fish`clear_pager() [inlined] page_rendering_t::~page_rendering_t(this=<unavailable>) at pager.h:18 [opt]
15 #define PAGER_SELECTION_NONE ((size_t)(-1))
16
17 /// Represents rendering from the pager.
-> 18 class page_rendering_t {
19 public:
20 int term_width;
21 int term_height;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe4f fish`clear_pager() [inlined] page_rendering_t::~page_rendering_t(this=<unavailable>) at pager.h:18, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe4f fish`clear_pager() [inlined] page_rendering_t::~page_rendering_t(this=<unavailable>) at pager.h:18 [opt]
15 #define PAGER_SELECTION_NONE ((size_t)(-1))
16
17 /// Represents rendering from the pager.
-> 18 class page_rendering_t {
19 public:
20 int term_width;
21 int term_height;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe4f fish`clear_pager() [inlined] editable_line_t::~editable_line_t() at reader.h:21, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe4f fish`clear_pager() [inlined] editable_line_t::~editable_line_t() at reader.h:21 [opt]
18 class io_chain_t;
19
20 /// Helper class for storing a command line.
-> 21 class editable_line_t {
22 public:
23 /// The command line.
24 wcstring text;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe4f fish`clear_pager() [inlined] editable_line_t::~editable_line_t() at reader.h:21, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe4f fish`clear_pager() [inlined] editable_line_t::~editable_line_t() at reader.h:21 [opt]
18 class io_chain_t;
19
20 /// Helper class for storing a command line.
-> 21 class editable_line_t {
22 public:
23 /// The command line.
24 wcstring text;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe60 fish`clear_pager() [inlined] page_rendering_t::~page_rendering_t(this=<unavailable>) + 17 at pager.h:18, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe60 fish`clear_pager() [inlined] page_rendering_t::~page_rendering_t(this=<unavailable>) + 17 at pager.h:18 [opt]
15 #define PAGER_SELECTION_NONE ((size_t)(-1))
16
17 /// Represents rendering from the pager.
-> 18 class page_rendering_t {
19 public:
20 int term_width;
21 int term_height;
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe60 fish`clear_pager() [inlined] screen_data_t::~screen_data_t() at screen.h:60, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe60 fish`clear_pager() [inlined] screen_data_t::~screen_data_t() at screen.h:60 [opt]
57 };
58
59 /// A class representing screen contents.
-> 60 class screen_data_t {
61 std::vector<line_t> line_datas;
62
63 public:
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe60 fish`clear_pager() [inlined] screen_data_t::~screen_data_t() at screen.h:60, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe60 fish`clear_pager() [inlined] screen_data_t::~screen_data_t() at screen.h:60 [opt]
57 };
58
59 /// A class representing screen contents.
-> 60 class screen_data_t {
61 std::vector<line_t> line_datas;
62
63 public:
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe68 fish`clear_pager() + 229 at reader.cpp:1276, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe68 fish`clear_pager() + 229 at reader.cpp:1276 [opt]
1273 if (data) {
1274 data->pager.clear();
1275 data->current_page_rendering = page_rendering_t();
-> 1276 reader_repaint_needed();
1277 }
1278 }
1279
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe68 fish`clear_pager() [inlined] reader_repaint_needed() at reader.cpp:827, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe68 fish`clear_pager() [inlined] reader_repaint_needed() at reader.cpp:827 [opt]
824 }
825
826 void reader_repaint_needed() {
-> 827 if (data) {
828 data->repaint_needed = true;
829 }
830 }
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe7e fish`clear_pager() [inlined] reader_repaint_needed() + 22 at reader.cpp:827, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe7e fish`clear_pager() [inlined] reader_repaint_needed() + 22 at reader.cpp:827 [opt]
824 }
825
826 void reader_repaint_needed() {
-> 827 if (data) {
828 data->repaint_needed = true;
829 }
830 }
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe80 fish`clear_pager() [inlined] reader_repaint_needed() + 24 at reader.cpp:828, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe80 fish`clear_pager() [inlined] reader_repaint_needed() + 24 at reader.cpp:828 [opt]
825
826 void reader_repaint_needed() {
827 if (data) {
-> 828 data->repaint_needed = true;
829 }
830 }
831
(lldb)
Process 56314 stopped
* thread #1: tid = 0x1e20dd, 0x00000001029afe87 fish`clear_pager() + 260 at reader.cpp:1278, queue = 'com.apple.main-thread', stop reason = step in
frame #0: 0x00000001029afe87 fish`clear_pager() + 260 at reader.cpp:1278 [opt]
1275 data->current_page_rendering = page_rendering_t();
1276 reader_repaint_needed();
1277 }
-> 1278 }
1279
1280 static void select_completion_in_direction(enum selection_direction_t dir) {
1281 assert(data != NULL);
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment