← Back to team overview

desktop-packages team mailing list archive

[Bug 951585] Re: gvfsd-afp consumes 100% of processor cycles

 

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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/951585

Title:
  gvfsd-afp consumes 100% of processor cycles

Status in gvfs package in Ubuntu:
  Confirmed

Bug description:
  Happens on an irregular basis on 12.04 and I think I've experienced it
  on 11.10.

  For no reason gvfsd-afp starts up. Cooling fan kicks in, system
  becomes laggy. Easily cured using system monitor and killing the
  process. Someone on the Ubuntu Forum asked if I have a Mac on the
  network and the answer is yes, an iMac and there are shares on that
  machine I can access.

  Have experienced this issue on my Acer Aspire 5742 and Compaq Mini 110

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/951585/+subscriptions