[Bug 981314] Re: assertion failure without initramfs: ply-buffer.c:184: ply_buffer_append_bytes: Assertion `buffer != ((void *)0)' failed.
Steve Langasek
steve.langasek at canonical.com
Sun Apr 15 07:11:18 UTC 2012
Newer plymouth upstream includes the following change:
{
state.should_be_attached = attach_to_session;
if (!attach_to_running_session (&state))
- ply_trace ("could not create session: %m");
+ {
+ ply_trace ("could not redirect console session: %m");
+ if (! no_daemon)
+ ply_detach_daemon (daemon_handle, EX_UNAVAILABLE);
+ return EX_UNAVAILABLE;
+ }
}
state.boot_server = start_boot_server (&state);
This removes the assertion, but simply by causing plymouthd to exit
instead.
That's going to be difficult to correct for. We start plymouth early in
order to be able to capture early boot information, and so that mountall
can communicate with it for any interactions necessary while fscking the
filesystem; so we can't simply start plymouth later once /dev is
mounted. So we need to do something other than what upstream has
implemented here. If we're going to allow retrying console redirection
later, though, we need to carefully examine the failure path in
attach_to_running_session().
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to plymouth in Ubuntu.
https://bugs.launchpad.net/bugs/981314
Title:
assertion failure without initramfs: ply-buffer.c:184:
ply_buffer_append_bytes: Assertion `buffer != ((void *)0)' failed.
Status in “plymouth” package in Ubuntu:
Triaged
Bug description:
I see the following assertion failure on every boot, with a custom-
compiled kernel version 3.4.0-rc2 and no initrd:
ply-buffer.c:184: ply_buffer_append_bytes: Assertion `buffer != ((void
*)0)' failed.
~# lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04
~# apt-cache policy plymouth
plymouth:
Installed: 0.8.2-2ubuntu29
Candidate: 0.8.2-2ubuntu29
Version table:
*** 0.8.2-2ubuntu29 0
500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
0.8.2-2ubuntu28 0
500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/981314/+subscriptions
More information about the foundations-bugs
mailing list