Menu

#239 /lib/udev/iphone-set-info consumes 99% CPU

open
nobody
libgpod (41)
5
2012-12-18
2010-08-06
No

====Quote from Launchpad====
Here's the htop output showing iphone-set-info spinning at 99% CPU.

622 root 18 -2 50496 3340 2168 R 99.0 0.1 22h17:18 /lib/udev/iphone-set-info

This happens a lot and whenever I feel my machine is sluggish I check for this and kill it.

0 #> uname -a

Linux ice 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 09:20:59 UTC 2010 x86_64 GNU/Linux

0 #> cat /etc/lsb-release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"

ii libgpod-common 0.7.93-0ubuntu1 common files for libgpod
ii libgpod4 0.7.93-0ubuntu1 library to read and write songs and artwork

More info about this bug: https://bugs.launchpad.net/ubuntu/+source/libgpod/+bug/611020

Discussion

  • Christophe Fergeau

    Could you install the debugging packages for libplist, libimobiledevice and libgpod, and attach gdb when this happens to get a backtrace of where it's stuck? (gdb --pid .... as root, and then "thread apply all bt" to get the backtrace)

     
  • Anonymous

    Anonymous - 2010-08-10

    Ok, but keep in mind that I haven' t yet recognized a pattern to reproduce the bug.

     
  • Anonymous

    Anonymous - 2010-08-10

    To reproduce the bug I repeatedly connect and disconnect Iphone's usb cord.
    Here's gdb output:
    (gdb) thread apply all bt

    Thread 1 (Thread 0x7f795d8e7700 (LWP 7953)):
    #0 0x00007f795d4dee72 in send () from /lib/libpthread.so.0
    #1 0x00007f795b3708bb in usbmuxd_send () from /usr/lib/libusbmuxd.so.1
    #2 0x00007f795ca8a01d in internal_connection_send ()
    from /usr/lib/libimobiledevice.so.0
    #3 0x00007f795ca8a0fa in internal_ssl_write ()
    from /usr/lib/libimobiledevice.so.0
    #4 0x00007f795bbac5da in ?? () from /usr/lib/libgnutls.so.26
    #5 0x00007f795bba978d in _gnutls_send_int () from /usr/lib/libgnutls.so.26
    #6 0x00007f795bbc607d in gnutls_alert_send () from /usr/lib/libgnutls.so.26
    #7 0x00007f795bba9c43 in gnutls_bye () from /usr/lib/libgnutls.so.26
    #8 0x00007f795ca89a59 in idevice_connection_disable_ssl ()
    from /usr/lib/libimobiledevice.so.0
    #9 0x00007f795ca8a357 in idevice_disconnect ()
    from /usr/lib/libimobiledevice.so.0
    #10 0x00007f795ca8bf46 in property_list_service_client_free ()
    from /usr/lib/libimobiledevice.so.0
    #11 0x00007f795ca8e2c9 in lockdownd_client_free ()
    from /usr/lib/libimobiledevice.so.0
    #12 0x0000000000401582 in ?? ()
    #13 0x0000000000401302 in ?? ()
    #14 0x00007f795c71fc4d in __libc_start_main () from /lib/libc.so.6
    #15 0x00000000004011b9 in ?? ()
    #16 0x00007fff4cdec398 in ?? ()
    #17 0x000000000000001c in ?? ()
    #18 0x0000000000000001 in ?? ()
    #19 0x00007fff4cdecd4d in ?? ()
    #20 0x0000000000000000 in ?? ()

     
  • Anonymous

    Anonymous - 2010-08-10

    There's a comment about segfaulting: https://bugs.launchpad.net/gtkpod/+bug/611020/comments/4

    I installed the debug packages and started a plug/unplug cycle to get it to happen and saw iphone-set-info is segfaulting:

    2010-08-10 08:58:12 usb 1-7 USB disconnect, address 15
    2010-08-10 08:58:12 usb 1-7 new high speed USB device using ehci_hcd and address 16
    2010-08-10 08:58:12 hub 1-0 .0: unable to enumerate USB device on port 7
    2010-08-10 08:58:13 usb 5-1 new full speed USB device using uhci_hcd and address 3
    2010-08-10 08:58:13 usb 5-1 not running at top speed; connect to a high speed hub
    2010-08-10 08:58:13 usb 5-1 configuration #1 chosen from 4 choices
    2010-08-10 08:58:14 iphone-set-info[28589]: segfault at 18 ip 00007fbaf56be156 sp 00007fff5ef5ac00 error 6 in libimobiledevice.so.0.0.0[7fbaf56b8000+14000]
    2010-08-10 08:58:14 usb 5-1 USB disconnect, address 3
    2010-08-10 08:58:18 usb 1-7 new high speed USB device using ehci_hcd and address 17
    2010-08-10 08:58:18 hub 1-0 .0: unable to enumerate USB device on port 7
    2010-08-10 08:58:18 usb 1-7 new high speed USB device using ehci_hcd and address 18
    2010-08-10 08:58:18 usb 1-7 configuration #1 chosen from 4 choices
    2010-08-10 08:58:20 usb 1-7 USB disconnect, address 18
    2010-08-10 08:58:20 usb 1-7 new high speed USB device using ehci_hcd and address 19
    2010-08-10 08:58:21 hub 1-0 .0: unable to enumerate USB device on port 7
    2010-08-10 08:58:21 usb 5-1 new full speed USB device using uhci_hcd and address 4
    2010-08-10 08:58:21 usb 5-1 not running at top speed; connect to a high speed hub
    2010-08-10 08:58:21 usb 5-1 configuration #1 chosen from 4 choices

    And for now, the CPU burn is not happening.

     
  • Nobody/Anonymous

    xY1ILS <a href="http://bqfjuunlxdoq.com/">bqfjuunlxdoq</a>, [url=http://mdusxucmombp.com/]mdusxucmombp[/url], [link=http://abkjqmqsudqn.com/]abkjqmqsudqn[/link], http://ssjjkuhuoznp.com/

     

Log in to post a comment.