Comment 23 for bug 611020

Revision history for this message
Geoffrey Paul (geoffro17) wrote :

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!