[Bug 105283] Does this a memory leak coursed by driver?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 28 03:38:52 UTC 2018


            Bug ID: 105283
           Summary: Does this a memory leak coursed by driver?
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: 94389147 at qq.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org


We're testing a famous android application on a lxc based android container
named anbox(http://anbox.io). The test case will open/close the android app and
run some actions repeatedly. After testing 24 hours, the memory is increasing

When I ran valgrind to check memory leaks, the whole application becomes slowly
running, and I have to manually check the case and only run a fewer rounds. 

There are many points show 'definitely' leaks, and the most leaking bytes and
valuable one is following,

==17019== 4,208 bytes in 26 blocks are definitely lost in loss record 4,191 of
==17019==    at 0x4C2DB8F: malloc (in
==17019==    by 0x11BA013C: ralloc_size (ralloc.c:121)
==17019==    by 0x11BA021D: rzalloc_size (ralloc.c:153)
==17019==    by 0x11E4F1C1: fs_visitor::assign_constant_locations()
==17019==    by 0x11E59DAB: fs_visitor::optimize() (brw_fs.cpp:5907)
==17019==    by 0x11E5B747: fs_visitor::run_vs() (brw_fs.cpp:6190)
==17019==    by 0x11ED41BF: brw_compile_vs (brw_vec4.cpp:2863)
==17019==    by 0x11CC23BC: brw_codegen_vs_prog (brw_vs.c:222)
==17019==    by 0x11CC2F28: brw_vs_precompile (brw_vs.c:379)
==17019==    by 0x11CB4ECA: brw_shader_precompile (brw_link.cpp:65)
==17019==    by 0x11CB4ECA: brw_link_shader (brw_link.cpp:362)
==17019==    by 0x11AF354D: _mesa_glsl_link_shader (ir_to_mesa.cpp:3126)
==17019==    by 0x11A00E02: link_program (shaderapi.c:1203)
==17019==    by 0x11A00E02: link_program_error (shaderapi.c:1281)

Does this relate to driver issue?

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180228/c00889e0/attachment-0001.html>

More information about the intel-3d-bugs mailing list