[Bug 1222705] Re: init assert failure: alloc.c:633: Assertion failed in nih_unref: ref != NULL
Steve Langasek
steve.langasek at canonical.com
Fri Jan 31 11:11:38 UTC 2014
Have just reproduced this bug here with Ubuntu Touch running on an
emulator. When it happened, I was interacting with the upstart session
bus from the commandline. I ran 'initctl list | grep app' to get the
pid for an instance of the application-click job, so that I could
manually kill it instead of having to construct the 'stop' command with
all of the variables etc. So then I ran 'kill $pid', and saw that the
process didn't immediately die, so sent 'kill -9 $pid'.
Then I checked 'initctl list' output again and saw that the job was in
the post-stop script. Then I checked 'initctl list' again, and found
that the connection was refused on the dbus socket because the upstart
session init had died.
My backtrace matches that of Saviq in comment #12 (i.e., nothing
interesting before the nih_unref() call).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1222705
Title:
init assert failure: alloc.c:633: Assertion failed in nih_unref: ref
!= NULL
Status in Upstart:
New
Status in “upstart” package in Ubuntu:
Confirmed
Bug description:
Occurred immediately after bug 1222702 happened.
ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: upstart 1.10-0ubuntu1 [modified: usr/share/upstart/sessions/upstart-file-bridge.conf]
ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
Uname: Linux 3.11.0-4-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.12.1-0ubuntu3
Architecture: i386
AssertionMessage: alloc.c:633: Assertion failed in nih_unref: ref != NULL
Date: Mon Sep 9 09:44:34 2013
ExecutablePath: /sbin/init
InstallationDate: Installed on 2010-10-21 (1054 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
MarkForUpload: True
ProcCmdline: init --user
ProcEnviron:
LANGUAGE=en_GB
PATH=(custom, user)
XDG_RUNTIME_DIR=<set>
LANG=en_GB.UTF-8
SHELL=/bin/bash
Signal: 6
SourcePackage: upstart
StacktraceTop:
nih_unref () from /lib/i386-linux-gnu/libnih.so.1
?? ()
?? ()
?? ()
nih_child_poll () from /lib/i386-linux-gnu/libnih.so.1
Title: init assert failure: alloc.c:633: Assertion failed in nih_unref: ref != NULL
UpgradeStatus: Upgraded to saucy on 2013-06-23 (77 days ago)
UpstartBugCategory: Session
UpstartRunningSessionCount: 1
UpstartRunningSessionVersion: init (upstart 1.10)
UpstartRunningSystemVersion: init (upstart 1.10)
UserGroups: adm admin audio cdrom dialout kvm libvirtd lpadmin plugdev sambashare sbuild vboxusers
upstart.shutdown.override: manual
To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1222705/+subscriptions
More information about the foundations-bugs
mailing list