I'm getting the following segfault both on the git master (2883aff3becbb5a71b0bd270266e58114c98ef12) and 10.3: Program received signal SIGSEGV, Segmentation fault. 0x00007f03cbb2a784 in image_get_buffers (driDrawable=0x33a6a10, format=4107, stamp=0x33a6a40, loaderPrivate=0x3f812e0, buffer_mask=1, buffers=0x7fffbef88bc0) at backends/dri/gbm_dri.c:119 119 if (dri->image_get_buffers == NULL) (gdb) list 114 struct __DRIimageList *buffers) 115 { 116 struct gbm_dri_surface *surf = loaderPrivate; 117 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); 118 119 if (dri->image_get_buffers == NULL) 120 return 0; 121 122 return dri->image_get_buffers(driDrawable, format, stamp, 123 surf->dri_private, buffer_mask, buffers); (gdb) p dri $1 = (struct gbm_dri_device *) 0x0 (gdb) bt #0 0x00007f03cbb2a784 in image_get_buffers (driDrawable=0x33a6a10, format=4107, stamp=0x33a6a40, loaderPrivate=0x3f812e0, buffer_mask=1, buffers=0x7fffbef88bc0) at backends/dri/gbm_dri.c:119 #1 0x00007f03b34166ad in intel_update_image_buffers (brw=0xd3c5e8, drawable=0x33a6a10) at brw_context.c:1465 #2 0x00007f03b3415f35 in intel_update_renderbuffers (context=0xb08c90, drawable=0x33a6a10) at brw_context.c:1157 #3 0x00007f03b3415fcc in intel_prepare_render (brw=0xd3c5e8) at brw_context.c:1178 #4 0x00007f03b3408ea8 in brw_clear (ctx=0xd3c5e8, mask=16) at brw_clear.c:234 #5 0x00007f03b3058c2a in _mesa_Clear (mask=256) at ../../src/mesa/main/clear.c:225 #6 0x00007f03cbf54d09 in _cogl_framebuffer_gl_clear (framebuffer=0xacdab0, buffers=2, red=0.180392161, green=0.203921571, blue=0.211764708, alpha=1) at ./driver/gl/cogl-framebuffer-gl.c:1013 #7 0x00007f03cbfb1750 in _cogl_framebuffer_clear_without_flush4f (framebuffer=0xacdab0, buffers=2, red=0.180392161, green=0.203921571, blue=0.211764708, alpha=1) at ./cogl-framebuffer.c:238 #8 0x00007f03cbfb1af4 in cogl_framebuffer_clear4f (framebuffer=0xacdab0, buffers=2, red=0.180392161, green=0.203921571, blue=0.211764708, alpha=1) at ./cogl-framebuffer.c:388 #9 0x00007f03cbfb1ccf in cogl_framebuffer_clear (framebuffer=0xacdab0, buffers=2, color=0x7f039c006eac) at ./cogl-framebuffer.c:457 #10 0x00007f03cd853f75 in clutter_root_node_pre_draw (node=0x7f039c006e50) at ./clutter-paint-nodes.c:116 #11 0x00007f03cd857b17 in _clutter_paint_node_paint (node=0x7f039c006e50) at ./clutter-paint-node.c:961 #12 0x00007f03cd857b4b in _clutter_paint_node_paint (node=0x3ecea40) at ./clutter-paint-node.c:972 #13 0x00007f03cd7ef9ef in clutter_actor_paint_node (actor=0x1f6f160, root=0x3ecea40) at ./clutter-actor.c:3648 #14 0x00007f03cd7f0040 in clutter_actor_continue_paint (self=0x1f6f160) at ./clutter-actor.c:3951 #15 0x00007f03cd7efe4a in clutter_actor_paint (self=0x1f6f160) at ./clutter-actor.c:3875 #16 0x00007f03cd86d585 in _clutter_stage_do_paint (stage=0x1f6f160, clip=0x0) at ./clutter-stage.c:688 #17 0x00007f03cd7dc598 in clutter_stage_cogl_redraw (stage_window=0xae2a40) at ./cogl/clutter-stage-cogl.c:566 #18 0x00007f03cd874b32 in _clutter_stage_window_redraw (window=0xae2a40) at ./clutter-stage-window.c:271 #19 0x00007f03cd86e1b5 in clutter_stage_do_redraw (stage=0x1f6f160) at ./clutter-stage.c:1201 #20 0x00007f03cd86e2e2 in _clutter_stage_do_update (stage=0x1f6f160) at ./clutter-stage.c:1259 #21 0x00007f03cd84c085 in master_clock_update_stages (master_clock=0x2883900, stages=0x2dab440) at ./clutter-master-clock.c:463 #22 0x00007f03cd84c27c in clutter_clock_dispatch (source=0x2962ed0, callback=0x0, user_data=0x0) at ./clutter-master-clock.c:595 #23 0x00007f03c90ca1c8 in g_main_dispatch (context=0xad1ae0) at gmain.c:3111 #24 0x00007f03c90caf32 in g_main_context_dispatch (context=0xad1ae0) at gmain.c:3710 #25 0x00007f03c90cb124 in g_main_context_iterate (context=0xad1ae0, block=1, dispatch=1, self=0xac9640) at gmain.c:3781 #26 0x00007f03c90cb54b in g_main_loop_run (loop=0x20270d0) at gmain.c:3975 #27 0x00007f03d0d12a70 in meta_run () at core/main.c:473 #28 0x0000000000402d08 in main (argc=1, argv=0x7fffbef89718) at main.c:463
This turned out to be a bug in cogl: https://bugzilla.gnome.org/show_bug.cgi?id=741881
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.