==7854== Invalid read of size 8 ==7854== at 0x154033D2: ir_call::clone(void*, hash_table*) const (ir.h:937) ==7854== by 0x15402AC8: ir_assignment::clone(void*, hash_table*) const (ir_clone.cpp:253) ==7854== by 0x1541ECAB: ir_call::generate_inline(ir_instruction*) (opt_function_inlining.cpp:185) ==7854== by 0x1541F012: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:313) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== Address 0x17833b78 is 120 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541D24F: ir_copy_propagation_visitor::visit_enter(ir_call*) (list.h:448) ==7854== by 0x1540CB5A: ir_call::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:307) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541D58B: ir_copy_propagation_visitor::visit_enter(ir_function_signature*) (opt_copy_propagation.cpp:125) ==7854== by 0x1540C677: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:112) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541D688: do_copy_propagation(exec_list*) (opt_copy_propagation.cpp:345) ==7854== by 0x153FEB40: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:720) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== Address 0x17833b80 is 128 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541D263: ir_copy_propagation_visitor::visit_enter(ir_call*) (list.h:258) ==7854== by 0x1540CB5A: ir_call::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:307) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541D58B: ir_copy_propagation_visitor::visit_enter(ir_function_signature*) (opt_copy_propagation.cpp:125) ==7854== by 0x1540C677: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:112) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541D688: do_copy_propagation(exec_list*) (opt_copy_propagation.cpp:345) ==7854== by 0x153FEB40: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:720) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== Address 0x17833b88 is 136 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x154207BB: ir_tree_grafting_visitor::visit_enter(ir_call*) (list.h:448) ==7854== by 0x1540CB5A: ir_call::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:307) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x15420592: tree_grafting_basic_block(ir_instruction*, ir_instruction*, void*) (opt_tree_grafting.cpp:301) ==7854== by 0x15478893: call_for_basic_blocks(exec_list*, void (*)(ir_instruction*, ir_instruction*, void*), void*) (ir_basic_block.cpp:140) ==7854== by 0x154788D9: call_for_basic_blocks(exec_list*, void (*)(ir_instruction*, ir_instruction*, void*), void*) (ir_basic_block.cpp:123) ==7854== by 0x15420413: do_tree_grafting(exec_list*) (opt_tree_grafting.cpp:364) ==7854== by 0x153FEB79: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:726) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== Address 0x17833b80 is 128 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x154207DD: ir_tree_grafting_visitor::visit_enter(ir_call*) (list.h:258) ==7854== by 0x1540CB5A: ir_call::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:307) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x15420592: tree_grafting_basic_block(ir_instruction*, ir_instruction*, void*) (opt_tree_grafting.cpp:301) ==7854== by 0x15478893: call_for_basic_blocks(exec_list*, void (*)(ir_instruction*, ir_instruction*, void*), void*) (ir_basic_block.cpp:140) ==7854== by 0x154788D9: call_for_basic_blocks(exec_list*, void (*)(ir_instruction*, ir_instruction*, void*), void*) (ir_basic_block.cpp:123) ==7854== by 0x15420413: do_tree_grafting(exec_list*) (opt_tree_grafting.cpp:364) ==7854== by 0x153FEB79: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:726) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== Address 0x17833b88 is 136 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541C0F5: ir_constant_propagation_visitor::visit_enter(ir_call*) (list.h:448) ==7854== by 0x1540CB5A: ir_call::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:307) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541C80B: ir_constant_propagation_visitor::visit_enter(ir_function_signature*) (opt_constant_propagation.cpp:217) ==7854== by 0x1540C677: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:112) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541C708: do_constant_propagation(exec_list*) (opt_constant_propagation.cpp:434) ==7854== by 0x153FEB87: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:727) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== Address 0x17833b80 is 128 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541C178: ir_constant_propagation_visitor::visit_enter(ir_call*) (list.h:258) ==7854== by 0x1540CB5A: ir_call::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:307) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541C80B: ir_constant_propagation_visitor::visit_enter(ir_function_signature*) (opt_constant_propagation.cpp:217) ==7854== by 0x1540C677: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:112) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541C708: do_constant_propagation(exec_list*) (opt_constant_propagation.cpp:434) ==7854== by 0x153FEB87: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:727) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== Address 0x17833b88 is 136 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 1 ==7854== at 0x15403D1C: ir_call::constant_expression_value() (ir_constant_expression.cpp:964) ==7854== by 0x1541D17E: ir_constant_variable_visitor::visit_enter(ir_assignment*) (opt_constant_variable.cpp:117) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541CEA7: do_constant_variable(exec_list*) (opt_constant_variable.cpp:161) ==7854== by 0x153FEB9E: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:729) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b98 is 152 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541D04C: ir_constant_variable_visitor::visit_enter(ir_call*) (list.h:448) ==7854== by 0x1540CB5A: ir_call::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:307) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541CEA7: do_constant_variable(exec_list*) (opt_constant_variable.cpp:161) ==7854== by 0x153FEB9E: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:729) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b80 is 128 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541D06F: ir_constant_variable_visitor::visit_enter(ir_call*) (list.h:258) ==7854== by 0x1540CB5A: ir_call::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:307) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541CEA7: do_constant_variable(exec_list*) (opt_constant_variable.cpp:161) ==7854== by 0x153FEB9E: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:729) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b88 is 136 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541BEBD: ir_constant_folding_visitor::visit_enter(ir_call*) (list.h:448) ==7854== by 0x1540CB5A: ir_call::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:307) ==7854== by 0x1541BDF8: ir_constant_folding_visitor::visit_enter(ir_assignment*) (opt_constant_folding.cpp:90) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541BFAB: do_constant_folding(exec_list*) (opt_constant_folding.cpp:144) ==7854== by 0x153FEBB2: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:732) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== Address 0x17833b80 is 128 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541BF2B: ir_constant_folding_visitor::visit_enter(ir_call*) (list.h:258) ==7854== by 0x1540CB5A: ir_call::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:307) ==7854== by 0x1541BDF8: ir_constant_folding_visitor::visit_enter(ir_assignment*) (opt_constant_folding.cpp:90) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541BFAB: do_constant_folding(exec_list*) (opt_constant_folding.cpp:144) ==7854== by 0x153FEBB2: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:732) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== Address 0x17833b88 is 136 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 1 ==7854== at 0x15403D1C: ir_call::constant_expression_value() (ir_constant_expression.cpp:964) ==7854== by 0x1541C043: ir_constant_folding_visitor::handle_rvalue(ir_rvalue**) (opt_constant_folding.cpp:78) ==7854== by 0x1541BE09: ir_constant_folding_visitor::visit_enter(ir_assignment*) (opt_constant_folding.cpp:91) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541BFAB: do_constant_folding(exec_list*) (opt_constant_folding.cpp:144) ==7854== by 0x153FEBB2: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:732) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== Address 0x17833b98 is 152 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 1 ==7854== at 0x15478BCA: can_inline(ir_call*) (ir_function_can_inline.cpp:63) ==7854== by 0x154789E7: ir_expression_flattening_visitor::handle_rvalue(ir_rvalue**) (ir_expression_flattening.cpp:78) ==7854== by 0x1547BB98: ir_rvalue_visitor::visit_leave(ir_assignment*) (ir_rvalue_visitor.cpp:108) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x15478988: do_expression_flattening(exec_list*, bool (*)(ir_instruction*)) (ir_expression_flattening.cpp:67) ==7854== by 0x1541E96F: do_function_inlining(exec_list*) (opt_function_inlining.cpp:82) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b98 is 152 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1540C507: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:45) ==7854== by 0x15478BE3: can_inline(ir_call*) (ir_function_can_inline.cpp:66) ==7854== by 0x154789E7: ir_expression_flattening_visitor::handle_rvalue(ir_rvalue**) (ir_expression_flattening.cpp:78) ==7854== by 0x1547BB98: ir_rvalue_visitor::visit_leave(ir_assignment*) (ir_rvalue_visitor.cpp:108) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x15478988: do_expression_flattening(exec_list*, bool (*)(ir_instruction*)) (ir_expression_flattening.cpp:67) ==7854== by 0x1541E96F: do_function_inlining(exec_list*) (opt_function_inlining.cpp:82) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== Address 0x17833ba0 is 160 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1540C531: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:45) ==7854== by 0x15478BE3: can_inline(ir_call*) (ir_function_can_inline.cpp:66) ==7854== by 0x154789E7: ir_expression_flattening_visitor::handle_rvalue(ir_rvalue**) (ir_expression_flattening.cpp:78) ==7854== by 0x1547BB98: ir_rvalue_visitor::visit_leave(ir_assignment*) (ir_rvalue_visitor.cpp:108) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x15478988: do_expression_flattening(exec_list*, bool (*)(ir_instruction*)) (ir_expression_flattening.cpp:67) ==7854== by 0x1541E96F: do_function_inlining(exec_list*) (opt_function_inlining.cpp:82) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== Address 0x17833ba8 is 168 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x15478BE8: can_inline(ir_call*) (list.h:350) ==7854== by 0x154789E7: ir_expression_flattening_visitor::handle_rvalue(ir_rvalue**) (ir_expression_flattening.cpp:78) ==7854== by 0x1547BB98: ir_rvalue_visitor::visit_leave(ir_assignment*) (ir_rvalue_visitor.cpp:108) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x15478988: do_expression_flattening(exec_list*, bool (*)(ir_instruction*)) (ir_expression_flattening.cpp:67) ==7854== by 0x1541E96F: do_function_inlining(exec_list*) (opt_function_inlining.cpp:82) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833ba0 is 160 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x15478BEE: can_inline(ir_call*) (list.h:350) ==7854== by 0x154789E7: ir_expression_flattening_visitor::handle_rvalue(ir_rvalue**) (ir_expression_flattening.cpp:78) ==7854== by 0x1547BB98: ir_rvalue_visitor::visit_leave(ir_assignment*) (ir_rvalue_visitor.cpp:108) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x15478988: do_expression_flattening(exec_list*, bool (*)(ir_instruction*)) (ir_expression_flattening.cpp:67) ==7854== by 0x1541E96F: do_function_inlining(exec_list*) (opt_function_inlining.cpp:82) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833bb0 is 176 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 1 ==7854== at 0x15478BCA: can_inline(ir_call*) (ir_function_can_inline.cpp:63) ==7854== by 0x1541F003: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:307) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b98 is 152 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x15478BE8: can_inline(ir_call*) (list.h:350) ==7854== by 0x1541F003: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:307) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833ba0 is 160 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x15478BEE: can_inline(ir_call*) (list.h:350) ==7854== by 0x1541F003: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:307) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833bb0 is 176 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541E9EB: ir_call::generate_inline(ir_instruction*) (list.h:250) ==7854== by 0x1541F012: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:313) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b80 is 128 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541EA00: ir_call::generate_inline(ir_instruction*) (list.h:258) ==7854== by 0x1541F012: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:313) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b88 is 136 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541EA2E: ir_call::generate_inline(ir_instruction*) (opt_function_inlining.cpp:129) ==7854== by 0x1541F012: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:313) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b78 is 120 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541EA70: ir_call::generate_inline(ir_instruction*) (opt_function_inlining.cpp:131) ==7854== by 0x1541F012: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:313) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b78 is 120 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541EAB0: ir_call::generate_inline(ir_instruction*) (list.h:448) ==7854== by 0x1541F012: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:313) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b80 is 128 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541EAFC: ir_call::generate_inline(ir_instruction*) (list.h:258) ==7854== by 0x1541F012: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:313) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b88 is 136 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541EC66: ir_call::generate_inline(ir_instruction*) (list.h:448) ==7854== by 0x1541F012: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:313) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833ba0 is 160 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541ECE3: ir_call::generate_inline(ir_instruction*) (list.h:258) ==7854== by 0x1541F012: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:313) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833ba8 is 168 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541ED07: ir_call::generate_inline(ir_instruction*) (list.h:448) ==7854== by 0x1541F012: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:313) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b80 is 128 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541ED2F: ir_call::generate_inline(ir_instruction*) (list.h:258) ==7854== by 0x1541F012: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:313) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b88 is 136 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541EE1C: ir_call::generate_inline(ir_instruction*) (list.h:448) ==7854== by 0x1541F012: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:313) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b80 is 128 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1541EF23: ir_call::generate_inline(ir_instruction*) (list.h:258) ==7854== by 0x1541F012: ir_function_inlining_visitor::visit_enter(ir_assignment*) (opt_function_inlining.cpp:313) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1541E97A: do_function_inlining(exec_list*) (opt_function_inlining.cpp:84) ==7854== by 0x153FECAC: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:714) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== Address 0x17833b88 is 136 bytes inside a block of size 192 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A594F: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x1541E23B: do_dead_functions(exec_list*) (list.h:99) ==7854== by 0x153FECBA: do_common_optimization(exec_list*, bool, unsigned int) (glsl_parser_extras.cpp:715) ==7854== by 0x1541273A: link_shaders(gl_context*, gl_shader_program*) (linker.cpp:1611) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 1 ==7854== at 0x15403C60: ir_dereference_variable::constant_expression_value() (ir_constant_expression.cpp:865) ==7854== by 0x1541C043: ir_constant_folding_visitor::handle_rvalue(ir_rvalue**) (opt_constant_folding.cpp:78) ==7854== by 0x1547BB70: ir_rvalue_visitor::visit_leave(ir_dereference_record*) (ir_rvalue_visitor.cpp:101) ==7854== by 0x1540C8DC: ir_swizzle::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:226) ==7854== by 0x1540CDA6: ir_expression::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:146) ==7854== by 0x1541BDF8: ir_constant_folding_visitor::visit_enter(ir_assignment*) (opt_constant_folding.cpp:90) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== Address 0x111fbd14 is 132 bytes inside a block of size 160 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A52EF: _talloc_free_internal (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x157A58DA: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x10AFBFC: idle_startup() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0xA3C0F1: LLAppViewer::idle() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 1 ==7854== at 0x15403C60: ir_dereference_variable::constant_expression_value() (ir_constant_expression.cpp:865) ==7854== by 0x15403CB0: ir_dereference_record::constant_expression_value() (ir_constant_expression.cpp:933) ==7854== by 0x1541C043: ir_constant_folding_visitor::handle_rvalue(ir_rvalue**) (opt_constant_folding.cpp:78) ==7854== by 0x1547BB10: ir_rvalue_visitor::visit_leave(ir_swizzle*) (ir_rvalue_visitor.cpp:79) ==7854== by 0x1540CDA6: ir_expression::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:146) ==7854== by 0x1541BDF8: ir_constant_folding_visitor::visit_enter(ir_assignment*) (opt_constant_folding.cpp:90) ==7854== by 0x1540CA5E: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:276) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== Address 0x111fbd14 is 132 bytes inside a block of size 160 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A52EF: _talloc_free_internal (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x157A58DA: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x10AFBFC: idle_startup() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0xA3C0F1: LLAppViewer::idle() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1540FA57: ir_validate::visit(ir_dereference_variable*) (ir_validate.cpp:85) ==7854== by 0x1540CA04: ir_dereference_record::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:268) ==7854== by 0x1540C8DC: ir_swizzle::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:226) ==7854== by 0x1540CDA6: ir_expression::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:146) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540E43A: validate_ir_tree(exec_list*) (ir_validate.cpp:522) ==7854== by 0x153E28B7: _mesa_ir_link_shader (ir_to_mesa.cpp:3023) ==7854== Address 0x111fbce0 is 80 bytes inside a block of size 160 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A52EF: _talloc_free_internal (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x157A58DA: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x10AFBFC: idle_startup() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0xA3C0F1: LLAppViewer::idle() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 8 ==7854== at 0x1540FAC4: ir_validate::visit(ir_dereference_variable*) (stdio2.h:105) ==7854== by 0x1540CA04: ir_dereference_record::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:268) ==7854== by 0x1540C8DC: ir_swizzle::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:226) ==7854== by 0x1540CDA6: ir_expression::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:146) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540E43A: validate_ir_tree(exec_list*) (ir_validate.cpp:522) ==7854== by 0x153E28B7: _mesa_ir_link_shader (ir_to_mesa.cpp:3023) ==7854== Address 0x111fbd08 is 120 bytes inside a block of size 160 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A52EF: _talloc_free_internal (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x157A58DA: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x10AFBFC: idle_startup() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0xA3C0F1: LLAppViewer::idle() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 1 ==7854== at 0xB590CF5: vfprintf (vfprintf.c:1593) ==7854== by 0xB6309C6: __printf_chk (printf_chk.c:37) ==7854== by 0x1540FACC: ir_validate::visit(ir_dereference_variable*) (stdio2.h:105) ==7854== by 0x1540CA04: ir_dereference_record::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:268) ==7854== by 0x1540C8DC: ir_swizzle::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:226) ==7854== by 0x1540CDA6: ir_expression::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:146) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== Address 0x110c8510 is 80 bytes inside a block of size 94 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A52EF: _talloc_free_internal (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x157A527A: _talloc_free_internal (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x157A58DA: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x10AFBFC: idle_startup() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 1 ==7854== at 0xB5B9F71: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1309) ==7854== by 0xB590BE3: vfprintf (vfprintf.c:1593) ==7854== by 0xB6309C6: __printf_chk (printf_chk.c:37) ==7854== by 0x1540FACC: ir_validate::visit(ir_dereference_variable*) (stdio2.h:105) ==7854== by 0x1540CA04: ir_dereference_record::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:268) ==7854== by 0x1540C8DC: ir_swizzle::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:226) ==7854== by 0x1540CDA6: ir_expression::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:146) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== Address 0x110c851c is 92 bytes inside a block of size 94 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A52EF: _talloc_free_internal (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x157A527A: _talloc_free_internal (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x157A58DA: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x10AFBFC: idle_startup() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 1 ==7854== at 0xB5B9F88: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1309) ==7854== by 0xB590BE3: vfprintf (vfprintf.c:1593) ==7854== by 0xB6309C6: __printf_chk (printf_chk.c:37) ==7854== by 0x1540FACC: ir_validate::visit(ir_dereference_variable*) (stdio2.h:105) ==7854== by 0x1540CA04: ir_dereference_record::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:268) ==7854== by 0x1540C8DC: ir_swizzle::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:226) ==7854== by 0x1540CDA6: ir_expression::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:146) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== Address 0x110c851b is 91 bytes inside a block of size 94 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A52EF: _talloc_free_internal (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x157A527A: _talloc_free_internal (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x157A58DA: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x10AFBFC: idle_startup() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 1 ==7854== at 0xB5B9F00: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1341) ==7854== by 0xB590BE3: vfprintf (vfprintf.c:1593) ==7854== by 0xB6309C6: __printf_chk (printf_chk.c:37) ==7854== by 0x1540FACC: ir_validate::visit(ir_dereference_variable*) (stdio2.h:105) ==7854== by 0x1540CA04: ir_dereference_record::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:268) ==7854== by 0x1540C8DC: ir_swizzle::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:226) ==7854== by 0x1540CDA6: ir_expression::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:146) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== Address 0x110c8510 is 80 bytes inside a block of size 94 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A52EF: _talloc_free_internal (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x157A527A: _talloc_free_internal (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x157A58DA: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x10AFBFC: idle_startup() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== ==7854== Invalid read of size 1 ==7854== at 0xB5B9F0E: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1340) ==7854== by 0xB590BE3: vfprintf (vfprintf.c:1593) ==7854== by 0xB6309C6: __printf_chk (printf_chk.c:37) ==7854== by 0x1540FACC: ir_validate::visit(ir_dereference_variable*) (stdio2.h:105) ==7854== by 0x1540CA04: ir_dereference_record::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:268) ==7854== by 0x1540C8DC: ir_swizzle::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:226) ==7854== by 0x1540CDA6: ir_expression::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:146) ==7854== by 0x1540CAC5: ir_assignment::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:286) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C6AC: ir_function_signature::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:120) ==7854== by 0x1540C52C: visit_list_elements(ir_hierarchical_visitor*, exec_list*) (ir_hv_accept.cpp:48) ==7854== by 0x1540C71B: ir_function::accept(ir_hierarchical_visitor*) (ir_hv_accept.cpp:132) ==7854== Address 0x110c8512 is 82 bytes inside a block of size 94 free'd ==7854== at 0x4C26E0D: free (vg_replace_malloc.c:366) ==7854== by 0x157A52EF: _talloc_free_internal (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x157A527A: _talloc_free_internal (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x157A58DA: _talloc_free (in /usr/lib64/libtalloc.so.2.0.1) ==7854== by 0x153E0BE2: _mesa_glsl_link_shader (ir_to_mesa.cpp:3182) ==7854== by 0x170584C: LLShaderMgr::linkProgramObject(unsigned int, int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F2371: LLGLSLShader::link(int) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F17A0: LLGLSLShader::mapAttributes(std::vector > const*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x16F11DA: LLGLSLShader::createShader(std::vector >*, std::vector >*) (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E5CC9: LLViewerShaderMgr::loadShadersEnvironment() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x12E3FA8: LLViewerShaderMgr::setShaders() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin) ==7854== by 0x10AFBFC: idle_startup() (in /home/aidan/src/imprudence-new-backport/linden/indra/viewer-linux-x86_64-relwithdebinfo/newview/packaged/bin/do-not-directly-run-imprudence-bin)