upowerd is consuming 100% of CPU

Bug #966568 reported by Dima Ryazanov
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
upower (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

It may have started when I plugged in an iPad 2.

Backtrace from gdb:

(gdb) bt
#0 0x00007ffa83c3467c in __libc_send (fd=<optimized out>, buf=<optimized out>, n=<optimized out>, flags=<optimized out>) at ../sysdeps/unix/sysv/linux/x86_64/send.c:33
#1 0x00007ffa816a3d2b in usbmuxd_send (sfd=<optimized out>, data=<optimized out>, len=37, sent_bytes=0x7fffd341761c) at /build/buildd/usbmuxd-1.0.7/libusbmuxd/libusbmuxd.c:853
#2 0x00007ffa830b013d in internal_connection_send (connection=<optimized out>, data=<optimized out>, len=<optimized out>, sent_bytes=<optimized out>) at idevice.c:274
#3 0x00007ffa830b021a in internal_ssl_write (transport=0x2250d60, buffer=0x22721f0 "\027\003", length=37) at idevice.c:508
#4 0x00007ffa81ad1508 in ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.26
#5 0x00007ffa81acd9d9 in _gnutls_send_int () from /usr/lib/x86_64-linux-gnu/libgnutls.so.26
#6 0x00007ffa830b066e in idevice_connection_send (connection=<optimized out>, data=<optimized out>, len=4, sent_bytes=0x7fffd341781c) at idevice.c:305
#7 0x00007ffa830b1f65 in internal_plist_send (client=0x224c7e0, plist=0x225d380, binary=<optimized out>) at property_list_service.c:143
#8 0x00007ffa830b2e46 in lockdownd_send (client=<optimized out>, plist=<optimized out>) at lockdown.c:288
#9 0x00007ffa830b2f01 in lockdownd_stop_session (client=0x2253190, session_id=0x225b930 "39F72847-12C5-459B-874B-83345EEDBC17") at lockdown.c:161
#10 0x00007ffa830b39cc in lockdownd_client_free (client=0x2253190) at lockdown.c:201
#11 0x00000000004127a5 in ?? ()
#12 0x0000000000412864 in ?? ()
#13 0x00007ffa8330c23b in g_timeout_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3907
#14 0x00007ffa8330aa5d in g_main_dispatch (context=0x221ff30) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441
#15 g_main_context_dispatch (context=0x221ff30) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011
#16 0x00007ffa8330b258 in g_main_context_iterate (context=0x221ff30, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089
#17 0x00007ffa8330b792 in g_main_loop_run (loop=0x223d500) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3297
#18 0x0000000000406a2b in ?? ()
#19 0x00007ffa82b2230d in __libc_start_main (main=0x406730, argc=1, ubp_av=0x7fffd3417c68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd3417c58) at libc-start.c:226
#20 0x0000000000406b71 in ?? ()
#21 0x00007fffd3417c58 in ?? ()
#22 0x000000000000001c in ?? ()
#23 0x0000000000000001 in ?? ()
#24 0x00007fffd3418f46 in ?? ()
#25 0x0000000000000000 in ?? ()

strace:

write(2, "usbmuxd_send: Error -1 when send"..., 49) = 49
sendto(15, "\27\3\0\0 :\34i\rfEA>$\322+\37\6&\313\310\316\231\204\264;-\315hU=\306"..., 37, 0, NULL, 0) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "usbmuxd_send: Error -1 when send"..., 49) = 49
sendto(15, "\27\3\0\0 :\34i\rfEA>$\322+\37\6&\313\310\316\231\204\264;-\315hU=\306"..., 37, 0, NULL, 0) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "usbmuxd_send: Error -1 when send"..., 49) = 49
sendto(15, "\27\3\0\0 :\34i\rfEA>$\322+\37\6&\313\310\316\231\204\264;-\315hU=\306"..., 37, 0, NULL, 0) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: upower 0.9.13-1
Uname: Linux 3.3.0-rc3 x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Mar 27 13:22:24 2012
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: upower
UpgradeStatus: Upgraded to oneiric on 2011-09-02 (206 days ago)

Revision history for this message
Dima Ryazanov (dima-gmail) wrote :
Revision history for this message
Mike Myers (fristle) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in upower (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.