Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

100% CPU Usage with iPod Touch

#247

When I connect my iPod Touch to my laptop running Linux Mint 11 (Katya), everything seems to work fine. However, I found that /usr/lib/upower/upowerd and /lib/udev/iphone-set-info both go off the charts at 95-100% CPU each. The only way to solve this is to kill the processes and reboot the machine. This same problem has been reported by others using stock Ubuntu and Red Hat Linux. (See bug reports below)

https://bugs.launchpad.net/ubuntu/+source/libgpod/+bug/611020
https://bugzilla.redhat.com/show_bug.cgi?id=674702

I installed various sets of debug symbols and managed to find the problem in idevice.c:internal_ssl_write. For some unknown reason, the SSL write encounters a problem, but when it returns 0 bytes, this triggers an infinite loop in libgnutls. I developed a small patch which prevents an infinite loop and allows the error to be handled gracefully. I have tested the patch extensively for the past several days, and everything seems to be working. I posted it to the bug reports and figured I might as well submit it to the main developers, too. The patch has been attached.

GP

Reported by Geoff Paul · January 9th, 2012 @ 06:12 PM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. Nikias Bassen
    Nikias Bassen
    • State changed from new to resolved
    • Tag set to gnutls

    Thanks, committed.

    January 12th, 2012 @ 12:34 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.