Timeline debug scope crash at start-up / begin fence sync
We seem to be crashing in timeline_render_point_handler()
before mapping any window/surface, looks like it was introduced with 7c9c545b
Steps to reproduce:
- Start weston with --debug
$ weston-debug timeline
- Map any window
#5 0x00007f6ff1c2adf2 in __GI___assert_fail
(assertion=0x7f6ff0bc40df "result_available == GL_TRUE", file=0x7f6ff0bc40b8 "../libweston/renderer-gl/gl-renderer.c", line=370, function=0x7f6ff0bc51e0 <__PRETTY_FUNCTION__.42> "timeline_render_point_handler") at ./assert/assert.c:101
#6 0x00007f6ff0bb5120 in timeline_render_point_handler (fd=51, mask=1, data=0x55e63f9d04d0) at ../libweston/renderer-gl/gl-renderer.c:370
#7 0x00007f6ff1b59642 in wl_event_loop_dispatch (loop=0x55e63f1c9440, timeout=<optimized out>, timeout@entry=-1) at ../src/event-loop.c:1104
#8 0x00007f6ff1b57285 in wl_display_run (display=0x55e63f1c9350) at ../src/wayland-server.c:1493
#9 0x00007f6ff1dff726 in wet_main (argc=1, argv=0x7fffb93f0428, test_data=0x0) at ../compositor/main.c:4226
#10 0x000055e63e61015e in main (argc=5, argv=0x7fffb93f0428) at ../compositor/executable.c:33