[Bug 850935] Re: upstart-udev-bridge at 100% CPU

James Hunt 850935 at bugs.launchpad.net
Thu Sep 15 15:52:17 UTC 2011


I don't think it's spamming us. The code that is causing the cpu to max
out I think is in upstart-udev-bridge.c:

276         pending_call = NIH_SHOULD (upstart_emit_event (upstart,
277                                                        name, env, FALSE,              
278                                                        NULL, emit_event_error, NULL,  
279                                                        NIH_DBUS_TIMEOUT_NEVER));      

Here, Upstart is expecting the auto-generated call upstart_emit_event()
to succeed, but it clearly isn't so is spinning forever (but not
actually emitting the "power_supply-device-added" event).

btw - libnih ddebs are here:
http://ddebs.ubuntu.com/pool/main/libn/libnih/

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/850935

Title:
  upstart-udev-bridge at 100% CPU

Status in “upstart” package in Ubuntu:
  New

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-udev-bridge.strace -v -p 291

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: upstart 1.3-0ubuntu8
  ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
  Uname: Linux 3.0.0-11-generic x86_64
  NonfreeKernelModules: nvidia
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/850935/+subscriptions




More information about the foundations-bugs mailing list