Page MenuHomePhabricator

Valgrind absolutely hates the shaders
Closed, InvalidPublic

Description

When running valgrind on EFL+UI programs (e.g. terminology, eovim) valgrind overflows with errors from:

==19546== Invalid read of size 8
==19546==    at 0x4C367EE: memmove (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==19546==    by 0x1C5CF392: ??? (in /usr/lib/x86_64-linux-gnu/dri/i965_dri.so)
==19546==    by 0x1C5D6740: ??? (in /usr/lib/x86_64-linux-gnu/dri/i965_dri.so)
==19546==    by 0x1C5D80F1: ??? (in /usr/lib/x86_64-linux-gnu/dri/i965_dri.so)
==19546==    by 0x1C5C83C7: ??? (in /usr/lib/x86_64-linux-gnu/dri/i965_dri.so)
==19546==    by 0x1C420426: ??? (in /usr/lib/x86_64-linux-gnu/dri/i965_dri.so)
==19546==    by 0x1C333E1C: ??? (in /usr/lib/x86_64-linux-gnu/dri/i965_dri.so)
==19546==    by 0x1BF05220: evas_gl_common_shader_compile (evas_gl_shader.c:499)
==19546==    by 0x1BF05220: evas_gl_common_shader_generate_and_compile (evas_gl_shader.c:595)
==19546==    by 0x1BF06A82: evas_gl_common_shader_program_get (evas_gl_shader.c:989)
==19546==    by 0x1BEF9E87: evas_gl_common_context_image_push (evas_gl_context.c:2216)
==19546==    by 0x1BF139FC: _evas_gl_common_image_push (evas_gl_image.c:1318)
==19546==    by 0x1BF139FC: evas_gl_common_image_draw (evas_gl_image.c:1455)
==19546==    by 0x1BEE65F0: eng_image_draw (evas_engine.c:1240)
==19546==  Address 0x7f1ebfec8010 is not stack'd, malloc'd or (recently) free'd
==19546==

This happen on EFL master (currently 27ac9a2be294f1e4f7ab9a6483e51d8eaaa3f440), with x11/opengl.

jayji created this task.Dec 29 2017, 1:32 PM
jpeg added a comment.Jan 8 2018, 2:12 AM

Looks like a problem with i965, not with EFL...

bu5hm4n closed this task as Invalid.Jun 11 2018, 1:39 AM
bu5hm4n added a subscriber: bu5hm4n.

we cannot really do anything about the driver, so i would call this for now as a invalid