From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82920] Invalid read during geometry program build
Date: Sun, 12 Oct 2014 12:24:42 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0864319071=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id D77C889F4A
for ; Sun, 12 Oct 2014 05:24:42 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0864319071==
Content-Type: multipart/alternative; boundary="1413116682.08e2a4.13655"; charset="UTF-8"
--1413116682.08e2a4.13655
Date: Sun, 12 Oct 2014 12:24:42 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82920
Glenn Kennard changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/Gallium/r600 |glsl-compiler
Assignee|dri-devel@lists.freedesktop |idr@freedesktop.org
|.org |
QA Contact| |intel-3d-bugs@lists.freedes
| |ktop.org
--- Comment #4 from Glenn Kennard ---
Testing "fixed_mc" with a debug-enabled mesa build I get:
Mesa: User error: GL_INVALID_ENUM in glGetString(GL_EXTENSIONS)
- this is from GLFW as far as i can tell, its trying to get the extension
string using the old method which is not supported in a >= 3.3 core context.
Otherwise unrelated to this bug though.
valgrind:
==30990== Invalid read of size 8
==30990== at 0x9F90847: ast_interface_block::hir(exec_list*,
_mesa_glsl_parse_state*) (ast_to_hir.cpp:5688)
==30990== by 0x9F875FC: _mesa_ast_to_hir(exec_list*,
_mesa_glsl_parse_state*) (ast_to_hir.cpp:100)
==30990== by 0x9FDB07A: _mesa_glsl_compile_shader
(glsl_parser_extras.cpp:1462)
==30990== by 0x9EB843D: compile_shader (shaderapi.c:849)
==30990== by 0x9EBA1AD: _mesa_create_shader_program (shaderapi.c:1830)
==30990== by 0x9EBA7C7: _mesa_CreateShaderProgramv (shaderapi.c:1919)
==30990== by 0x6C29EED: shared_dispatch_stub_892 (glapi_mapi_tmp.h:20555)
==30990== by 0x404B0D: main (in /recording/download/20140803/mc/mc)
and a number of further errors in that function, then later the gallium state
tracker throws an assertion:
../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:2104:visit: Assertion
`var->data.location != -1' failed.
In release mode this check drops through and the r600 tgsi translator rejects
it with:
EE ../../../../../../src/gallium/drivers/r600/r600_shader.c:353
tgsi_is_supported - unsupported src 0 (dimension 1)
and replaces the shader with a no-op dummy shader to not crash.
Basically the gallium driver layer is getting bad data out from the GLSL
compiler.
--
You are receiving this mail because:
You are the assignee for the bug.
--1413116682.08e2a4.13655
Date: Sun, 12 Oct 2014 12:24:42 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Glenn Kennard
changed
bug 82920
What |
Removed |
Added |
Component |
Drivers/Gallium/r600
|
glsl-compiler
|
Assignee |
dri-devel@lists.freedesktop.org
|
idr@freedesktop.org
|
QA Contact |
|
intel-3d-bugs@lists.freedesktop.org
|
Comment # 4
on bug 82920
from Glenn Kennard
Testing "fixed_mc" with a debug-enabled mesa build I get:
Mesa: User error: GL_INVALID_ENUM in glGetString(GL_EXTENSIONS)
- this is from GLFW as far as i can tell, its trying to get the extension
string using the old method which is not supported in a >= 3.3 core context.
Otherwise unrelated to this bug though.
valgrind:
==30990== Invalid read of size 8
==30990== at 0x9F90847: ast_interface_block::hir(exec_list*,
_mesa_glsl_parse_state*) (ast_to_hir.cpp:5688)
==30990== by 0x9F875FC: _mesa_ast_to_hir(exec_list*,
_mesa_glsl_parse_state*) (ast_to_hir.cpp:100)
==30990== by 0x9FDB07A: _mesa_glsl_compile_shader
(glsl_parser_extras.cpp:1462)
==30990== by 0x9EB843D: compile_shader (shaderapi.c:849)
==30990== by 0x9EBA1AD: _mesa_create_shader_program (shaderapi.c:1830)
==30990== by 0x9EBA7C7: _mesa_CreateShaderProgramv (shaderapi.c:1919)
==30990== by 0x6C29EED: shared_dispatch_stub_892 (glapi_mapi_tmp.h:20555)
==30990== by 0x404B0D: main (in /recording/download/20140803/mc/mc)
and a number of further errors in that function, then later the gallium state
tracker throws an assertion:
../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:2104:visit: Assertion
`var->data.location != -1' failed.
In release mode this check drops through and the r600 tgsi translator rejects
it with:
EE ../../../../../../src/gallium/drivers/r600/r600_shader.c:353
tgsi_is_supported - unsupported src 0 (dimension 1)
and replaces the shader with a no-op dummy shader to not crash.
Basically the gallium driver layer is getting bad data out from the GLSL
compiler.
You are receiving this mail because:
- You are the assignee for the bug.
--1413116682.08e2a4.13655--
--===============0864319071==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0864319071==--