[Mesa-dev] [Bug 31389] New: [llvmpipe] valgrind Invalid write of size 8 memalign (vg_replace_malloc.c:581)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 4 12:18:27 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=31389

           Summary: [llvmpipe] valgrind Invalid write of size 8 memalign
                    (vg_replace_malloc.c:581)
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: vlee at vmware.com


mesa: e7f5d19a1106351f2db8f62f59f51be86eaa93df (master)

Run valgrind on glean api2 on llvmpipe.

This valgrind bug appears with llvmpipe using llvm-2.7, llvm-2.8, or
llvm-2.9svn.


$ valgrind glean -r results -o -t api2
...
==28849== Invalid write of size 8
==28849==    at 0xB495028: ???
==28849==    by 0x7FEFFF29F: ???
==28849==    by 0x33: ???
==28849==    by 0x5822CF6: draw_pt_emit_linear (draw_pt_emit.c:243)
==28849==    by 0x800000007: ???
==28849==    by 0x7FEFFF3DF: ???
==28849==    by 0x7FEFFF35F: ???
==28849==    by 0xA9CDCEF: ???
==28849==    by 0x200000001: ???
==28849==    by 0x9EABE1F: ???
==28849==    by 0xA78687F: ???
==28849==    by 0xA66CF1F: ???
==28849==  Address 0x9eabe60 is 0 bytes after a block of size 64 alloc'd
==28849==    at 0x4C2732A: memalign (vg_replace_malloc.c:581)
==28849==    by 0x4C27383: posix_memalign (vg_replace_malloc.c:709)
==28849==    by 0x554B966: os_malloc_aligned (os_memory_stdc.h:58)
==28849==    by 0x554BA24: lp_setup_allocate_vertices (lp_setup_vbuf.c:82)
==28849==    by 0x5822C42: draw_pt_emit_linear (draw_pt_emit.c:227)
==28849==    by 0x5820C85: emit (draw_pt_fetch_shade_pipeline_llvm.c:205)
==28849==    by 0x5820F79: llvm_pipeline_generic
(draw_pt_fetch_shade_pipeline_llvm.c:297)
==28849==    by 0x58210A7: llvm_middle_end_linear_run
(draw_pt_fetch_shade_pipeline_llvm.c:357)
==28849==    by 0x57A9A8C: vsplit_segment_simple_linear
(draw_pt_vsplit_tmp.h:229)
==28849==    by 0x57A9DA2: vsplit_run_linear (draw_split_tmp.h:61)
==28849==    by 0x57A1FAD: draw_pt_arrays (draw_pt.c:113)
==28849==    by 0x57A2B8C: draw_vbo (draw_pt.c:481)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list