upstart-udev-bridge at 100% CPU
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I noticed that upstart-udev-bridge was using 100% of one of my CPU cores. I noticed this after a compiz crash; I'm not sure if the problem was happening before the crash.
Attached is an strace log:
sudo strace -f -o upstart-
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: upstart 1.3-0ubuntu8
ProcVersionSign
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Thu Sep 15 09:30:34 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: upstart
UpgradeStatus: Upgraded to oneiric on 2011-09-02 (12 days ago)
Backtrace via GDB:
steve@steve- laptop: ~$ sudo gdb gnu.org/ licenses/ gpl.html> bugs.launchpad. net/gdb- linaro/>. udev-bridge. ..(no debugging symbols found)...done. so.1... (no debugging symbols found)...done. dbus.so. 1...(no debugging symbols found)...done. dbus.so. 1 64-linux- gnu/libdbus- 1.so.3. ..(no debugging symbols found)...done. 64-linux- gnu/libdbus- 1.so.3 64-linux- gnu/libudev. so.0... (no debugging symbols found)...done. 64-linux- gnu/libudev. so.0 64-linux- gnu/libc. so.6... (no debugging symbols found)...done. 64-linux- gnu/libc. so.6 64-linux- gnu/librt. so.1... (no debugging symbols found)...done. 64-linux- gnu/librt. so.1 64-linux- gnu/libpthread. so.0... (no debugging symbols found)...done. 64-linux- gnu/libpthread. so.0 ld-linux- x86-64. so.2... (no debugging symbols found)...done. ld-linux- x86-64. so.2 64-linux- gnu/libc. so.6
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://
(gdb) attach 291
Attaching to process 291
Reading symbols from /sbin/upstart-
Reading symbols from /lib/libnih.
Loaded symbols for /lib/libnih.so.1
Reading symbols from /lib/libnih-
Loaded symbols for /lib/libnih-
Reading symbols from /lib/x86_
Loaded symbols for /lib/x86_
Reading symbols from /lib/x86_
Loaded symbols for /lib/x86_
Reading symbols from /lib/x86_
Loaded symbols for /lib/x86_
Reading symbols from /lib/x86_
Loaded symbols for /lib/x86_
Reading symbols from /lib/x86_
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib/x86_
Reading symbols from /lib64/
Loaded symbols for /lib64/
0x00007fee20388bf0 in write () from /lib/x86_
(gdb) thread apply all bt
Thread 1 (Thread 0x7fee210c0720 (LWP 291)): 64-linux- gnu/libc. so.6 64-linux- gnu/libc. so.6 64-linux- gnu/libc. so.6 64-linux- gnu/libc. so.6 64-linux- gnu/libc. so.6 64-linux- gnu/libc. so.6 64-linux- gnu/libc. so.6 64-linux- gnu/libdbus- 1.so.3 iter_append_ basic () from /lib/x86_ 64-linux- gnu/libdbus- 1.so.3 64-linux- gnu/libc. so.6
#0 0x00007fee20388bf0 in write () from /lib/x86_
#1 0x00007fee203285f3 in _IO_file_write () from /lib/x86_
#2 0x00007fee203284ba in ?? () from /lib/x86_
#3 0x00007fee20328f6e in _IO_file_xsputn () from /lib/x86_
#4 0x00007fee203015f6 in ?? () from /lib/x86_
#5 0x00007fee202fc6ee in vfprintf () from /lib/x86_
#6 0x00007fee203ac0db in __fprintf_chk () from /lib/x86_
#7 0x00007fee20887e34 in ?? () from /lib/x86_
#8 0x00007fee2087add2 in dbus_message_
#9 0x00007fee210effb0 in ?? ()
#10 0x00007fee210ed195 in ?? ()
#11 0x00007fee20cb843b in nih_io_handle_fds () from /lib/libnih.so.1
#12 0x00007fee20cbc365 in nih_main_loop () from /lib/libnih.so.1
#13 0x00007fee202d630d in __libc_start_main () from /lib/x86_
#14 0x00007fee210eccb1 in ?? ()
#15 0x00007fffcb412578 in ?? ()
#16 0x000000000000001c in ?? ()
#17 0x0000000000000002 in ?? ()
#18 0x00007fffcb413f17 in ?? ()
---Type <return> to continue, or q <return> to quit---
#19 0x00007fffcb413f2b in ?? ()
#20...