systemd-logind assert failure: cgmanager-client.c:6322: Assertion failed in cgmanager_list_children_sync: proxy != NULL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
High
|
Stéphane Graber | ||
Trusty |
Fix Released
|
High
|
Stéphane Graber | ||
Utopic |
Fix Released
|
High
|
Stéphane Graber |
Bug Description
SRU:
Rationale: systemd-logind randomly crashes on random systems, usually with a similar traceback or most commonly with a corrupted one. We've identified a few problems in the patch, most of which can account for the symptoms people have seen and all of which being obviously correct bugfixes.
Testcase: Get the fixes into utopic and trusty-proposed, wait for a week for new reports (here and on errors.ubuntu.com), if none were reported, push to -updates. While we know what we've fixed, actually reproducing the bug in the wild is notoriously difficult, we attempted various kind of stress tests over the past 2 months without much luck...
Regression potential: All the fixes are very simple, very targeted and pretty obvious, so if we do end up breaking something else as the result of that, it's most likely another bug that was hidden behind incorrect behaviour. Any such bug should be easy to deal with or we can always revert to the current state (better the devil you know).
=== Original bug report ===
Occurred after a dist-upgrade, reboot and logging in.
Any needed logs will be added later
ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: systemd-services 204-5ubuntu20
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
AssertionMessage: cgmanager-
Date: Thu Apr 17 14:53:58 2014
ExecutablePath: /lib/systemd/
InstallationDate: Installed on 2012-10-08 (555 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20121008)
ProcCmdline: /lib/systemd/
ProcEnviron:
TERM=linux
PATH=(custom, no user)
Signal: 6
SourcePackage: systemd
StacktraceTop:
cgmanager_
?? ()
?? ()
?? ()
?? ()
Title: systemd-logind assert failure: cgmanager-
UpgradeStatus: Upgraded to trusty on 2013-10-26 (172 days ago)
UserGroups: utah
Changed in systemd (Ubuntu): | |
assignee: | nobody → Stéphane Graber (stgraber) |
Changed in cgmanager (Ubuntu): | |
status: | Invalid → Confirmed |
description: | updated |
StacktraceTop: list_children_ sync (parent= parent@ entry=0x0, proxy=0x0, controller= controller@ entry=0x426d47 "systemd", cgroup= cgroup@ entry=0x9d3e51 "user/1000. user/c2. session" , output= output@ entry=0x7ffffff 78078) at cgmanager- client. c:6323 0x426d47 "systemd", cgroup_ path=0x9d3e51 "user/1000. user/c2. session" , cgroup_ path@entry= 0x9d3e50 "/user/ 1000.user/ c2.session" , children= children@ entry=0x7ffffff 78078) at ../src/ shared/ cgmanager. c:194 controller@ entry=0x425c0a "name=systemd", path=0x9d3e50 "/user/ 1000.user/ c2.session" , delete_ root=delete_ root@entry= false) at ../src/ shared/ cgroup- util.c: 750 terminate_ cgroup (s=0x9e3740) at ../src/ login/logind- session. c:625 0x9e3740) at ../src/ login/logind- session. c:709
cgmanager_
cgm_list_children (controller=
cg_trim (controller=
session_
session_stop (s=s@entry=