Bug 674702
Summary: | 100% CPU after disconnect of ipod touch | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Wade Hampton <wadehamptoniv> | ||||
Component: | libgpod | Assignee: | Bastien Nocera <bnocera> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 14 | CC: | bnocera, chkr, geoffro17, nathaniel, tmz | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-08-16 12:23:08 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Wade Hampton
2011-02-02 23:44:14 UTC
I am having similar problems with an iPhone 3g (which doesn't get mounted). The upower applet thinks I have 2 phones plugged in and is chewing up 80-90% of cpu. Created attachment 551381 [details]
iDevice SSL write fix
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. 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!
Just wanted to let everyone know that as of 11 Jan 2012, the libimobiledevice developers have integrated my patch into their master development branch. I don't know how long this will take to filter down to the various distributions, so if you can't wait, you can obtain the source code (via git) from their repository: <git://git.sukimashita.com/libimobiledevice.git>. This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |