Comment 59 for bug 951585

Bryce Nesbitt (bryce2) wrote :

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
#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 ?? ()