[Bug 101652] segfault in i965 brw_upload_cache when calling glLinkProgram
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Sep 1 18:09:09 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101652
Kenneth Graunke <kenneth at whitecape.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTOURBUG
Status|NEW |RESOLVED
--- Comment #1 from Kenneth Graunke <kenneth at whitecape.org> ---
We talked about this on IRC today, and vsyrjala noticed that the example
program fopens the rendernode with "w" mode - for writing, but not reading.
The fix is to use "r+" (reading and writing).
Apparently if you can't read from the rendernode device, then GTT mappings
fail, which gives us a NULL pointer for the program cache map.
--
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/20170901/29d23d02/attachment.html>
More information about the intel-3d-bugs
mailing list