$ lldb -c rtorrent.core /usr/pkg/bin/rtorrent (lldb) target create "/usr/pkg/bin/rtorrent" --core "rtorrent.core" Core file '/public/lldb_devel/rtorrent.core' (x86_64) was loaded. (lldb) thread list Process 0 stopped * thread #1: tid = 3, 0x00007a59d623b51a libc.so.12`_sys___kevent50 + 10, stop reason = signal SIGSTOP thread #2: tid = 2, 0x00007a59d623b51a libc.so.12`_sys___kevent50 + 10, stop reason = signal SIGSTOP thread #3: tid = 1, 0x00007a59d623b21a libc.so.12`__select50 + 10, stop reason = signal SIGSTOP (lldb) thread select 2 * thread #2, stop reason = signal SIGSTOP frame #0: 0x00007a59d623b51a libc.so.12`_sys___kevent50 + 10 libc.so.12`_sys___kevent50: -> 0x7a59d623b51a <+10>: addb %al, (%rax) 0x7a59d623b51c <+12>: addb %al, (%rax) 0x7a59d623b51e <+14>: addb %al, (%rax) 0x7a59d623b520 <+16>: addb %al, (%rax) (lldb) bt * thread #2, stop reason = signal SIGSTOP * frame #0: 0x00007a59d623b51a libc.so.12`_sys___kevent50 + 10 frame #1: 0x00007a59d6606c97 libpthread.so.1`__kevent50(fd=, ev=, nev=, rev=, nrev=, ts=) at pthread_cancelstub.c:176 frame #2: 0x00007a59d91167f2 libtorrent.so.19`torrent::PollKQueue::poll(this=0x00007a59da153200, msec=10001) at poll_kqueue.cc:167 frame #3: 0x00007a59d9116d98 libtorrent.so.19`torrent::PollKQueue::do_poll(this=0x00007a59da153200, timeout_usec=10000000, flags=1) at poll_kqueue.cc:268 frame #4: 0x00007a59d91396d6 libtorrent.so.19`torrent::thread_base::event_loop(thread=0x00007a59da1a6700) at thread_base.cc:174 frame #5: 0x00007a59d660b6e1 libpthread.so.1`pthread__create_tramp(cookie=0x00007a59da1fd000) at pthread.c:576 frame #6: 0x00007a59d6287ac0 libc.so.12 (lldb) bt all thread #1, stop reason = signal SIGSTOP frame #0: 0x00007a59d623b51a libc.so.12`_sys___kevent50 + 10 frame #1: 0x00007a59d6606c97 libpthread.so.1`__kevent50(fd=, ev=, nev=, rev=, nrev=, ts=) at pthread_cancelstub.c:176 frame #2: 0x00007a59d91167f2 libtorrent.so.19`torrent::PollKQueue::poll(this=0x00007a59da153250, msec=600001) at poll_kqueue.cc:167 frame #3: 0x00007a59d9116d98 libtorrent.so.19`torrent::PollKQueue::do_poll(this=0x00007a59da153250, timeout_usec=600000000, flags=1) at poll_kqueue.cc:268 frame #4: 0x00007a59d91396d6 libtorrent.so.19`torrent::thread_base::event_loop(thread=0x00007a59da199000) at thread_base.cc:174 frame #5: 0x00007a59d660b6e1 libpthread.so.1`pthread__create_tramp(cookie=0x00007a59d9d69000) at pthread.c:576 frame #6: 0x00007a59d6287ac0 libc.so.12 * thread #2, stop reason = signal SIGSTOP * frame #0: 0x00007a59d623b51a libc.so.12`_sys___kevent50 + 10 frame #1: 0x00007a59d6606c97 libpthread.so.1`__kevent50(fd=, ev=, nev=, rev=, nrev=, ts=) at pthread_cancelstub.c:176 frame #2: 0x00007a59d91167f2 libtorrent.so.19`torrent::PollKQueue::poll(this=0x00007a59da153200, msec=10001) at poll_kqueue.cc:167 frame #3: 0x00007a59d9116d98 libtorrent.so.19`torrent::PollKQueue::do_poll(this=0x00007a59da153200, timeout_usec=10000000, flags=1) at poll_kqueue.cc:268 frame #4: 0x00007a59d91396d6 libtorrent.so.19`torrent::thread_base::event_loop(thread=0x00007a59da1a6700) at thread_base.cc:174 frame #5: 0x00007a59d660b6e1 libpthread.so.1`pthread__create_tramp(cookie=0x00007a59da1fd000) at pthread.c:576 frame #6: 0x00007a59d6287ac0 libc.so.12 thread #3, stop reason = signal SIGSTOP frame #0: 0x00007a59d623b21a libc.so.12`__select50 + 10 frame #1: 0x00007a59d660736f libpthread.so.1`__select50(nfds=, readfds=, writefds=, exceptfds=, timeout=) at pthread_cancelstub.c:514 frame #2: 0x00007a59d91169e7 libtorrent.so.19`torrent::PollKQueue::poll_select(this=0x00007a59da1531b0, msec=897) at poll_kqueue.cc:204 frame #3: 0x00007a59d91166f6 libtorrent.so.19`torrent::PollKQueue::poll(this=0x00007a59da1531b0, msec=897) at poll_kqueue.cc:157 frame #4: 0x00007a59d9116d98 libtorrent.so.19`torrent::PollKQueue::do_poll(this=0x00007a59da1531b0, timeout_usec=896019, flags=0) at poll_kqueue.cc:268 frame #5: 0x00007a59d91396d6 libtorrent.so.19`torrent::thread_base::event_loop(thread=0x00007a59da1a6080) at thread_base.cc:174 frame #6: 0x0000000000437ecd rtorrent`main(argc=2, argv=0x00007f7fff3da740) at main.cc:857 frame #7: 0x000000000043465b rtorrent`___start + 229 frame #8: 0x00007f7eb0803382 ld.elf_so`_rtld(sp=, relocbase=) at rtld.c:516 (lldb) register read --all General Purpose Registers: rax = 0x00000000000001b3 rbx = 0x00007a59d6810690 __uselibcstub rcx = 0x00007a59d623b51a libc.so.12`_sys___kevent50 + 10 rdx = 0x0000000000000000 rdi = 0x0000000000000009 rsi = 0x00007a59da1f3000 rbp = 0x00007a59da1fd000 rsp = 0x00007a59d2dffe58 r8 = 0x0000000000000400 r9 = 0x00007a59d2dffe90 r10 = 0x00007a59da1e9000 r11 = 0x0000000000000246 r12 = 0x00007a59d913944a libtorrent.so.19`torrent::thread_base::event_loop(torrent::thread_base*) at thread_base.cc:120 r13 = 0x00007a59da1a6700 r14 = 0x00007a59da1a6708 r15 = 0x00007a59da1fd000 rip = 0x00007a59d623b51a libc.so.12`_sys___kevent50 + 10 rflags = 0x0000000000000246 cs = 0x0000000000000047 fs = 0x0000000000000000 gs = 0x0000000000000000 ss = 0x000000000000003f ds = 0x000000000000003f es = 0x000000000000003f eax = 0x000001b3 ebx = 0xd6810690 ecx = 0xd623b51a edx = 0x00000000 edi = 0x00000009 esi = 0xda1f3000 ebp = 0xda1fd000 esp = 0xd2dffe58 r8d = 0x00000400 r9d = 0xd2dffe90 r10d = 0xda1e9000 r11d = 0x00000246 r12d = 0xd913944a r13d = 0xda1a6700 r14d = 0xda1a6708 r15d = 0xda1fd000 ax = 0x01b3 bx = 0x0690 cx = 0xb51a dx = 0x0000 di = 0x0009 si = 0x3000 bp = 0xd000 sp = 0xfe58 r8w = 0x0400 r9w = 0xfe90 r10w = 0x9000 r11w = 0x0246 r12w = 0x944a r13w = 0x6700 r14w = 0x6708 r15w = 0xd000 ah = 0x01 bh = 0x06 ch = 0xb5 dh = 0x00 al = 0xb3 bl = 0x90 cl = 0x1a dl = 0x00 dil = 0x09 sil = 0x00 bpl = 0x00 spl = 0x58 r8l = 0x00 r9l = 0x90 r10l = 0x00 r11l = 0x46 r12l = 0x4a r13l = 0x00 r14l = 0x08 r15l = 0x00 Floating Point Registers: fctrl = 0x037f fstat = 0x0000 ftag = 0x00 fop = 0x0000 fiseg = 0x00000047 fioff = 0xd6a1a56d foseg = 0x0000003f fooff = 0xff3da0e0 mxcsr = 0x00001f80 mxcsrmask = 0x0000ffff st0 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00} st1 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00} st2 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00} st3 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00} st4 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00} st5 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00} st6 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00} st7 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xb0 0x02 0x40} mm0 = 0x0000000000000000 mm1 = 0x0000000000000000 mm2 = 0x0000000000000000 mm3 = 0x0000000000000000 mm4 = 0x0000000000000000 mm5 = 0x0000000000000000 mm6 = 0x0000000000000000 mm7 = 0xb000000000000000 xmm0 = {0xe8 0x08 0x01 0x00 0x14 0x00 0x00 0x00 0x40 0xa0 0x00 0x10 0x8c 0x00 0x02 0x80} xmm1 = {0x00 0x64 0x00 0x00 0x81 0x00 0x00 0x00 0x11 0x08 0x04 0x00 0x53 0x88 0x00 0x82} xmm2 = {0x10 0x9d 0x02 0x00 0x10 0x00 0x08 0x10 0x85 0x80 0x00 0x04 0x31 0x2a 0x00 0x18} xmm3 = {0xc0 0x88 0x10 0x00 0x48 0x01 0x00 0x18 0xc0 0x44 0x0a 0x10 0x4d 0x00 0x20 0x3e} xmm4 = {0x9d 0x02 0x00 0x00 0x00 0x08 0x00 0x10 0x80 0x00 0x00 0x05 0x2a 0x00 0x00 0x11} xmm5 = {0x88 0x10 0x00 0x00 0x01 0x00 0x00 0x48 0x44 0x0a 0x00 0x00 0x00 0x20 0x00 0xcd} xmm6 = {0x68 0x06 0x00 0x10 0x88 0x00 0x00 0x11 0x89 0x40 0x00 0x10 0x85 0x08 0x00 0x19} xmm7 = {0xd8 0x28 0x00 0x00 0x01 0x80 0x00 0x15 0xa8 0x08 0x00 0x10 0xa1 0x00 0x00 0x1d} xmm8 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00} xmm9 = {0x96 0x4a 0x73 0xca 0x1e 0xc3 0x62 0xe2 0x96 0x06 0x6d 0xda 0x23 0xc2 0x82 0x08} xmm10 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x20 0x00 0x00 0x00} xmm11 = {0xd6 0xc1 0x62 0xca 0xd6 0xc1 0x62 0xca 0xd6 0xc1 0x62 0xca 0xd6 0xc1 0x62 0xca} xmm12 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00} xmm13 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00} xmm14 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00} xmm15 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00} Advanced Vector Extensions: 16 registers were unavailable. (lldb) f 3 frame #3: 0x00007a59d9116d98 libtorrent.so.19`torrent::PollKQueue::do_poll(this=0x00007a59da153200, timeout_usec=10000000, flags=1) at poll_kqueue.cc:268 (lldb) frame variable (torrent::PollKQueue *) this = 0x00007a59da153200 (__int64_t) timeout_usec = 10000000 (int) flags = 1 (rak::timer) timeout = (m_time = 10000010) (int) status = 21 (lldb) platform status Platform: host Triple: x86_64-unknown-netbsd7.99 OS Version: 7.99.69 (0799006900) Kernel: NetBSD 7.99.69 (GENERIC) #4: Mon Apr 17 00:16:50 CEST 2017 root@chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC Hostname: 127.0.0.1 WorkingDir: /public/lldb_devel Kernel: NetBSD Release: 7.99.69 Version: NetBSD 7.99.69 (GENERIC) #4: Mon Apr 17 00:16:50 CEST 2017 root@chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC (lldb) version lldb version 5.0.0 (http://llvm.org/svn/llvm-project/lldb/trunk revision 299783) (lldb)