Comment 9 for bug 1230031

Parag Warudkar (parag-warudkar) wrote :

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@plt â

Annotation
-' â", â+" jns 36fca
-' â", â+' callq __errno_location@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)