xfdashboard 0.9.1 fails to start
xfdashboard 0.9.1 and xfdashboard git at commit 63430854 ("Move outline effect to use cairo instead of cogl as cairo does 2d graphics..") fails to start. git works up to and with e3c0664c. It fails with:
(xfdashboard:133207): Cogl-ERROR **: 16:31:18.207: Failed to create texture 2d due to size/format constraints Trace/breakpoint trap (core dumped)
As a frustrating very strange ridiculousness, it starts fine if I configure it with --enable-debug=yes
but it does NOT with --enable-debug=no
. I can't begin to guess what would explain that. I guess it's a good way to encourage people to compile with --enable-debug=yes
..? I can't get it to compile with CFLAGS=-Wno-deprecated-declarations ./autogen.sh --enable-debug=full
so I can't comment on that one (warnings become errors on my box even with that CFLAG=, perhaps I am applying it wrong).
With --enable-debug=no
the command:
XFDASHBOARD_DEBUG=all gdb /usr/local/bin/xfdashboard
produces this story:
[Thread 0x7fff967fc640 (LWP 187856) exited]
[New Thread 0x7fff967fc640 (LWP 187857)]
xfdashboard-Message: 16:45:30.652: xfdashboard_core_init: set singleton=XfdashboardCore@0x42cee0
[New Thread 0x7fff95727640 (LWP 187861)]
[New Thread 0x7fff94f26640 (LWP 187862)]
[New Thread 0x7fff8daa6640 (LWP 187879)]
(xfdashboard:187829): Cogl-WARNING **: 16:45:31.208: driver/gl/cogl-util-gl.c:94: GL error (1282): Invalid operation
(xfdashboard:187829): Cogl-CRITICAL **: 16:45:31.208: _cogl_buffer_gl_map_range: assertion 'data != ((void *)0)' failed
(xfdashboard:187829): GLib-CRITICAL **: 16:45:31.208: g_error_free: assertion 'error != NULL' failed
(xfdashboard:187829): Cogl-CRITICAL **: 16:45:31.208: _cogl_buffer_bind_no_create: assertion 'ctx->current_buffer[buffer->last_target] != buffer' failed
(xfdashboard:187829): Cogl-ERROR **: 16:45:31.208: Failed to create texture 2d due to size/format constraints
Thread 1 "xfdashboard" received signal SIGTRAP, Trace/breakpoint trap.
g_log_structured_array (log_level=<optimized out>, fields=0x7fffffffbc20, n_fields=4) at ../glib/gmessages.c:556
556 G_BREAKPOINT ();
(gdb) fg
Continuing.
[Thread 0x7fff94f26640 (LWP 187862) exited]
[Thread 0x7fff8daa6640 (LWP 187879) exited]
Thread 1 "xfdashboard" received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=log_domain@entry=0x7ffff6c7f028 "Cogl", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
1413 g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
(gdb) fg
Continuing.
(xfdashboard:187829): Cogl-ERROR **: 16:48:52.279: Failed to create texture 2d due to size/format constraints
Thread 1 "xfdashboard" received signal SIGTRAP, Trace/breakpoint trap.
g_log_structured_array (log_level=<optimized out>, fields=0x7fffffffbc20, n_fields=4) at ../glib/gmessages.c:556
556 G_BREAKPOINT ();
(gdb) fg
Continuing.
Thread 1 "xfdashboard" received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=log_domain@entry=0x7ffff6c7f028 "Cogl", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
1413 g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
(gdb) fg
Continuing.
(xfdashboard:187829): Cogl-ERROR **: 16:48:54.704: Failed to create texture 2d due to size/format constraints
Thread 1 "xfdashboard" received signal SIGTRAP, Trace/breakpoint trap.
g_log_structured_array (log_level=<optimized out>, fields=0x7fffffffbc20, n_fields=4) at ../glib/gmessages.c:556
556 G_BREAKPOINT ();
(gdb) fg
Continuing.
Thread 1 "xfdashboard" received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=log_domain@entry=0x7ffff6c7f028 "Cogl", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
1413 g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
(gdb) fg
Continuing.
(xfdashboard:187829): Cogl-WARNING **: 16:48:56.225: driver/gl/cogl-util-gl.c:94: GL error (1282): Invalid operation
(xfdashboard:187829): Cogl-CRITICAL **: 16:48:56.225: _cogl_buffer_gl_map_range: assertion 'data != ((void *)0)' failed
(xfdashboard:187829): GLib-CRITICAL **: 16:48:56.225: g_error_free: assertion 'error != NULL' failed
(xfdashboard:187829): Cogl-CRITICAL **: 16:48:56.226: _cogl_buffer_bind_no_create: assertion 'ctx->current_buffer[buffer->last_target] != buffer' failed
(xfdashboard:187829): Cogl-ERROR **: 16:48:56.226: Failed to create texture 2d due to size/format constraints
Thread 1 "xfdashboard" received signal SIGTRAP, Trace/breakpoint trap.
g_log_structured_array (log_level=<optimized out>, fields=0x7fffffffbc20, n_fields=4) at ../glib/gmessages.c:556
556 G_BREAKPOINT ();
(gdb) fg
Continuing.
Thread 1 "xfdashboard" received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=log_domain@entry=0x7ffff6c7f028 "Cogl", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
1413 g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
(gdb) fg
Continuing.
(xfdashboard:187829): Cogl-ERROR **: 16:49:01.025: Failed to create texture 2d due to size/format constraints
Thread 1 "xfdashboard" received signal SIGTRAP, Trace/breakpoint trap.
g_log_structured_array (log_level=<optimized out>, fields=0x7fffffffbc20, n_fields=4) at ../glib/gmessages.c:556
556 G_BREAKPOINT ();
(gdb) fg
Continuing.
Thread 1 "xfdashboard" received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=log_domain@entry=0x7ffff6c7f028 "Cogl", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
1413 g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
(gdb) fg
Continuing.
(xfdashboard:187829): Cogl-ERROR **: 16:49:02.465: Failed to create texture 2d due to size/format constraints
Thread 1 "xfdashboard" received signal SIGTRAP, Trace/breakpoint trap.
g_log_structured_array (log_level=<optimized out>, fields=0x7fffffffbc20, n_fields=4) at ../glib/gmessages.c:556
556 G_BREAKPOINT ();
(gdb) fg
Continuing.
Thread 1 "xfdashboard" received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=log_domain@entry=0x7ffff6c7f028 "Cogl", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
1413 g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
(gdb) fg
Continuing.
[Thread 0x7fff95727640 (LWP 187861) exited]
(xfdashboard:187829): Cogl-WARNING **: 16:49:03.922: driver/gl/cogl-util-gl.c:94: GL error (1282): Invalid operation
(xfdashboard:187829): Cogl-CRITICAL **: 16:49:03.922: _cogl_buffer_gl_map_range: assertion 'data != ((void *)0)' failed
(xfdashboard:187829): GLib-CRITICAL **: 16:49:03.922: g_error_free: assertion 'error != NULL' failed
(xfdashboard:187829): Cogl-CRITICAL **: 16:49:03.922: _cogl_buffer_bind_no_create: assertion 'ctx->current_buffer[buffer->last_target] != buffer' failed
(xfdashboard:187829): Cogl-ERROR **: 16:49:03.922: Failed to create texture 2d due to size/format constraints
Thread 1 "xfdashboard" received signal SIGTRAP, Trace/breakpoint trap.
g_log_structured_array (log_level=<optimized out>, fields=0x7fffffffbc20, n_fields=4) at ../glib/gmessages.c:556
556 G_BREAKPOINT ();
(gdb) fg
Continuing.
Thread 1 "xfdashboard" received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=log_domain@entry=0x7ffff6c7f028 "Cogl", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
1413 g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
(gdb) bt
#0 g_logv (log_domain=log_domain@entry=0x7ffff6c7f028 "Cogl", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
#1 0x00007ffff6c63279 in _cogl_set_error (error=0x0, domain=<optimized out>, code=<optimized out>, format=<optimized out>) at /usr/src/debug/cogl-1.22.8-3.fc34.x86_64/cogl/cogl-error.c:83
#2 0x00007ffff6c1658f in allocate_from_gl_foreign (error=<optimized out>, loader=<optimized out>, tex_2d=<optimized out>) at driver/gl/cogl-texture-2d-gl.c:337
#3 _cogl_texture_2d_gl_allocate (tex=0x10442a0, error=0x0) at driver/gl/cogl-texture-2d-gl.c:471
#4 0x00007ffff6c4d53a in cogl_texture_allocate (error=0x0, texture=0x10442a0) at /usr/src/debug/cogl-1.22.8-3.fc34.x86_64/cogl/cogl-texture.c:1431
#5 cogl_texture_allocate (texture=0x10442a0, error=0x0) at /usr/src/debug/cogl-1.22.8-3.fc34.x86_64/cogl/cogl-texture.c:1417
#6 0x00007ffff6c465d0 in _cogl_texture_pre_paint (flags=0, texture=0x10442a0) at /usr/src/debug/cogl-1.22.8-3.fc34.x86_64/cogl/cogl-texture.c:359
#7 _cogl_pipeline_layer_pre_paint (layer=<optimized out>) at /usr/src/debug/cogl-1.22.8-3.fc34.x86_64/cogl/cogl-pipeline-layer.c:864
#8 0x00007ffff6c369d9 in _cogl_pipeline_pre_paint_for_layer (layer_id=0, pipeline=0xdcaeb0) at /usr/src/debug/cogl-1.22.8-3.fc34.x86_64/cogl/cogl-pipeline.c:2607
#9 _cogl_rectangles_validate_layer_cb (pipeline=0xdcaeb0, layer_index=0, user_data=0x7fffffffbff0) at /usr/src/debug/cogl-1.22.8-3.fc34.x86_64/cogl/cogl-primitives.c:542
#10 0x00007ffff6c40511 in cogl_pipeline_foreach_layer (pipeline=0xdcaeb0, callback=0x7ffff6c369b0 <_cogl_rectangles_validate_layer_cb>, user_data=0x7fffffffbff0)
at /usr/src/debug/cogl-1.22.8-3.fc34.x86_64/cogl/cogl-pipeline.c:735
#11 0x00007ffff6c36c27 in _cogl_framebuffer_draw_multitextured_rectangles (framebuffer=0x1156dd0, pipeline=0xdcaeb0, rects=0x7fffffffc0b0, n_rects=1, disable_legacy_state=1)
at /usr/src/debug/cogl-1.22.8-3.fc34.x86_64/cogl/cogl-primitives.c:658
#12 0x00007ffff6c601e6 in cogl_framebuffer_draw_textured_rectangle
(framebuffer=<optimized out>, pipeline=<optimized out>, x_1=<optimized out>, y_1=<optimized out>, x_2=<optimized out>, y_2=<optimized out>, s_1=<optimized out>, t_1=<optimized out>, s_2=<optimized out>, t_2=<optimized out>) at /usr/src/debug/cogl-1.22.8-3.fc34.x86_64/cogl/cogl-framebuffer.c:2450
#13 0x00007ffff7f3150e in _xfdashboard_outline_effect_paint () at /usr/local/lib/libxfdashboard.so.0
#14 0x00007ffff75c1f00 in clutter_actor_continue_paint (self=self@entry=0x111cc80 [XfdashboardWorkspaceSelector]) at clutter-actor.c:4060
#15 0x00007ffff75c8774 in clutter_actor_paint (self=self@entry=0x111cc80 [XfdashboardWorkspaceSelector]) at clutter-actor.c:3937
#16 0x00007ffff75c8b20 in clutter_actor_real_paint (actor=<optimized out>) at clutter-actor.c:3636
#20 0x00007ffff7266993 in <emit signal ??? on instance 0xdc8440 [XfdashboardActor]> (instance=instance@entry=0xdc8440, signal_id=<optimized out>, detail=detail@entry=0) at ../gobject/gsignal.c:3553
#17 0x00007ffff7248b6c in g_closure_invoke (closure=0xc1b4d0, return_value=0x0, n_param_values=1, param_values=0x7fffffffc4b0, invocation_hint=0x7fffffffc430) at ../gobject/gclosure.c:810
#18 0x00007ffff72648a4 in signal_emit_unlocked_R
(node=node@entry=0xc1b500, detail=detail@entry=0, instance=instance@entry=0xdc8440, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffc4b0)
at ../gobject/gsignal.c:3780
#19 0x00007ffff726677a in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffc660) at ../gobject/gsignal.c:3497
#21 0x00007ffff75c2025 in clutter_actor_continue_paint (self=self@entry=0xdc8440 [XfdashboardActor]) at clutter-actor.c:4017
#22 0x00007ffff75c88f3 in clutter_actor_paint (self=self@entry=0xdc8440 [XfdashboardActor]) at clutter-actor.c:3937
#23 0x00007ffff75c8b20 in clutter_actor_real_paint (actor=<optimized out>) at clutter-actor.c:3636
#27 0x00007ffff7266993 in <emit signal ??? on instance 0xdbdf90 [XfdashboardStageInterface]> (instance=instance@entry=0xdbdf90, signal_id=<optimized out>, detail=detail@entry=0)
at ../gobject/gsignal.c:3553
#24 0x00007ffff7248b6c in g_closure_invoke (closure=0xc1b4d0, return_value=0x0, n_param_values=1, param_values=0x7fffffffca00, invocation_hint=0x7fffffffc980) at ../gobject/gclosure.c:810
#25 0x00007ffff72648a4 in signal_emit_unlocked_R
(node=node@entry=0xc1b500, detail=detail@entry=0, instance=instance@entry=0xdbdf90, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffca00)
at ../gobject/gsignal.c:3780
#26 0x00007ffff726677a in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffcbb0) at ../gobject/gsignal.c:3497
#28 0x00007ffff75c2025 in clutter_actor_continue_paint (self=self@entry=0xdbdf90 [XfdashboardStageInterface]) at clutter-actor.c:4017
#29 0x00007ffff75c88f3 in clutter_actor_paint (self=0xdbdf90 [XfdashboardStageInterface]) at clutter-actor.c:3937
#30 0x00007ffff761d1a2 in clutter_stage_paint (self=<optimized out>) at clutter-stage.c:704
#34 0x00007ffff7266993 in <emit signal ??? on instance 0xc896b0 [XfdashboardStage]> (instance=instance@entry=0xc896b0, signal_id=<optimized out>, detail=detail@entry=0) at ../gobject/gsignal.c:3553
#31 0x00007ffff7248c2f in g_closure_invoke (closure=0xc1b4d0, return_value=0x0, n_param_values=1, param_values=0x7fffffffcfa0, invocation_hint=0x7fffffffcf20) at ../gobject/gclosure.c:810
#32 0x00007ffff72648a4 in signal_emit_unlocked_R
(node=node@entry=0xc1b500, detail=detail@entry=0, instance=instance@entry=0xc896b0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffcfa0)
at ../gobject/gsignal.c:3780
#33 0x00007ffff726677a in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffd150) at ../gobject/gsignal.c:3497
#35 0x00007ffff75c2025 in clutter_actor_continue_paint (self=self@entry=0xc896b0 [XfdashboardStage]) at clutter-actor.c:4017
#36 0x00007ffff75c88f3 in clutter_actor_paint (self=self@entry=0xc896b0 [XfdashboardStage]) at clutter-actor.c:3937
#37 0x00007ffff761df35 in _clutter_stage_do_paint (stage=stage@entry=0xc896b0 [XfdashboardStage], clip=clip@entry=0x0) at clutter-stage.c:687
#38 0x00007ffff75af20a in clutter_stage_cogl_redraw (stage_window=0x4557a0) at cogl/clutter-stage-cogl.c:548
#39 0x00007ffff7620134 in clutter_stage_do_redraw (stage=0xc896b0 [XfdashboardStage]) at clutter-stage.c:1130
#40 _clutter_stage_do_update (stage=0xc896b0 [XfdashboardStage]) at clutter-stage.c:1186
#41 0x00007ffff7609039 in master_clock_update_stages (master_clock=0x11584c0 [ClutterMasterClockDefault], stages=0xc169b0 = {...}) at clutter-master-clock-default.c:443
--Type <RET> for more, q to quit, c to continue without paging--
#42 clutter_clock_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at clutter-master-clock-default.c:567
#43 0x00007ffff7150377 in g_main_dispatch (context=0x42a8c0) at ../glib/gmain.c:3337
#44 g_main_context_dispatch (context=0x42a8c0) at ../glib/gmain.c:4055
#45 0x00007ffff71a42c8 in g_main_context_iterate.constprop.0 (context=context@entry=0x42a8c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#46 0x00007ffff714dab3 in g_main_context_iteration (context=context@entry=0x42a8c0, may_block=may_block@entry=1) at ../glib/gmain.c:4196
#47 0x00007ffff747072d in g_application_run (application=0x73ca10 [XfdashboardApplication], argc=-10540, argv=<optimized out>) at ../gio/gapplication.c:2560
#48 0x0000000000403915 in main ()
I can't even begin to guess why it works with --enable-debug=yes
and fails with --enable-debug=no
. That's the strangest kind of behavior I've seen in a long time.