(gdb) thread apply all bt

Thread 5 (Thread 0x7ff2677fe700 (LWP 1486)):
#0  0x00007ff2791f5d8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff279e581ed in  () at /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007ff279e59140 in libusb_handle_events_timeout_completed () at /lib/x86_64-linux-gnu/libusb-1.0.so.0
#3  0x00005648de9264a2 in check_event (user_data=0x5648df1f0130) at gvfsbackendmtp.c:656
#4  0x00007ff27974ff65 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff2794c76da in start_thread (arg=0x7ff2677fe700) at pthread_create.c:456
#6  0x00007ff279201d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7ff267fff700 (LWP 1484)):
#0  0x00007ff2791f5d8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff279e5e721 in  () at /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007ff2794c76da in start_thread (arg=0x7ff267fff700) at pthread_create.c:456
#3  0x00007ff279201d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7ff275ffc700 (LWP 1477)):
#0  0x00007ff2791f5d8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff279728576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff279728902 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff27a3a0476 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ff27974ff65 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff2794c76da in start_thread (arg=0x7ff275ffc700) at pthread_create.c:456
#6  0x00007ff279201d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7ff2767fd700 (LWP 1476)):
#0  0x00007ff2791f5d8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff279728576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff27972868c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff2797286d1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff27974ff65 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff2794c76da in start_thread (arg=0x7ff2767fd700) at pthread_create.c:456
#6  0x00007ff279201d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7ff27ac98d00 (LWP 1475)):
#0  0x00007ff2791f5d8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff279728576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff279728902 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00005648de92c731 in daemon_main (argc=<optimised out>, argv=<optimised out>, max_job_threads=1, default_type=0x5648de92cd10 "mtp", mountable_name=0x0, first_type_name=<optimised out>)
    at daemon-main.c:398
#4  0x00005648de925953 in main (argc=5, argv=0x7ffcff628d38) at daemon-main-generic.c:45

