(gdb) bt
#0 0x00007f766cb897eb in __libc_recv (fd=7, buf=0x23d86a0, n=16, flags=-1)
at ../sysdeps/unix/sysv/linux/x86_64/recv.c:33
#1 0x00007f766d5e3bec in g_socket_receive_with_blocking ()
from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#2 0x00007f766d5cb625 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#3 0x00007f766d5cd02b in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007f766d5cc28b in g_input_stream_read_async () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5 0x000000000040c0c1 in ?? ()
#6 0x00007f766d5ccd5a in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7 0x00007f766d5f08db in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#8 0x00007f766d5f08f9 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#9 0x00007f766d05fce5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f766d060048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f766d06030a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x000000000040b7c1 in ?? ()
#13 0x0000000000406b97 in ?? ()
#14 0x00007f766c7d6ec5 in __libc_start_main (main=0x406b40, argc=4, argv=0x7fff04eca8e8,
init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff04eca8d8)
at libc-start.c:287
#15 0x0000000000406bc9 in ?? ()
Here's output of "sudo strace -p XXXXXX" where XXXXX is the process ID of the misbehaving gvfsd-afp:
recvfrom(7, "", 16, 0, NULL, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 0) = 0 (Timeout)
recvfrom(7, "", 16, 0, NULL, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 0) = 0 (Timeout)
recvfrom(7, "", 16, 0, NULL, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 0) = 0 (Timeout)
recvfrom(7, "", 16, 0, NULL, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 0) = 0 (Timeout)
recvfrom(7, "", 16, 0, NULL, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 0) = 0 (Timeout)
recvfrom(7, "", 16, 0, NULL, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 0) = 0 (Timeout)
recvfrom(7, "", 16, 0, NULL, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 0) = 0 (Timeout)
recvfrom(7, "", 16, 0, NULL, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 0) = 0 (Timeout)
recvfrom(7, "", 16, 0, NULL, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 0) = 0 (Timeout)
And "sudo gdb -p XXXX" followed by "bt"
(gdb) bt unix/sysv/ linux/x86_ 64/recv. c:33 receive_ with_blocking () x86_64- linux-gnu/ libgio- 2.0.so. 0 x86_64- linux-gnu/ libgio- 2.0.so. 0 x86_64- linux-gnu/ libgio- 2.0.so. 0 stream_ read_async () from /usr/lib/ x86_64- linux-gnu/ libgio- 2.0.so. 0 x86_64- linux-gnu/ libgio- 2.0.so. 0 x86_64- linux-gnu/ libgio- 2.0.so. 0 x86_64- linux-gnu/ libgio- 2.0.so. 0 context_ dispatch () from /lib/x86_ 64-linux- gnu/libglib- 2.0.so. 0 64-linux- gnu/libglib- 2.0.so. 0 64-linux- gnu/libglib- 2.0.so. 0 a8e8, <optimized out>, stack_end= 0x7fff04eca8d8)
#0 0x00007f766cb897eb in __libc_recv (fd=7, buf=0x23d86a0, n=16, flags=-1)
at ../sysdeps/
#1 0x00007f766d5e3bec in g_socket_
from /usr/lib/
#2 0x00007f766d5cb625 in ?? () from /usr/lib/
#3 0x00007f766d5cd02b in ?? () from /usr/lib/
#4 0x00007f766d5cc28b in g_input_
#5 0x000000000040c0c1 in ?? ()
#6 0x00007f766d5ccd5a in ?? () from /usr/lib/
#7 0x00007f766d5f08db in ?? () from /usr/lib/
#8 0x00007f766d5f08f9 in ?? () from /usr/lib/
#9 0x00007f766d05fce5 in g_main_
#10 0x00007f766d060048 in ?? () from /lib/x86_
#11 0x00007f766d06030a in g_main_loop_run () from /lib/x86_
#12 0x000000000040b7c1 in ?? ()
#13 0x0000000000406b97 in ?? ()
#14 0x00007f766c7d6ec5 in __libc_start_main (main=0x406b40, argc=4, argv=0x7fff04ec
init=<optimized out>, fini=<optimized out>, rtld_fini=
at libc-start.c:287
#15 0x0000000000406bc9 in ?? ()