loginctl crashed with SIGABRT

Bug #1301846 reported by Iain Lane on 2014-04-03
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Medium
Stéphane Graber

Bug Description

This was happening when I did `loginctl session-status c2' on my session while it was hung waiting to log out.

ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: systemd-services 204-5ubuntu15
ProcVersionSignature: Ubuntu 3.13.0-22.44-generic 3.13.8
Uname: Linux 3.13.0-21-generic x86_64
ApportVersion: 2.14-0ubuntu1
Architecture: amd64
CrashCounter: 1
Date: Thu Apr 3 11:04:24 2014
ExecutablePath: /bin/loginctl
InstallationDate: Installed on 2012-10-07 (542 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20121007)
ProcCmdline: loginctl session-status c2
Signal: 6
SourcePackage: systemd
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 ?? ()
Title: loginctl crashed with SIGABRT
UpgradeStatus: Upgraded to trusty on 2013-05-07 (331 days ago)
UserGroups: adm autopilot cdrom dip kvm libvirtd lpadmin plugdev sambashare sudo vboxusers

Iain Lane (laney) wrote :

StacktraceTop:
 log_assert (text=text@entry=0x411ba4 "controller", file=file@entry=0x411d53 "../src/shared/cgroup-util.c", line=line@entry=568, func=func@entry=0x411f90 <__PRETTY_FUNCTION__.9441> "normalize_controller", format=format@entry=0x4118c0 "Assertion '%s' failed at %s:%u, function %s(). Aborting.") at ../src/shared/log.c:695
 log_assert_failed (text=text@entry=0x411ba4 "controller", file=file@entry=0x411d53 "../src/shared/cgroup-util.c", line=line@entry=568, func=func@entry=0x411f90 <__PRETTY_FUNCTION__.9441> "normalize_controller") at ../src/shared/log.c:700
 normalize_controller (controller=0x0) at ../src/shared/cgroup-util.c:568
 cg_enumerate_tasks (controller=0x0, path=0x2560f50 "/sys/fs/cgroup/systemd/user/1000.user/c2.session/user", _f=_f@entry=0x7fff94bb5bd8) at ../src/shared/cgroup-util.c:118
 cg_is_empty (controller=<optimized out>, path=<optimized out>, ignore_self=false) at ../src/shared/cgroup-util.c:1090

Changed in systemd (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Iain Lane (laney) on 2014-04-03
information type: Private → Public
Changed in systemd (Ubuntu):
assignee: nobody → Stéphane Graber (stgraber)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 204-5ubuntu16

---------------
systemd (204-5ubuntu16) trusty; urgency=medium

  [ Stéphane Graber ]
  * Never call normalize_controller when controll is NULL as this
    triggers an assert... (LP: #1301846)

  [ Serge Hallyn ]
  * d/p/add-cgmanager-support: make sure connections are closed (LP: #1301882)
 -- Stephane Graber <email address hidden> Thu, 03 Apr 2014 13:53:09 -0400

Changed in systemd (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers