[Bug 94198] [HSW] segfault in copy image when copying from cubemap to 2d

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 17 17:41:50 UTC 2016


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

            Bug ID: 94198
           Summary: [HSW] segfault in copy image when copying from cubemap
                    to 2d
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: idr at freedesktop.org
          Reporter: imirkin at alum.mit.edu
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Test case
'dEQP-GLES31.functional.copy_image.non_compressed.viewclass_128_bits.rgba32f_rgba32i.cubemap_to_texture2d'..
==7653== Invalid read of size 8
==7653==    at 0xA9C2150: intel_miptree_reference (intel_mipmap_tree.c:955)
==7653==    by 0xA9CAEC9: intel_texture_view (intel_tex.c:281)
==7653==    by 0xA824CA5: make_view (meta_copy_image.c:138)
==7653==    by 0xA824CA5: _mesa_meta_CopyImageSubData_uncompressed
(meta_copy_image.c:205)
==7653==    by 0xA9BE24F: intel_copy_image_sub_data (intel_copy_image.c:217)
==7653==    by 0xA66AB8E: _mesa_CopyImageSubData (copyimage.c:584)
==7653==    by 0x938090: deqp::gles31::Functional::(anonymous
namespace)::CopyImageTest::copyImageIter() (in
/home/ilia/src/deqp/modules/gles31/deqp-gles31)
==7653==    by 0x92E305: deqp::gles31::Functional::(anonymous
namespace)::CopyImageTest::iterate() (in
/home/ilia/src/deqp/modules/gles31/deqp-gles31)
==7653==    by 0x5A180A: deqp::gles31::TestCaseWrapper::iterate(tcu::TestCase*)
(in /home/ilia/src/deqp/modules/gles31/deqp-gles31)
==7653==    by 0x9C9BEE: tcu::TestSessionExecutor::iterate() (in
/home/ilia/src/deqp/modules/gles31/deqp-gles31)
==7653==    by 0x998998: tcu::App::iterate() (in
/home/ilia/src/deqp/modules/gles31/deqp-gles31)
==7653==    by 0x59D847: main (in
/home/ilia/src/deqp/modules/gles31/deqp-gles31)
==7653==  Address 0x88 is not stack'd, malloc'd or (recently) free'd

It's trying to make a texture view, but I think it doesn't end up initializing
things properly in the view_tex_obj? It appears that the ->mt pointer is
uninitialized.

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


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