[Bug 101652] segfault in i965 brw_upload_cache when calling glLinkProgram

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 29 21:51:11 UTC 2017


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

            Bug ID: 101652
           Summary: segfault in i965 brw_upload_cache when calling
                    glLinkProgram
           Product: Mesa
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: rrika9 at yahoo.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Created attachment 132362
  --> https://bugs.freedesktop.org/attachment.cgi?id=132362&action=edit
Code to reproduce the crash

I get a segfault when calling glLinkProgram because of a memcpy with dst=0 at

brw_program_cache.c:370: memcpy((char *)cache->bo->virtual + item->offset,
data, data_size);

I attached a sample to trigger this which needs -lgbm -lGL -lEGL.

(My CPU is a Intel i5-3320M, which comes with HD Graphics 4000 according to
wikipedia)

-- 
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/20170629/31c14d8b/attachment.html>


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