I encountered the same issue with the Katya release of Linux Mint. After
trudging through the debug symbols, I was able to narrow the problem
down to libimobiledevice(idevice.o). As it turns out, the
internal_ssl_write function (a callback function within libimobiledevice
used by libgnutls to send encrypted data) does not perform proper error
checking, so instead of returning an error code after the connection
closes, it returns 0 bytes sent. The calling function in libgnutls then
gets stuck in an infinite loop trying to send data that never gets sent.

I have attached the patch I developed on top of
libimobiledevice-1.1.0-ubuntu1. It does not resolve any underlying
issues leading to the error code, but it should prevent iphone-set-info
and upowerd from taking over the processor.

I hope this helps!

** Patch added: "iphone-cpu-usage.patch"
   
https://bugs.launchpad.net/ubuntu/+source/libgpod/+bug/611020/+attachment/2661844/+files/iphone-cpu-usage.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/611020

Title:
  /lib/udev/iphone-set-info consumes 99% CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtkpod/+bug/611020/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to