jayji pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=8fb153cf8cab550121136aeb2710fc2d9f42fadc
commit 8fb153cf8cab550121136aeb2710fc2d9f42fadc Author: Jean Guyomarc'h <jean.guyoma...@gmail.com> Date: Sat Apr 2 22:19:29 2016 +0200 evas_gl_cocoa: fix segmentation fault at program exit Programs crashed on a segmentation fault when the last window was closed. The eng_output_idle_flush() function was removed... but since gl_cocoa does not properly use *_generic modules, the output_idle_flush() function called by the render engine was garbage (hence the segfault). Now nothing is done... but at least we don't crash anymore. --- src/modules/evas/engines/gl_cocoa/evas_engine.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/modules/evas/engines/gl_cocoa/evas_engine.c b/src/modules/evas/engines/gl_cocoa/evas_engine.c index 31bc120..215cf53 100644 --- a/src/modules/evas/engines/gl_cocoa/evas_engine.c +++ b/src/modules/evas/engines/gl_cocoa/evas_engine.c @@ -1119,6 +1119,11 @@ evgl_glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const #endif +static void +eng_output_idle_flush(void *data EINA_UNUSED) +{ +} + static void * eng_gl_api_get(void *data, int version EINA_UNUSED) { @@ -1337,7 +1342,7 @@ module_open(Evas_Module *em) ORD(context_cutout_add); ORD(context_cutout_clear); ORD(output_flush); - // ORD(output_idle_flush); + ORD(output_idle_flush); // ORD(output_dump); ORD(rectangle_draw); ORD(line_draw); --