[Bug 1230031] Re: dbus-daemon consumes 100% cpu without reason

Parag Warudkar 1230031 at bugs.launchpad.net
Tue Feb 11 23:05:58 UTC 2014


Here is some hopefully useful info - Perf Report data and gdb stack
trace - lightdm user, 100% CPU for dbus-daemon.

Loaded symbols for /lib/x86_64-linux-gnu/libnss_files.so.2
__errno_location () at ../csu/errno-loc.c:26
26      ../csu/errno-loc.c: No such file or directory.
(gdb) bt
#0  __errno_location () at ../csu/errno-loc.c:26
#1  0x000000000043ae88 in _dbus_babysitter_unref (sitter=0x181e640) at ../../dbus/dbus-spawn.c:317
#2  0x00000000004058ab in bus_pending_activation_unref (pending_activation=0x1815700)
    at ../../bus/activation.c:194
#3  0x000000000042d9ee in free_entry_data (table=0x180aec0, table=0x180aec0, entry=0x1815e80,
    entry=0x1815e80) at ../../dbus/dbus-hash.c:445
#4  _dbus_hash_table_unref (table=0x180aec0) at ../../dbus/dbus-hash.c:395
#5  0x0000000000405b8d in bus_activation_unref (activation=0x180c880)
    at ../../bus/activation.c:969
#6  0x00000000004088af in bus_context_unref (context=0x1809160) at ../../bus/bus.c:1086
#7  0x0000000000404503 in main (argc=<optimized out>, argv=<optimized out>)
    at ../../bus/main.c:650

------------------------------------------------------------------------------------------------------------------------------
perf report
---------------
Samples: 67K of event 'cycles', Event count (approx.): 37182799970
 55.43%  dbus-daemon  dbus-daemon         [.] _dbus_babysitter_unref                               â
 33.54%  dbus-daemon  libpthread-2.17.so  [.] __errno_location                                     â
 10.88%  dbus-daemon  dbus-daemon         [.] __errno_location at plt                                 â

Annotation 
-'     â",    â+" jns    36fca
-'     â",    â+' callq  __errno_location at plt
 20.05 â",      mov    (%rax),%edi
 39.55 â",      mov    %rax,%r12
       â",      cmp    $0x4,%edi
-'     â",    â+" jne    37000
 20.20 â",      test   %ebp,%ebp
       â",    â+" je     36fa0
-'     â",      test   %ebp,%ebp
 20.20 â",    â+" js     36fb3
       â",      movl   $0xffffffff,0x18(%rbx)

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

Title:
  dbus-daemon consumes 100% cpu without reason

Status in “dbus” package in Ubuntu:
  Confirmed

Bug description:
  Just login in to session, and dbus-daemon consumes 100% of cpu.
  Before, I did a login and logout. This problem appears randomly, not
  all the time.

   9107 sergio    20   0 30376 1660 1356 R 100,1  0,0  11:35.08 dbus-daemon                                                                                           
  11692 root      20   0  433m  54m  37m S   1,0  1,4   0:05.46 Xorg                                                                                                  
  12279 sergio    20   0 1506m  78m  30m S   0,7  2,1   0:05.40 compiz                                                                                                
  12417 sergio    20   0  553m  20m  11m S   0,7  0,6   0:00.93 gnome-terminal                                                                                        
  13757 sergio    20   0  853m 160m  40m S   0,7  4,2   0:06.83 firefox

  See sensors, dbus-daemon is heating up my laptop:

  Adapter: Virtual device
  temp1:        +68.0°C  (crit = +98.0°C)

  coretemp-isa-0000
  Adapter: ISA adapter
  Physical id 0:  +69.0°C  (high = +84.0°C, crit = +100.0°C)
  Core 0:         +49.0°C  (high = +84.0°C, crit = +100.0°C)
  Core 1:         +51.0°C  (high = +84.0°C, crit = +100.0°C)
  Core 2:         +69.0°C  (high = +84.0°C, crit = +100.0°C)
  Core 3:         +55.0°C  (high = +84.0°C, crit = +100.0°C)

  asus-isa-0000
  Adapter: ISA adapter
  temp1:       +6280.0°C  

  pkg-temp-0-virtual-0
  Adapter: Virtual device
  temp1:        +68.0°C

  ---

  Description:	Ubuntu Saucy Salamander (development branch)
  Release:	13.10
  Linux sergio-X751JB 3.11.0-8-generic #15-Ubuntu SMP Fri Sep 20 04:11:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

  dbus:
    Installed: 1.6.12-0ubuntu5
    Candidate: 1.6.12-0ubuntu5
    Version table:
   *** 1.6.12-0ubuntu5 0
          500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: dbus 1.6.12-0ubuntu5
  ProcVersionSignature: Ubuntu 3.11.0-8.15-generic 3.11.1
  Uname: Linux 3.11.0-8-generic x86_64
  ApportVersion: 2.12.4-0ubuntu1
  Architecture: amd64
  Date: Wed Sep 25 04:31:14 2013
  InstallationDate: Installed on 2013-09-20 (4 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130920)
  MarkForUpload: True
  SourcePackage: dbus
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list