rendered paste body(gdb) thread apply all bt
Thread 2 (Thread -1210000480 (LWP 23746)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7f03321 in select () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7e39638 in usb_os_find_busses () from /lib/libusb-0.1.so.4
#3 0xb7f7ba30 in RD_do_read (timeout=0) at libusb.c:279
#4 0xb7f7bbef in RD_main (foo=0x0) at libusb.c:324
#5 0xb7e15504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6 0xb7f0a51e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 1 (Thread -1209997648 (LWP 23745)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e18816 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7f16a3d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7f7c503 in u_read_i (ps=0x80548c8, buf=0x0, len=1, flags=1, timeout=0) at libusb.c:541
#4 0xb7f7c018 in u_poll (ps=0x80548c8, timeout=0) at libusb.c:455
#5 0xb7f7a447 in pi_usb_accept (ps=0x80548c8, addr=0x0, addrlen=0x0) at usb.c:423
#6 0xb7fa4bbb in pi_accept_to (pi_sd=4, addr=0x0, addrlen=0x0, timeout=0) at socket.c:1139
#7 0x0804fc2a in plu_connect () at userland.c:80
#8 0x0804f66a in main (argc=5, argv=0xbf872824) at pilot-xfer.c:2511
#0 0xffffe410 in __kernel_vsyscall ()
[thread 0xb7e0e6b0] libusb.c 379 (u_open).
[thread 0xb7e0e6b0] libusb.c 387 (u_open).
[thread 0xb7e0e6b0] libusb.c 415 (u_wait_for_device).
[thread 0xb7e0e6b0] libusb.c: checking device 0x8058d18
[thread 0xb7e0e6b0] libusb.c: checking device 0x805ade8
[thread 0xb7e0e6b0] libusb.c: 132, 0x082d 0x0100.
[thread 0xb7e0e6b0] libusb.c: trying to open device 0x805ade8
[thread 0xb7e0e6b0] libusb.c: USB_handle=0x8054e88
[thread 0xb7e0e6b0] usb: VISOR_GET_CONNECTION_INFORMATION, num_ports=2
[thread 0xb7e0e6b0] [0] port_function_id=0x00 (GENERIC)
[thread 0xb7e0e6b0] [0] port=1
[thread 0xb7e0e6b0] [1] port_function_id=0x02 (HOTSYNC)
[thread 0xb7e0e6b0] [1] port=2
[thread 0xb7e0e6b0] GENERIC_REQUEST_BYTES_AVAILABLE returns 0x0100
[thread 0xb7e0e6b0] In: 0x82 0xff.
[thread 0xb7e0e6b0] Out: 0x2 0xff.
[thread 0xb7e0e6b0] Config: 0, 0xff 0xff | 0x82 0x2.
[thread 0xb7e0e6b0] libusb.c: 225.
[thread 0xb7e0e6b0] libusb.c 453 (u_poll).
[thread 0xb7e0e6b0] libusb.c 499 (u_read_i): 1 1 0
[thread 0xb7e0e6b0] libusb.c 522 (u_read_i): 1 0.
[thread 0xb7e0dba0] Reading: len: 64, timeout: 0.
[thread 0xb7e0dba0] libusb.c 281 (RD_do_read): 0
[thread 0xb7e0dba0] Reading: len: 64, timeout: 0.
[thread 0xb7e0dba0] libusb.c 281 (RD_do_read): 0
[thread 0xb7e0dba0] Reading: len: 64, timeout: 0.
[thread 0xb7e0dba0] libusb.c 281 (RD_do_read): 0
[thread 0xb7e0dba0] Reading: len: 64, timeout: 0.
[thread 0xb7e0dba0] libusb.c 281 (RD_do_read): 0
[thread 0xb7e0dba0] Reading: len: 64, timeout: 0.
[thread 0xb7e0dba0] libusb.c 281 (RD_do_read): 0
[thread 0xb7e0dba0] Reading: len: 64, timeout: 0.
[thread 0xb7e0dba0] libusb.c 281 (RD_do_read): 0
[thread 0xb7e0dba0] Reading: len: 64, timeout: 0.
[thread 0xb7e0dba0] libusb.c 281 (RD_do_read): 0
[thread 0xb7e0dba0] Reading: len: 64, timeout: 0.
[thread 0xb7e0dba0] libusb.c 281 (RD_do_read): 0
[thread 0xb7e0dba0] Reading: len: 64, timeout: 0.
[thread 0xb7e0dba0] libusb.c 281 (RD_do_read): 0
[thread 0xb7e0dba0] Reading: len: 64, timeout: 0.
[thread 0xb7e0dba0] libusb.c 281 (RD_do_read): 0
[thread 0xb7e0dba0] Reading: len: 64, timeout: 0.
[thread 0xb7e0dba0] libusb.c 281 (RD_do_read): 0
[thread 0xb7e0dba0] Reading: len: 64, timeout: 0.
[thread 0xb7e0dba0] libusb.c 281 (RD_do_read): 0
<wash, rinse, repeat>