GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: . (gdb) handle sigSIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagination 0 (gdb) attach 1997 Attaching to process 1997 Reading symbols from /usr/bin/sshfs...Reading symbols from /usr/lib/debug/usr/bin/sshfs...done. done. Reading symbols from /lib/libfuse.so.2...Reading symbols from /usr/lib/debug/lib/libfuse.so.2.8.1...done. done. Loaded symbols for /lib/libfuse.so.2 Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug/lib/libdl-2.11.1.so...done. done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /usr/lib/libgthread-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgthread-2.0.so.0.2400.0...done. done. Loaded symbols for /usr/lib/libgthread-2.0.so.0 Reading symbols from /lib/librt.so.1...Reading symbols from /usr/lib/debug/lib/librt-2.11.1.so...done. done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libglib-2.0.so.0...Reading symbols from /usr/lib/debug/lib/libglib-2.0.so.0.2400.0...done. done. Loaded symbols for /lib/libglib-2.0.so.0 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. [Thread debugging using libthread_db enabled] [New Thread 0x7f55593f3710 (LWP 1999)] Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.11.1.so...done. done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.11.1.so...done. done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib/libpcre.so.3...Reading symbols from /usr/lib/debug/lib/libpcre.so.3.12.1...done. done. Loaded symbols for /lib/libpcre.so.3 0x00007f55599b1b50 in sem_wait () from /lib/libpthread.so.0 (gdb) backtrace full #0 0x00007f55599b1b50 in sem_wait () from /lib/libpthread.so.0 No symbol table info available. #1 0x0000000000403840 in sftp_request_wait (req=0x7f55540cf440, type=5 '\005', expect_type=103 'g', outbuf=0x7fffeb961a20) at sshfs.c:1630 err = #2 0x0000000000405b6e in sftp_request_iov (type=, iov=, count=, expect_type=103 'g', outbuf=0x7fffeb961a20) at sshfs.c:1749 req = 0x7f55540cf440 #3 0x0000000000405bbb in sftp_request (type=72 'H', buf=, expect_type=255 '\377', outbuf=0x0) at sshfs.c:1758 iov = {iov_base = 0x7f55540cf560, iov_len = 20} #4 0x0000000000406717 in sshfs_sync_read (path=, rbuf=0x7f55542b1030 "\261)\251\372\201*\323h\207^\027LW\340Z\271\330h>\275b\225]\324R\353\005\023>\250\361\025ŝ\212\362%5,7\273-S\020\334^\314Kـ+\031B\271\026\330wDrιk\v\330B\315p\313m\214\"M\240 \341Iǝ\251?\305\r\350\064\340\200\351\352ϡ3ޑ\f\354˹\025\216\024\210qZ\255\064\303\001\"}\aD-R\275\062\020\343\a\361\260笾\314\316Tې(\307\003\065a\t\355\023Nx\225\202\213\352[\026R3\251vS\341Y@\241\rO'-, offset=, fi=) at sshfs.c:2283 err = buf = {p = 0x7f55540cf560 "", len = 20, size = 64} data = {p = 0x1
, len = 27644, size = 36713488} #5 sshfs_read (path=, rbuf=0x7f55542b1030 "\261)\251\372\201*\323h\207^\027LW\340Z\271\330h>\275b\225]\324R\353\005\023>\250\361\025ŝ\212\362%5,7\273-S\020\334^\314Kـ+\031B\271\026\330wDrιk\v\330B\315p\313m\214\"M\240 \341Iǝ\251?\305\r\350\064\340\200\351\352ϡ3ޑ\f\354˹\025\216\024\210qZ\255\064\303\001\"}\aD-R\275\062\020\343\a\361\260笾\314\316Tې(\307\003\065a\t\355\023Nx\225\202\213\352[\026R3\251vS\341Y@\241\rO'-, offset=, fi=) at sshfs.c:2465 sf = 0x7f5554191310 #6 0x00007f555a4b7bc7 in fuse_fs_read (fs=0x23035d0, path=, buf=0x7f55542b1030 "\261)\251\372\201*\323h\207^\027LW\340Z\271\330h>\275b\225]\324R\353\005\023>\250\361\025ŝ\212\362%5,7\273-S\020\334^\314Kـ+\031B\271\026\330wDrιk\v\330B\315p\313m\214\"M\240 \341Iǝ\251?\305\r\350\064\340\200\351\352ϡ3ޑ\f\354˹\025\216\024\210qZ\255\064\303\001\"}\aD-R\275\062\020\343\a\361\260笾\314\316Tې(\307\003\065a\t\355\023Nx\225\202\213\352[\026R3\251vS\341Y@\241\rO'-, fi=) at fuse.c:2544 d = {id = 140004568168192, cond = {__data = {__lock = 0, __futex = 0, __total_seq = 0, __wakeup_seq = 0, __woken_seq = 0, __mutex = 0x0, __nwaiters = 0, __broadcast_seq = 0}, __size = '\000' , __align = 0}, finished = 0} f = 0x2303410 path = 0x7f5554155200 "/bogdanb/torrent/Borknagar - Universal [2010] [flac]/split-track03.flac" res = -342484160 #8 0x00007f555a4c3870 in do_read (req=0x7f55540cf448, nodeid=128, inarg=) at fuse_lowlevel.c:738 fi = {flags = 32768, fh_old = 140004459877136, writepage = 0, direct_io = 0, keep_cache = 0, flush = 0, nonseekable = 0, padding = 0, fh = 140004459877136, lock_owner = 0} #9 0x00007f555a4c05aa in fuse_session_loop (se=0x23033b0) at fuse_loop.c:33 tmpch = 0x2302d30 res = 0 ch = bufsize = #10 0x00007f555a4c6164 in fuse_main_common (argc=, argv=, op=, op_size=, user_data=, compat=) at helper.c:330 fuse = 0x2303410 mountpoint = multithreaded = 0 res = #11 0x000000000040534d in main (argc=, argv=) at sshfs.c:3292 res = args = {argc = 9, argv = 0x23029f0, allocated = 1} fsname = 0x2302eb0 "/media/corum" base_path = sftp_server = libver = __PRETTY_FUNCTION__ = "main" (gdb) info registers rax 0xfffffffffffffe00 -512 rbx 0x7f55540cf440 140004459082816 rcx 0xffffffffffffffff -1 rdx 0x0 0 rsi 0x80 128 rdi 0x7f55540cf448 140004459082824 rbp 0x7f55540cf448 0x7f55540cf448 rsp 0x7fffeb961950 0x7fffeb961950 r8 0x0 0 r9 0x7cd 1997 r10 0x0 0 r11 0x246 582 r12 0x7fffeb961a20 140737145870880 r13 0x67 103 r14 0x5 5 r15 0x7f55542b1030 140004461056048 rip 0x7f55599b1b50 0x7f55599b1b50 eflags 0x246 [ PF ZF IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) x/19i6i $pc => 0x7f55599b1b50 : mov %rax,%rcx 0x7f55599b1b53 : xchg %r8,%rdi 0x7f55599b1b56 : callq 0x7f55599b23b0 <__pthread_disable_asynccancel> 0x7f55599b1b5b : mov %r8,%rdi 0x7f55599b1b5e : test %rcx,%rcx 0x7f55599b1b61 : je 0x7f55599b1b69 0x7f55599b1b63 : cmp $0xfffffffffffffff5,%rcx 0x7f55599b1b67 : jne 0x7f55599b1b86 0x7f55599b1b69 : mov (%rdi),%eax 0x7f55599b1b6b : test %eax,%eax 0x7f55599b1b6d : je 0x7f55599b1b39 0x7f55599b1b6f : lea -0x1(%rax),%edx 0x7f55599b1b72 : lock cmpxchg %edx,(%rdi) 0x7f55599b1b76 : jne 0x7f55599b1b6b 0x7f55599b1b78 : xor %eax,%eax 0x7f55599b1b7a : lock subq $0x1,0x8(%rdi) (gdb) thread apply all backtrace Thread 2 (Thread 0x7f55593f3710 (LWP 1999)): #0 0x00007f55599b293d in read () from /lib/libpthread.so.0 #1 0x0000000000402ed8 in read (buf=) at /usr/include/bits/unistd.h:45 #2 do_read (buf=) at sshfs.c:1123 #3 0x0000000000403453 in sftp_read (type=0x7f55593f2e7f "g\310=?YU\177", buf=0x7f55593f2e40) at sshfs.c:1143 #4 0x0000000000403551 in process_one_request (data_=) at sshfs.c:1214 #5 process_requests (data_=) at sshfs.c:1295 #6 0x00007f55599aa9ca in start_thread () from /lib/libpthread.so.0 #7 0x00007f55597086dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #8 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f555a8d7700 (LWP 1997)): #0 0x00007f55599b1b50 in sem_wait () from /lib/libpthread.so.0 #1 0x0000000000403840 in sftp_request_wait (req=0x7f55540cf440, type=5 '\005', expect_type=103 'g', outbuf=0x7fffeb961a20) at sshfs.c:1630 #2 0x0000000000405b6e in sftp_request_iov (type=, iov=, count=, expect_type=103 'g', outbuf=0x7fffeb961a20) at sshfs.c:1749 #3 0x0000000000405bbb in sftp_request (type=72 'H', buf=, expect_type=255 '\377', outbuf=0x0) at sshfs.c:1758 #4 0x0000000000406717 in sshfs_sync_read (path=, rbuf=0x7f55542b1030 "\261)\251\372\201*\323h\207^\027LW\340Z\271\330h>\275b\225]\324R\353\005\023>\250\361\025ŝ\212\362%5,7\273-S\020\334^\314Kـ+\031B\271\026\330wDrιk\v\330B\315p\313m\214\"M\240 \341Iǝ\251?\305\r\350\064\340\200\351\352ϡ3ޑ\f\354˹\025\216\024\210qZ\255\064\303\001\"}\aD-R\275\062\020\343\a\361\260笾\314\316Tې(\307\003\065a\t\355\023Nx\225\202\213\352[\026R3\251vS\341Y@\241\rO'-, offset=, fi=) at sshfs.c:2283 #5 sshfs_read (path=, rbuf=0x7f55542b1030 "\261)\251\372\201*\323h\207^\027LW\340Z\271\330h>\275b\225]\324R\353\005\023>\250\361\025ŝ\212\362%5,7\273-S\020\334^\314Kـ+\031B\271\026\330wDrιk\v\330B\315p\313m\214\"M\240 \341Iǝ\251?\305\r\350\064\340\200\351\352ϡ3ޑ\f\354˹\025\216\024\210qZ\255\064\303\001\"}\aD-R\275\062\020\343\a\361\260笾\314\316Tې(\307\003\065a\t\355\023Nx\225\202\213\352[\026R3\251vS\341Y@\241\rO'-, offset=, fi=) at sshfs.c:2465 #6 0x00007f555a4b7bc7 in fuse_fs_read (fs=0x23035d0, path=, buf=0x7f55542b1030 "\261)\251\372\201*\323h\207^\027LW\340Z\271\330h>\275b\225]\324R\353\005\023>\250\361\025ŝ\212\362%5,7\273-S\020\334^\314Kـ+\031B\271\026\330wDrιk\v\330B\315p\313m\214\"M\240 \341Iǝ\251?\305\r\350\064\340\200\351\352ϡ3ޑ\f\354˹\025\216\024\210qZ\255\064\303\001\"}\aD-R\275\062\020\343\a\361\260笾\314\316Tې(\307\003\065a\t\355\023Nx\225\202\213\352[\026R3\251vS\341Y@\241\rO'-, fi=) at fuse.c:2544 #8 0x00007f555a4c3870 in do_read (req=0x7f55540cf448, nodeid=128, inarg=) at fuse_lowlevel.c:738 #9 0x00007f555a4c05aa in fuse_session_loop (se=0x23033b0) at fuse_loop.c:33 #10 0x00007f555a4c6164 in fuse_main_common (argc=, argv=, op=, op_size=, user_data=, compat=) at helper.c:330 #11 0x000000000040534d in main (argc=, argv=) at sshfs.c:3292 (gdb) quit A debugging session is active. Inferior 1 [process 1997] will be detached. Quit anyway? (y or n) Detaching from program: /usr/bin/sshfs, process 1997