← Back to team overview

touch-packages team mailing list archive

[Bug 1302264] Re: systemd-logind assert failure: error.c:319: Assertion failed in nih_error_get: context_stack != NULL

 

The problem has arisen again in my system when updating to systemd-
services 204-5ubuntu20.5.

I downgraded to the 204-5ubuntu20.4 version and the error disappeared,
so I guess the latest version is provoking the error now.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1302264

Title:
  systemd-logind assert failure: error.c:319: Assertion failed in
  nih_error_get: context_stack != NULL

Status in “systemd” package in Ubuntu:
  Fix Released

Bug description:
  Initially presents as a 'hang' during bootup. Checking the upstart
  logs it looks like systemd-logind is failing.

  I tried a few different approaches - and eventually found that
  installing cgmanager allowed the system to reach a x11 login

  checking into the logs now I continue to see errors:

  Removed session c1.
  cgmanager: cgm_remove for controller=blkio, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=cpu, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=cpuacct, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=cpuset, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=devices, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=freezer, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=hugetlb, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=memory, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=perf_event, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=systemd, cgroup_path=user/115.user/c1.session, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=blkio, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=cpu, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=cpuacct, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=cpuset, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=devices, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=freezer, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=hugetlb, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=memory, cgroup_path=user/115.user, recursive=1 failed: invalid request
  cgmanager: cgm_remove for controller=perf_event, cgroup_path=user/115.user, recursive=1 failed: invalid request
  Failed to issue method call: Unknown unit: autovt@tty2.service

  but the system seems to working now.

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: systemd-services 204-5ubuntu16
  ProcVersionSignature: Ubuntu 3.13.0-22.44-generic 3.13.8
  Uname: Linux 3.13.0-22-generic x86_64
  ApportVersion: 2.14-0ubuntu1
  Architecture: amd64
  AssertionMessage: error.c:319: Assertion failed in nih_error_get: context_stack != NULL
  Date: Thu Apr  3 18:18:23 2014
  ExecutablePath: /lib/systemd/systemd-logind
  InstallationDate: Installed on 2014-03-24 (10 days ago)
  InstallationMedia: Ubuntu-GNOME 14.04 "Trusty Tahr" - Alpha amd64 (20140323)
  ProcCmdline: /lib/systemd/systemd-logind
  ProcEnviron:
   PATH=(custom, no user)
   TERM=linux
  Signal: 6
  SourcePackage: systemd
  StacktraceTop:
   nih_error_get () from /lib/x86_64-linux-gnu/libnih.so.1
   ?? ()
   ?? ()
   ?? ()
   ?? ()
  Title: systemd-logind assert failure: error.c:319: Assertion failed in nih_error_get: context_stack != NULL
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

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