[Bug 1303649] Re: systemd-logind spins in cgmanager_ping_sync()

James Page james.page at ubuntu.com
Thu Apr 10 08:25:56 UTC 2014


Backtrace with debug symbols installed

(gdb) bt full
#0  0x00007fad4e680700 in __write_nocancel () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x00007fad4efbe377 in nih_main_loop_interrupt () from /lib/x86_64-linux-gnu/libnih.so.1
No symbol table info available.
#2  0x00007fad4eb8464b in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
No symbol table info available.
#3  0x00007fad4eb84f8e in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
No symbol table info available.
#4  0x00007fad4eb85626 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
No symbol table info available.
#5  0x00007fad4eb843ff in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
No symbol table info available.
#6  0x00007fad4eb6e9dc in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
No symbol table info available.
#7  0x00007fad4eb6f389 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
No symbol table info available.
#8  0x00007fad4eb6f94d in dbus_connection_send_with_reply_and_block () from /lib/x86_64-linux-gnu/libdbus-1.so.3
No symbol table info available.
#9  0x00007fad4f1d0a85 in cgmanager_ping_sync () from /lib/x86_64-linux-gnu/libcgmanager.so.0
No symbol table info available.
#10 0x00000000004223a3 in cgm_dbus_connect () at ../src/shared/cgmanager.c:73
        dbus_error = {name = 0x0, message = 0x0, dummy1 = 1, dummy2 = 0, dummy3 = 0, dummy4 = 0, dummy5 = 1, padding1 = 0x2161b10}
        connection = <optimised out>
        __func__ = "cgm_dbus_connect"
#11 0x000000000041647f in cg_create (controller=controller at entry=0x212a3d0 "hugetlb", path=path at entry=0x2155dc0 "/user/0.user/c132.session", 
    suffix=suffix at entry=0x0) at ../src/shared/cgroup-label.c:47
        fs = 0x0
        r = <optimised out>
        existed = 0
#12 0x000000000041655d in cg_create_and_attach (controller=controller at entry=0x212a3d0 "hugetlb", path=path at entry=0x2155dc0 "/user/0.user/c132.session", 
    pid=20656) at ../src/shared/cgroup-label.c:89
        r = <optimised out>
        q = <optimised out>
        __PRETTY_FUNCTION__ = "cg_create_and_attach"
#13 0x000000000040f3ed in session_create_one_group (s=s at entry=0x2165df0, controller=controller at entry=0x212a3d0 "hugetlb", 
    path=path at entry=0x2155dc0 "/user/0.user/c132.session") at ../src/login/logind-session.c:442
        r = <optimised out>
        __PRETTY_FUNCTION__ = "session_create_one_group"
#14 0x00000000004107dc in session_create_cgroup (s=0x2165df0) at ../src/login/logind-session.c:511
        k = 0x212a730
        p = 0x2155dc0 "/user/0.user/c132.session"
        r = <optimised out>
#15 session_start (s=0x2165df0) at ../src/login/logind-session.c:567
        r = <optimised out>
        __PRETTY_FUNCTION__ = "session_start"
        __func__ = "session_start"
#16 0x000000000040c4d3 in bus_manager_create_session (_reply=0x7fff596b4828, message=0x212dcf0, m=<optimised out>) at ../src/login/logind-dbus.c:672
        audit_id = 0
        vtnr = 0
        remote_user = 0x2137228 "root"
        leader = 20656
        id = 0x2166390 "c132"
        r = <optimised out>
        seat = 0x0
        remote = 1
        exists = 0
        type = 0x21371e8 "unspecified"
        remote_host = 0x2137234 "hendrix"
        service = 0x21371dc "schroot"
        p = 0x0
        t = SESSION_UNSPECIFIED
        user = 0x215c0a0
        b = <optimised out>
        kill_processes = 0
        reset_controllers = 0x0
        c = SESSION_BACKGROUND
        iter = {dummy1 = 0x212dcf0, dummy2 = 0x7fad00600000, dummy3 = 35009132, dummy4 = 0, dummy5 = 34790648, dummy6 = 0, dummy7 = 165, dummy8 = 0, 
          dummy9 = 34790720, dummy10 = 0, dummy11 = 116, pad1 = 0, pad2 = 1322933504, pad3 = 0x7fad4eda65e0}
        fifo_fd = 21
        class = 0x21371f8 "background"
        cseat = 0x2137208 ""
        tty = 0x2137214 ""
        display = 0x213721c ""
        uid = 0
        session = 0x2165df0
        controllers = 0x0
        cgroup = 0x215fb20 "/"
        reply = 0x0
#17 manager_message_handler (connection=0x212a870, message=0x212dcf0, userdata=<optimised out>) at ../src/login/logind-dbus.c:1752
        m = <optimised out>
---Type <return> to continue, or q <return> to quit---
        error = {name = 0x0, message = 0x0, dummy1 = 1, dummy2 = 0, dummy3 = 0, dummy4 = 0, dummy5 = 0, padding1 = 0x1}
        reply = 0x0
        r = <optimised out>
        __PRETTY_FUNCTION__ = "manager_message_handler"
#18 0x00007fad4eb7de26 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
No symbol table info available.
#19 0x00007fad4eb70a01 in dbus_connection_dispatch () from /lib/x86_64-linux-gnu/libdbus-1.so.3
No symbol table info available.
#20 0x0000000000409467 in manager_run (m=m at entry=0x212a010) at ../src/login/logind.c:1736
        event = {events = 4294967295, data = {ptr = 0xffffffff, fd = -1, u32 = 4294967295, u64 = 4294967295}}
        n = <optimised out>
        msec = -1
        __PRETTY_FUNCTION__ = "manager_run"
        __func__ = "manager_run"
#21 0x000000000040622c in main (argc=<optimised out>, argv=<optimised out>) at ../src/login/logind.c:1867
        m = 0x212a010
        r = 0
        __func__ = "main"

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

Title:
  systemd-logind spins in cgmanager_ping_sync()

Status in “systemd” package in Ubuntu:
  New

Bug description:
  systemd-logind is consuming a high level of cpu on a continual basis:

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                
    676 root      20   0   43644   2144   1568 R 100.0  0.0  74:43.77 systemd-logind

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: systemd-services 204-5ubuntu17
  ProcVersionSignature: Ubuntu 3.13.0-22.44-generic 3.13.8
  Uname: Linux 3.13.0-22-generic x86_64
  ApportVersion: 2.14.1-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Apr  7 09:09:37 2014
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2013-04-23 (348 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130423)
  SourcePackage: systemd
  UpgradeStatus: Upgraded to trusty on 2013-11-11 (146 days ago)

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



More information about the foundations-bugs mailing list