Actually, I added some more assertions and settled on the following
workaround for now:
--- plymouth-0.8.2/src/main.c 2012-04-14 09:15:23.000000000 -0400
+++ plymouth-0.8.2-patched/src/main.c 2012-04-13 23:38:39.337606192 -0400
@@ -148,6 +148,10 @@
const char *output,
size_t size)
{
+ if (state->boot_buffer == NULL) {
+ state->boot_buffer = ply_buffer_new();
+ ply_trace ("on_session_output called with null state->boot_buffer");
+ }
ply_buffer_append_bytes (state->boot_buffer, output, size);
if (state->boot_splash != NULL)
ply_boot_splash_update_output (state->boot_splash,
** Patch added: "Workaround for on_session_output() being called with null
state->boot_buffer."
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/981314/+attachment/3065196/+files/plymouth-workaround-981314.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/981314
Title:
ply-buffer.c:184: ply_buffer_append_bytes: Assertion `buffer != ((void
*)0)' failed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/981314/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs