$ mir_demo_server --window-manager system-compositor
$ gdb --args build/bin/mir_demo_server --no-file --host $XDG_RUNTIME_DIR/mir_socket --test-timeout 100 --test-client build/bin/mir_demo_client_egltriangle
Resize using Alt+middle mouse button
...
Thread 5 "Mir/Comp" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe84e1700 (LWP 15370)]
0x00007ffff5901e68 in dri2_image_get_buffers (driDrawable=0x555555a17b00, format=4099, stamp=<optimized out>, loaderPrivate=0x555555a17640, buffer_mask=<optimized out>,
buffers=0x7fffe84e0960) at ../../../src/egl/drivers/dri2/platform_mir.c:137
137 ../../../src/egl/drivers/dri2/platform_mir.c: No such file or directory.
(gdb) bt
#0 0x00007ffff5901e68 in dri2_image_get_buffers (driDrawable=0x555555a17b00, format=4099, stamp=<optimized out>, loaderPrivate=0x555555a17640, buffer_mask=<optimized out>, buffers=0x7fffe84e0960) at ../../../src/egl/drivers/dri2/platform_mir.c:137
#1 0x00007fffe9d62fee in intel_update_image_buffers (drawable=0x555555a17b00, brw=0x7ffff7f83040) at ../../../../../../src/mesa/drivers/dri/i965/brw_context.c:1657
#2 0x00007fffe9d62fee in intel_update_renderbuffers (context=context@entry=0x555555a0ef90, drawable=drawable@entry=0x555555a17b00)
at ../../../../../../src/mesa/drivers/dri/i965/brw_context.c:1325
#3 0x00007fffe9d63311 in intel_prepare_render (brw=brw@entry=0x7ffff7f83040) at ../../../../../../src/mesa/drivers/dri/i965/brw_context.c:1346
#4 0x00007fffe9d5ee65 in brw_clear (ctx=0x7ffff7f83040, mask=2) at ../../../../../../src/mesa/drivers/dri/i965/brw_clear.c:224
#5 0x00007ffff518049c in mir::renderer::gl::Renderer::render(std::vector<std::shared_ptr<mir::graphics::Renderable>, std::allocator<std::shared_ptr<mir::graphics::Renderable> > > const&) const (this=0x7fffe0000b10, renderables=std::vector of length 3, capacity 3 = {...}) at /home/alan/display_server/mir/src/renderers/gl/renderer.cpp:209
#6 0x00007ffff50b2460 in mir::compositor::DefaultDisplayBufferCompositor::composite(std::vector<std::shared_ptr<mir::compositor::SceneElement>, std::allocator<std::shared_ptr<mir::compositor::SceneElement> > >&&) (this=this@entry=0x7fffe04a5a90, scene_elements=...)
at /home/alan/display_server/mir/src/server/compositor/default_display_buffer_compositor.cpp:84
#7 0x00007ffff50b7f1b in mir::compositor::CompositingFunctor::operator()() (this=0x555555794550)
at /home/alan/display_server/mir/src/server/compositor/multi_threaded_compositor.cpp:141
#8 0x00007ffff517cbd5 in std::function<void ()>::operator()() const (this=0x7fffe84e0e60) at /usr/include/c++/7/bits/std_function.h:706
#9 0x00007ffff517cbd5 in (anonymous namespace)::Task::execute (this=0x7fffe84e0e60) at /home/alan/display_server/mir/src/server/thread/basic_thread_pool.cpp:40
#10 0x00007ffff517cbd5 in (anonymous namespace)::Worker::operator() (this=0x555555a97680) at /home/alan/display_server/mir/src/server/thread/basic_thread_pool.cpp:91
#11 0x00007ffff517cbd5 in std::__invoke_impl<void, (anonymous namespace)::Worker&> (__f=...) at /usr/include/c++/7/bits/invoke.h:60
#12 0x00007ffff517cbd5 in std::__invoke<(anonymous namespace)::Worker&> (__fn=...) at /usr/include/c++/7/bits/invoke.h:95
#13 0x00007ffff517cbd5 in std::thread::_Invoker<std::tuple<(anonymous namespace)::Worker&> >::_M_invoke<0> (this=<optimized out>) at /usr/include/c++/7/thread:234
#14 0x00007ffff517cbd5 in std::thread::_Invoker<std::tuple<(anonymous namespace)::Worker&> >::operator() (this=<optimized out>) at /usr/include/c++/7/thread:243
#15 0x00007ffff517cbd5 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<(anonymous namespace)::Worker&> > >::_M_run() (this=<optimized out>)
at /usr/include/c++/7/thread:186
#16 0x00007ffff79070ff in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#17 0x00007ffff741c7fc in start_thread (arg=0x7fffe84e1700) at pthread_create.c:465
#18 0x00007ffff7149b0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Syncing task from Mir.