Hi guys, Just fell over these in passing, run piglit glsl-1.50-transform-feedback-type-and-size test
Dave. ==8650== Invalid read of size 8 ==8650== at 0x6440C9D: ast_interface_block::hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:5647) ==8650== by 0x64334CA: _mesa_ast_to_hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:100) ==8650== by 0x64A7D15: _mesa_glsl_compile_shader (glsl_parser_extras.cpp:1461) ==8650== by 0x629F35C: compile_shader (shaderapi.c:850) ==8650== by 0x629FD5F: _mesa_CompileShader (shaderapi.c:1138) ==8650== by 0x5AF8BAC: shared_dispatch_stub_482 (glapi_mapi_tmp.h:17664) ==8650== by 0x4C8A5AB: stub_glCompileShader (piglit-dispatch-gen.c:6375) ==8650== by 0x4CF9DC7: piglit_compile_shader_text (piglit-shader.c:132) ==8650== by 0x4CFA3E5: piglit_build_simple_program_unlinked_multiple_shaders_v (piglit-shader.c:363) ==8650== by 0x4CFA55F: piglit_build_simple_program_unlinked_multiple_shaders (piglit-shader.c:398) ==8650== by 0x4014D9: piglit_init (transform-feedback-type-and-size.c:165) ==8650== by 0x4D141B3: run_test (piglit_winsys_framework.c:70) ==8650== Address 0x70982a8 is 88 bytes inside a block of size 200 free'd ==8650== at 0x4A07577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==8650== by 0x64F940F: unsafe_free (ralloc.c:255) ==8650== by 0x64F92F9: ralloc_free (ralloc.c:218) ==8650== by 0x6432E2A: exec_node::operator delete(void*) (list.h:79) ==8650== by 0x64B4195: ir_variable::~ir_variable() (ir.h:410) ==8650== by 0x643A4B7: get_variable_being_redeclared(ir_variable*, YYLTYPE, _mesa_glsl_parse_state*, bool) (ast_to_hir.cpp:2868) ==8650== by 0x6440C8E: ast_interface_block::hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:5646) ==8650== by 0x64334CA: _mesa_ast_to_hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:100) ==8650== by 0x64A7D15: _mesa_glsl_compile_shader (glsl_parser_extras.cpp:1461) ==8650== by 0x629F35C: compile_shader (shaderapi.c:850) ==8650== by 0x629FD5F: _mesa_CompileShader (shaderapi.c:1138) ==8650== by 0x5AF8BAC: shared_dispatch_stub_482 (glapi_mapi_tmp.h:17664) ==8650== ==8650== Invalid read of size 1 ==8650== at 0x64333E6: is_gl_identifier(char const*) (ir.h:2351) ==8650== by 0x6440CA8: ast_interface_block::hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:5647) ==8650== by 0x64334CA: _mesa_ast_to_hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:100) ==8650== by 0x64A7D15: _mesa_glsl_compile_shader (glsl_parser_extras.cpp:1461) ==8650== by 0x629F35C: compile_shader (shaderapi.c:850) ==8650== by 0x629FD5F: _mesa_CompileShader (shaderapi.c:1138) ==8650== by 0x5AF8BAC: shared_dispatch_stub_482 (glapi_mapi_tmp.h:17664) ==8650== by 0x4C8A5AB: stub_glCompileShader (piglit-dispatch-gen.c:6375) ==8650== by 0x4CF9DC7: piglit_compile_shader_text (piglit-shader.c:132) ==8650== by 0x4CFA3E5: piglit_build_simple_program_unlinked_multiple_shaders_v (piglit-shader.c:363) ==8650== by 0x4CFA55F: piglit_build_simple_program_unlinked_multiple_shaders (piglit-shader.c:398) ==8650== by 0x4014D9: piglit_init (transform-feedback-type-and-size.c:165) ==8650== Address 0x7098390 is 48 bytes inside a block of size 64 free'd ==8650== at 0x4A07577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==8650== by 0x64F940F: unsafe_free (ralloc.c:255) ==8650== by 0x64F93D4: unsafe_free (ralloc.c:248) ==8650== by 0x64F92F9: ralloc_free (ralloc.c:218) ==8650== by 0x6432E2A: exec_node::operator delete(void*) (list.h:79) ==8650== by 0x64B4195: ir_variable::~ir_variable() (ir.h:410) ==8650== by 0x643A4B7: get_variable_being_redeclared(ir_variable*, YYLTYPE, _mesa_glsl_parse_state*, bool) (ast_to_hir.cpp:2868) ==8650== by 0x6440C8E: ast_interface_block::hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:5646) ==8650== by 0x64334CA: _mesa_ast_to_hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:100) ==8650== by 0x64A7D15: _mesa_glsl_compile_shader (glsl_parser_extras.cpp:1461) ==8650== by 0x629F35C: compile_shader (shaderapi.c:850) ==8650== by 0x629FD5F: _mesa_CompileShader (shaderapi.c:1138) ==8650== ==8650== Invalid read of size 1 ==8650== at 0x64333F5: is_gl_identifier(char const*) (ir.h:2351) ==8650== by 0x6440CA8: ast_interface_block::hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:5647) ==8650== by 0x64334CA: _mesa_ast_to_hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:100) ==8650== by 0x64A7D15: _mesa_glsl_compile_shader (glsl_parser_extras.cpp:1461) ==8650== by 0x629F35C: compile_shader (shaderapi.c:850) ==8650== by 0x629FD5F: _mesa_CompileShader (shaderapi.c:1138) ==8650== by 0x5AF8BAC: shared_dispatch_stub_482 (glapi_mapi_tmp.h:17664) ==8650== by 0x4C8A5AB: stub_glCompileShader (piglit-dispatch-gen.c:6375) ==8650== by 0x4CF9DC7: piglit_compile_shader_text (piglit-shader.c:132) ==8650== by 0x4CFA3E5: piglit_build_simple_program_unlinked_multiple_shaders_v (piglit-shader.c:363) ==8650== by 0x4CFA55F: piglit_build_simple_program_unlinked_multiple_shaders (piglit-shader.c:398) ==8650== by 0x4014D9: piglit_init (transform-feedback-type-and-size.c:165) ==8650== Address 0x7098391 is 49 bytes inside a block of size 64 free'd ==8650== at 0x4A07577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==8650== by 0x64F940F: unsafe_free (ralloc.c:255) ==8650== by 0x64F93D4: unsafe_free (ralloc.c:248) ==8650== by 0x64F92F9: ralloc_free (ralloc.c:218) ==8650== by 0x6432E2A: exec_node::operator delete(void*) (list.h:79) ==8650== by 0x64B4195: ir_variable::~ir_variable() (ir.h:410) ==8650== by 0x643A4B7: get_variable_being_redeclared(ir_variable*, YYLTYPE, _mesa_glsl_parse_state*, bool) (ast_to_hir.cpp:2868) ==8650== by 0x6440C8E: ast_interface_block::hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:5646) ==8650== by 0x64334CA: _mesa_ast_to_hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:100) ==8650== by 0x64A7D15: _mesa_glsl_compile_shader (glsl_parser_extras.cpp:1461) ==8650== by 0x629F35C: compile_shader (shaderapi.c:850) ==8650== by 0x629FD5F: _mesa_CompileShader (shaderapi.c:1138) ==8650== ==8650== Invalid read of size 1 ==8650== at 0x6433404: is_gl_identifier(char const*) (ir.h:2351) ==8650== by 0x6440CA8: ast_interface_block::hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:5647) ==8650== by 0x64334CA: _mesa_ast_to_hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:100) ==8650== by 0x64A7D15: _mesa_glsl_compile_shader (glsl_parser_extras.cpp:1461) ==8650== by 0x629F35C: compile_shader (shaderapi.c:850) ==8650== by 0x629FD5F: _mesa_CompileShader (shaderapi.c:1138) ==8650== by 0x5AF8BAC: shared_dispatch_stub_482 (glapi_mapi_tmp.h:17664) ==8650== by 0x4C8A5AB: stub_glCompileShader (piglit-dispatch-gen.c:6375) ==8650== by 0x4CF9DC7: piglit_compile_shader_text (piglit-shader.c:132) ==8650== by 0x4CFA3E5: piglit_build_simple_program_unlinked_multiple_shaders_v (piglit-shader.c:363) ==8650== by 0x4CFA55F: piglit_build_simple_program_unlinked_multiple_shaders (piglit-shader.c:398) ==8650== by 0x4014D9: piglit_init (transform-feedback-type-and-size.c:165) ==8650== Address 0x7098392 is 50 bytes inside a block of size 64 free'd ==8650== at 0x4A07577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==8650== by 0x64F940F: unsafe_free (ralloc.c:255) ==8650== by 0x64F93D4: unsafe_free (ralloc.c:248) ==8650== by 0x64F92F9: ralloc_free (ralloc.c:218) ==8650== by 0x6432E2A: exec_node::operator delete(void*) (list.h:79) ==8650== by 0x64B4195: ir_variable::~ir_variable() (ir.h:410) ==8650== by 0x643A4B7: get_variable_being_redeclared(ir_variable*, YYLTYPE, _mesa_glsl_parse_state*, bool) (ast_to_hir.cpp:2868) ==8650== by 0x6440C8E: ast_interface_block::hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:5646) ==8650== by 0x64334CA: _mesa_ast_to_hir(exec_list*, _mesa_glsl_parse_state*) (ast_to_hir.cpp:100) ==8650== by 0x64A7D15: _mesa_glsl_compile_shader (glsl_parser_extras.cpp:1461) ==8650== by 0x629F35C: compile_shader (shaderapi.c:850) ==8650== by 0x629FD5F: _mesa_CompileShader (shaderapi.c:1138) ==8650== ==8650== Syscall param ioctl(generic) points to uninitialised byte(s) ==8650== at 0x3ED96EC067: ioctl (syscall-template.S:81) ==8650== by 0x3D75A036E3: drmIoctl (xf86drm.c:171) ==8650== by 0x58B4DD1: drm_intel_gem_bo_alloc_internal (intel_bufmgr_gem.c:733) ==8650== by 0x65EB603: brw_cache_new_bo (brw_state_cache.c:174) ==8650== by 0x65EB8E2: brw_upload_item_data (brw_state_cache.c:258) ==8650== by 0x65EB9C4: brw_upload_cache (brw_state_cache.c:299) ==8650== by 0x65FC6DD: do_gs_prog (brw_vec4_gs.c:251) ==8650== by 0x65FCAB2: brw_gs_precompile (brw_vec4_gs.c:359) ==8650== by 0x65E9632: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:76) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== by 0x63FDA68: _mesa_glsl_link_shader (ir_to_mesa.cpp:3079) ==8650== by 0x629F6AC: link_program (shaderapi.c:915) ==8650== Address 0xffefff6ec is on thread 1's stack ==8650== ==8650== Invalid read of size 4 ==8650== at 0x65F7DD2: brw::vec4_visitor::opt_cse_local(bblock_t*) (brw_vec4_cse.cpp:227) ==8650== by 0x65F8125: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:257) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== by 0x63FDA68: _mesa_glsl_link_shader (ir_to_mesa.cpp:3079) ==8650== by 0x629F6AC: link_program (shaderapi.c:915) ==8650== by 0x62A07FB: _mesa_LinkProgram (shaderapi.c:1383) ==8650== by 0x5AF91F1: shared_dispatch_stub_509 (glapi_mapi_tmp.h:17853) ==8650== Address 0x78afb00 is 0 bytes after a block of size 96 alloc'd ==8650== at 0x4A081D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==8650== by 0x64F8F9B: ralloc_size (ralloc.c:113) ==8650== by 0x65BEA83: cfg_t::operator new(unsigned long, void*) (in /home/airlied/devel/mesa/mesa/lib/i965_dri.so) ==8650== by 0x65EAAB8: backend_visitor::calculate_cfg() (brw_shader.cpp:774) ==8650== by 0x66000BF: brw::vec4_visitor::calculate_live_intervals() (brw_vec4_live_variables.cpp:251) ==8650== by 0x65F80E9: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:252) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== ==8650== Invalid read of size 4 ==8650== at 0x65F7DF8: brw::vec4_visitor::opt_cse_local(bblock_t*) (brw_vec4_cse.cpp:227) ==8650== by 0x65F8125: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:257) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== by 0x63FDA68: _mesa_glsl_link_shader (ir_to_mesa.cpp:3079) ==8650== by 0x629F6AC: link_program (shaderapi.c:915) ==8650== by 0x62A07FB: _mesa_LinkProgram (shaderapi.c:1383) ==8650== by 0x5AF91F1: shared_dispatch_stub_509 (glapi_mapi_tmp.h:17853) ==8650== Address 0x78afb04 is 4 bytes after a block of size 96 alloc'd ==8650== at 0x4A081D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==8650== by 0x64F8F9B: ralloc_size (ralloc.c:113) ==8650== by 0x65BEA83: cfg_t::operator new(unsigned long, void*) (in /home/airlied/devel/mesa/mesa/lib/i965_dri.so) ==8650== by 0x65EAAB8: backend_visitor::calculate_cfg() (brw_shader.cpp:774) ==8650== by 0x66000BF: brw::vec4_visitor::calculate_live_intervals() (brw_vec4_live_variables.cpp:251) ==8650== by 0x65F80E9: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:252) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== ==8650== Invalid read of size 4 ==8650== at 0x65F7E46: brw::vec4_visitor::opt_cse_local(bblock_t*) (brw_vec4_cse.cpp:227) ==8650== by 0x65F8125: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:257) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== by 0x63FDA68: _mesa_glsl_link_shader (ir_to_mesa.cpp:3079) ==8650== by 0x629F6AC: link_program (shaderapi.c:915) ==8650== by 0x62A07FB: _mesa_LinkProgram (shaderapi.c:1383) ==8650== by 0x5AF91F1: shared_dispatch_stub_509 (glapi_mapi_tmp.h:17853) ==8650== Address 0x78afb04 is 4 bytes after a block of size 96 alloc'd ==8650== at 0x4A081D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==8650== by 0x64F8F9B: ralloc_size (ralloc.c:113) ==8650== by 0x65BEA83: cfg_t::operator new(unsigned long, void*) (in /home/airlied/devel/mesa/mesa/lib/i965_dri.so) ==8650== by 0x65EAAB8: backend_visitor::calculate_cfg() (brw_shader.cpp:774) ==8650== by 0x66000BF: brw::vec4_visitor::calculate_live_intervals() (brw_vec4_live_variables.cpp:251) ==8650== by 0x65F80E9: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:252) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== ==8650== Invalid read of size 4 ==8650== at 0x65F7E6C: brw::vec4_visitor::opt_cse_local(bblock_t*) (brw_vec4_cse.cpp:227) ==8650== by 0x65F8125: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:257) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== by 0x63FDA68: _mesa_glsl_link_shader (ir_to_mesa.cpp:3079) ==8650== by 0x629F6AC: link_program (shaderapi.c:915) ==8650== by 0x62A07FB: _mesa_LinkProgram (shaderapi.c:1383) ==8650== by 0x5AF91F1: shared_dispatch_stub_509 (glapi_mapi_tmp.h:17853) ==8650== Address 0x78afb08 is 8 bytes after a block of size 96 alloc'd ==8650== at 0x4A081D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==8650== by 0x64F8F9B: ralloc_size (ralloc.c:113) ==8650== by 0x65BEA83: cfg_t::operator new(unsigned long, void*) (in /home/airlied/devel/mesa/mesa/lib/i965_dri.so) ==8650== by 0x65EAAB8: backend_visitor::calculate_cfg() (brw_shader.cpp:774) ==8650== by 0x66000BF: brw::vec4_visitor::calculate_live_intervals() (brw_vec4_live_variables.cpp:251) ==8650== by 0x65F80E9: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:252) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== ==8650== Invalid read of size 4 ==8650== at 0x65F7E92: brw::vec4_visitor::opt_cse_local(bblock_t*) (brw_vec4_cse.cpp:227) ==8650== by 0x65F8125: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:257) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== by 0x63FDA68: _mesa_glsl_link_shader (ir_to_mesa.cpp:3079) ==8650== by 0x629F6AC: link_program (shaderapi.c:915) ==8650== by 0x62A07FB: _mesa_LinkProgram (shaderapi.c:1383) ==8650== by 0x5AF91F1: shared_dispatch_stub_509 (glapi_mapi_tmp.h:17853) ==8650== Address 0x78afb0c is 12 bytes after a block of size 96 alloc'd ==8650== at 0x4A081D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==8650== by 0x64F8F9B: ralloc_size (ralloc.c:113) ==8650== by 0x65BEA83: cfg_t::operator new(unsigned long, void*) (in /home/airlied/devel/mesa/mesa/lib/i965_dri.so) ==8650== by 0x65EAAB8: backend_visitor::calculate_cfg() (brw_shader.cpp:774) ==8650== by 0x66000BF: brw::vec4_visitor::calculate_live_intervals() (brw_vec4_live_variables.cpp:251) ==8650== by 0x65F80E9: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:252) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== ==8650== Invalid read of size 4 ==8650== at 0x65F7EE4: brw::vec4_visitor::opt_cse_local(bblock_t*) (brw_vec4_cse.cpp:227) ==8650== by 0x65F8125: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:257) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== by 0x63FDA68: _mesa_glsl_link_shader (ir_to_mesa.cpp:3079) ==8650== by 0x629F6AC: link_program (shaderapi.c:915) ==8650== by 0x62A07FB: _mesa_LinkProgram (shaderapi.c:1383) ==8650== by 0x5AF91F1: shared_dispatch_stub_509 (glapi_mapi_tmp.h:17853) ==8650== Address 0x78afb0c is 12 bytes after a block of size 96 alloc'd ==8650== at 0x4A081D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==8650== by 0x64F8F9B: ralloc_size (ralloc.c:113) ==8650== by 0x65BEA83: cfg_t::operator new(unsigned long, void*) (in /home/airlied/devel/mesa/mesa/lib/i965_dri.so) ==8650== by 0x65EAAB8: backend_visitor::calculate_cfg() (brw_shader.cpp:774) ==8650== by 0x66000BF: brw::vec4_visitor::calculate_live_intervals() (brw_vec4_live_variables.cpp:251) ==8650== by 0x65F80E9: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:252) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== ==8650== Invalid read of size 4 ==8650== at 0x65F7FB0: brw::vec4_visitor::opt_cse_local(bblock_t*) (brw_vec4_cse.cpp:227) ==8650== by 0x65F8125: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:257) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== by 0x63FDA68: _mesa_glsl_link_shader (ir_to_mesa.cpp:3079) ==8650== by 0x629F6AC: link_program (shaderapi.c:915) ==8650== by 0x62A07FB: _mesa_LinkProgram (shaderapi.c:1383) ==8650== by 0x5AF91F1: shared_dispatch_stub_509 (glapi_mapi_tmp.h:17853) ==8650== Address 0x78afb08 is 8 bytes after a block of size 96 alloc'd ==8650== at 0x4A081D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==8650== by 0x64F8F9B: ralloc_size (ralloc.c:113) ==8650== by 0x65BEA83: cfg_t::operator new(unsigned long, void*) (in /home/airlied/devel/mesa/mesa/lib/i965_dri.so) ==8650== by 0x65EAAB8: backend_visitor::calculate_cfg() (brw_shader.cpp:774) ==8650== by 0x66000BF: brw::vec4_visitor::calculate_live_intervals() (brw_vec4_live_variables.cpp:251) ==8650== by 0x65F80E9: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:252) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== ==8650== Invalid read of size 4 ==8650== at 0x65F7FD6: brw::vec4_visitor::opt_cse_local(bblock_t*) (brw_vec4_cse.cpp:227) ==8650== by 0x65F8125: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:257) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== by 0x63FDA68: _mesa_glsl_link_shader (ir_to_mesa.cpp:3079) ==8650== by 0x629F6AC: link_program (shaderapi.c:915) ==8650== by 0x62A07FB: _mesa_LinkProgram (shaderapi.c:1383) ==8650== by 0x5AF91F1: shared_dispatch_stub_509 (glapi_mapi_tmp.h:17853) ==8650== Address 0x78afb0c is 12 bytes after a block of size 96 alloc'd ==8650== at 0x4A081D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==8650== by 0x64F8F9B: ralloc_size (ralloc.c:113) ==8650== by 0x65BEA83: cfg_t::operator new(unsigned long, void*) (in /home/airlied/devel/mesa/mesa/lib/i965_dri.so) ==8650== by 0x65EAAB8: backend_visitor::calculate_cfg() (brw_shader.cpp:774) ==8650== by 0x66000BF: brw::vec4_visitor::calculate_live_intervals() (brw_vec4_live_variables.cpp:251) ==8650== by 0x65F80E9: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:252) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== ==8650== Invalid read of size 4 ==8650== at 0x65F8028: brw::vec4_visitor::opt_cse_local(bblock_t*) (brw_vec4_cse.cpp:227) ==8650== by 0x65F8125: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:257) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) ==8650== by 0x63FDA68: _mesa_glsl_link_shader (ir_to_mesa.cpp:3079) ==8650== by 0x629F6AC: link_program (shaderapi.c:915) ==8650== by 0x62A07FB: _mesa_LinkProgram (shaderapi.c:1383) ==8650== by 0x5AF91F1: shared_dispatch_stub_509 (glapi_mapi_tmp.h:17853) ==8650== Address 0x78afb0c is 12 bytes after a block of size 96 alloc'd ==8650== at 0x4A081D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==8650== by 0x64F8F9B: ralloc_size (ralloc.c:113) ==8650== by 0x65BEA83: cfg_t::operator new(unsigned long, void*) (in /home/airlied/devel/mesa/mesa/lib/i965_dri.so) ==8650== by 0x65EAAB8: backend_visitor::calculate_cfg() (brw_shader.cpp:774) ==8650== by 0x66000BF: brw::vec4_visitor::calculate_live_intervals() (brw_vec4_live_variables.cpp:251) ==8650== by 0x65F80E9: brw::vec4_visitor::opt_cse() (brw_vec4_cse.cpp:252) ==8650== by 0x65F5DA4: brw::vec4_visitor::run() (brw_vec4.cpp:1708) ==8650== by 0x65F6120: brw_vs_emit (brw_vec4.cpp:1784) ==8650== by 0x6618ACF: do_vs_prog (brw_vs.c:293) ==8650== by 0x661976D: brw_vs_precompile (brw_vs.c:542) ==8650== by 0x65E9672: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_shader.cpp:79) ==8650== by 0x65E9E94: brw_link_shader (brw_shader.cpp:275) _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev