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,
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 0.8.2-patched/ src/main. c 2012-04-13 23:38:39.337606192 -0400
const char *output,
size_ t size) boot_buffer" ); buffer_ append_ bytes (state- >boot_buffer, output, size); boot_splash_ update_ output (state- >boot_splash,
+++ plymouth-
@@ -148,6 +148,10 @@
{
+ if (state->boot_buffer == NULL) {
+ state->boot_buffer = ply_buffer_new();
+ ply_trace ("on_session_output called with null state->
+ }
ply_
if (state->boot_splash != NULL)
ply_