==1150== Memcheck, a memory error detector ==1150== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==1150== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==1150== Command: bin/shader_runner /home/tpalli/slow.shader_test ==1150== ==1150== Invalid read of size 4 ==1150== at 0x64561EF: fs_reg_alloc::set_spill_costs() (brw_fs_reg_allocate.cpp:925) ==1150== by 0x64562DC: fs_reg_alloc::choose_spill_reg() (brw_fs_reg_allocate.cpp:948) ==1150== by 0x6456EB3: fs_reg_alloc::assign_regs(bool, bool) (brw_fs_reg_allocate.cpp:1163) ==1150== by 0x64571EC: fs_visitor::assign_regs(bool, bool) (brw_fs_reg_allocate.cpp:1213) ==1150== by 0x641E4C1: fs_visitor::allocate_registers(unsigned int, bool) (brw_fs.cpp:7282) ==1150== by 0x641F83A: fs_visitor::run_fs(bool, bool) (brw_fs.cpp:7694) ==1150== by 0x64207E2: brw_compile_fs (brw_fs.cpp:8028) ==1150== by 0x5C77299: brw_codegen_wm_prog (brw_wm.c:123) ==1150== by 0x5C78694: brw_fs_precompile (brw_wm.c:592) ==1150== by 0x5C5E6A6: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_link.cpp:56) ==1150== by 0x5C5F889: brw_link_shader (brw_link.cpp:374) ==1150== by 0x5F80B01: _mesa_glsl_link_shader (ir_to_mesa.cpp:3170) ==1150== Address 0xce0a144 is 0 bytes after a block of size 2,260 alloc'd ==1150== at 0x483880B: malloc (vg_replace_malloc.c:309) ==1150== by 0x5CB0262: ralloc_size (ralloc.c:119) ==1150== by 0x5CB05D7: ralloc_array_size (ralloc.c:221) ==1150== by 0x6432F5F: fs_visitor::calculate_live_intervals() (brw_fs_live_variables.cpp:335) ==1150== by 0x645576A: fs_reg_alloc::build_interference_graph(bool) (brw_fs_reg_allocate.cpp:723) ==1150== by 0x6456E42: fs_reg_alloc::assign_regs(bool, bool) (brw_fs_reg_allocate.cpp:1141) ==1150== by 0x64571EC: fs_visitor::assign_regs(bool, bool) (brw_fs_reg_allocate.cpp:1213) ==1150== by 0x641E4C1: fs_visitor::allocate_registers(unsigned int, bool) (brw_fs.cpp:7282) ==1150== by 0x641F83A: fs_visitor::run_fs(bool, bool) (brw_fs.cpp:7694) ==1150== by 0x64207E2: brw_compile_fs (brw_fs.cpp:8028) ==1150== by 0x5C77299: brw_codegen_wm_prog (brw_wm.c:123) ==1150== by 0x5C78694: brw_fs_precompile (brw_wm.c:592) ==1150== ==1150== Invalid read of size 4 ==1150== at 0x645620D: fs_reg_alloc::set_spill_costs() (brw_fs_reg_allocate.cpp:925) ==1150== by 0x64562DC: fs_reg_alloc::choose_spill_reg() (brw_fs_reg_allocate.cpp:948) ==1150== by 0x6456EB3: fs_reg_alloc::assign_regs(bool, bool) (brw_fs_reg_allocate.cpp:1163) ==1150== by 0x64571EC: fs_visitor::assign_regs(bool, bool) (brw_fs_reg_allocate.cpp:1213) ==1150== by 0x641E4C1: fs_visitor::allocate_registers(unsigned int, bool) (brw_fs.cpp:7282) ==1150== by 0x641F83A: fs_visitor::run_fs(bool, bool) (brw_fs.cpp:7694) ==1150== by 0x64207E2: brw_compile_fs (brw_fs.cpp:8028) ==1150== by 0x5C77299: brw_codegen_wm_prog (brw_wm.c:123) ==1150== by 0x5C78694: brw_fs_precompile (brw_wm.c:592) ==1150== by 0x5C5E6A6: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_link.cpp:56) ==1150== by 0x5C5F889: brw_link_shader (brw_link.cpp:374) ==1150== by 0x5F80B01: _mesa_glsl_link_shader (ir_to_mesa.cpp:3170) ==1150== Address 0xce08bd4 is 0 bytes after a block of size 2,260 alloc'd ==1150== at 0x483880B: malloc (vg_replace_malloc.c:309) ==1150== by 0x5CB0262: ralloc_size (ralloc.c:119) ==1150== by 0x5CB05D7: ralloc_array_size (ralloc.c:221) ==1150== by 0x6432F39: fs_visitor::calculate_live_intervals() (brw_fs_live_variables.cpp:334) ==1150== by 0x645576A: fs_reg_alloc::build_interference_graph(bool) (brw_fs_reg_allocate.cpp:723) ==1150== by 0x6456E42: fs_reg_alloc::assign_regs(bool, bool) (brw_fs_reg_allocate.cpp:1141) ==1150== by 0x64571EC: fs_visitor::assign_regs(bool, bool) (brw_fs_reg_allocate.cpp:1213) ==1150== by 0x641E4C1: fs_visitor::allocate_registers(unsigned int, bool) (brw_fs.cpp:7282) ==1150== by 0x641F83A: fs_visitor::run_fs(bool, bool) (brw_fs.cpp:7694) ==1150== by 0x64207E2: brw_compile_fs (brw_fs.cpp:8028) ==1150== by 0x5C77299: brw_codegen_wm_prog (brw_wm.c:123) ==1150== by 0x5C78694: brw_fs_precompile (brw_wm.c:592) ==1150== shader_runner: ../src/intel/compiler/brw_inst.h:421: brw_inst_set_jip: Assertion `value >= -(1 << 15)' failed. ==1150== ==1150== Process terminating with default action of signal 6 (SIGABRT): dumping core ==1150== at 0x4F8957F: raise (in /usr/lib64/libc-2.28.so) ==1150== by 0x4F73894: abort (in /usr/lib64/libc-2.28.so) ==1150== by 0x4F73768: __assert_fail_base.cold.0 (in /usr/lib64/libc-2.28.so) ==1150== by 0x4F81A25: __assert_fail (in /usr/lib64/libc-2.28.so) ==1150== by 0x63E8596: brw_inst_set_jip (brw_inst.h:421) ==1150== by 0x63F26DC: brw_WHILE (brw_eu_emit.c:1785) ==1150== by 0x64301D2: fs_generator::generate_code(cfg_t const*, int) (brw_fs_generator.cpp:1923) ==1150== by 0x6420D3F: brw_compile_fs (brw_fs.cpp:8143) ==1150== by 0x5C77299: brw_codegen_wm_prog (brw_wm.c:123) ==1150== by 0x5C78694: brw_fs_precompile (brw_wm.c:592) ==1150== by 0x5C5E6A6: brw_shader_precompile(gl_context*, gl_shader_program*) (brw_link.cpp:56) ==1150== by 0x5C5F889: brw_link_shader (brw_link.cpp:374) ==1150== ==1150== HEAP SUMMARY: ==1150== in use at exit: 44,813,017 bytes in 295,267 blocks ==1150== total heap usage: 3,238,956 allocs, 2,943,689 frees, 7,199,644,429 bytes allocated ==1150== ==1150== LEAK SUMMARY: ==1150== definitely lost: 0 bytes in 0 blocks ==1150== indirectly lost: 0 bytes in 0 blocks ==1150== possibly lost: 44,594,247 bytes in 295,018 blocks ==1150== still reachable: 218,770 bytes in 249 blocks ==1150== suppressed: 0 bytes in 0 blocks ==1150== Rerun with --leak-check=full to see details of leaked memory ==1150== ==1150== For lists of detected and suppressed errors, rerun with: -s ==1150== ERROR SUMMARY: 18 errors from 2 contexts (suppressed: 0 from 0) Aborted (core dumped)