Summary: | amdgpu_query_gpu_info () segfaults when user does not have permission to open /dev/dri/card* | ||||||
---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Vedran Miletić <vedran> | ||||
Component: | DRM/AMDgpu-pro | Assignee: | Default DRI bug account <dri-devel> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | critical | ||||||
Priority: | medium | ||||||
Version: | unspecified | ||||||
Hardware: | All | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Vedran Miletić
2016-09-30 15:50:50 UTC
Still occurs with 16.40. Simple test: $ ls -la /dev/dri/* # verify that other does not have rwx $ sudo chgrp root /dev/dri/* # or any group which the user is not a member of $ clinfo Created attachment 127593 [details] [review] possible fix The patch should fix the acute problem, but may not fix the actual root cause which is likely in the OCL driver. (In reply to Alex Deucher from comment #2) > Created attachment 127593 [details] [review] [review] > possible fix > > The patch should fix the acute problem, but may not fix the actual root > cause which is likely in the OCL driver. Thanks. I don't have time to test it now, but it looks good. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.