Skip to content

Instantly share code, notes, and snippets.

@puzza007
Created July 7, 2015 20:40
Show Gist options
  • Save puzza007/e13cc155a978a9987f2b to your computer and use it in GitHub Desktop.
Save puzza007/e13cc155a978a9987f2b to your computer and use it in GitHub Desktop.
puzza@MacBook-Pro ~/src/katipo (master*) $ lldb ./priv/katipo --core /cores/core.35417
(lldb) target create "./priv/katipo" --core "/cores/core.35417"
warning: (x86_64) /cores/core.35417 load command 83 LC_SEGMENT_64 has a fileoff + filesize (0x20198000) that extends beyond the end of the file (0x20197000), the segment will be truncated to match
warning: (x86_64) /cores/core.35417 load command 84 LC_SEGMENT_64 has a fileoff (0x20198000) that extends beyond the end of the file (0x20197000), ignoring this section
Core file '/cores/core.35417' (x86_64) was loaded.
Process 0 stopped
* thread #1: tid = 0x0000, 0x00007fff8af1b286 libsystem_kernel.dylib`__pthread_kill + 10, stop reason = signal SIGSTOP
frame #0: 0x00007fff8af1b286 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
-> 0x7fff8af1b286 <+10>: jae 0x7fff8af1b290 ; <+20>
0x7fff8af1b288 <+12>: movq %rax, %rdi
0x7fff8af1b28b <+15>: jmp 0x7fff8af16c53 ; cerror_nocancel
0x7fff8af1b290 <+20>: retq
thread #2: tid = 0x0001, 0x00007fff8af1c232 libsystem_kernel.dylib`kevent64 + 10, stop reason = signal SIGSTOP
frame #0: 0x00007fff8af1c232 libsystem_kernel.dylib`kevent64 + 10
libsystem_kernel.dylib`kevent64:
-> 0x7fff8af1c232 <+10>: jae 0x7fff8af1c23c ; <+20>
0x7fff8af1c234 <+12>: movq %rax, %rdi
0x7fff8af1c237 <+15>: jmp 0x7fff8af16c53 ; cerror_nocancel
0x7fff8af1c23c <+20>: retq
(lldb) bt
* thread #1: tid = 0x0000, 0x00007fff8af1b286 libsystem_kernel.dylib`__pthread_kill + 10, stop reason = signal SIGSTOP
* frame #0: 0x00007fff8af1b286 libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff96a8742f libsystem_pthread.dylib`pthread_kill + 90
frame #2: 0x00007fff91124b53 libsystem_c.dylib`abort + 129
frame #3: 0x00007fff9a3061cb libsystem_malloc.dylib`free + 428
frame #4: 0x00007fff990aa5b5 libcurl.4.dylib`curl_slist_free_all + 53
frame #5: 0x0000000106bdd110 katipo`check_multi_info(g=0x00007fff590247d0) + 1104 at katipo.c:398
frame #6: 0x0000000106bdcbf3 katipo`event_cb(fd=<unavailable>, kind=<unavailable>, userp=0x00007fff590247d0) + 115 at katipo.c:434
frame #7: 0x0000000106e3a784 libevent-2.0.5.dylib`event_base_loop + 1858
frame #8: 0x0000000106bdbfa1 katipo`main(argc=<unavailable>, argv=<unavailable>) + 369 at katipo.c:807
frame #9: 0x00007fff8c21c5c9 libdyld.dylib`start + 1
frame #10: 0x00007fff8c21c5c9 libdyld.dylib`start + 1
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment