Summary: | libdrm's drmOpenOnce() fd cache stale on X server restart | ||||||
---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Chris Fester <camaronut> | ||||
Component: | libdrm | Assignee: | Default DRI bug account <dri-devel> | ||||
Status: | RESOLVED WONTFIX | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | low | CC: | camaronut | ||||
Version: | unspecified | ||||||
Hardware: | x86 (IA32) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Chris Fester
2009-05-01 10:03:58 UTC
> It is completely possible that since I'm using the ATI provided libraries that
> they're really the problem here, and they should be cleaning up their used file
> descriptors on server exit.
I suspect that's indeed the case; drmCloseOnce() will only close the file descriptor if it's been called as many times as drmOpenOnce() before, after which drmOpenOnce() wouldn't try to use that file descriptor anymore. So most likely a file descriptor obtained from drmOpenOnce() is incorrectly closed with drmClose() directly.
drmOpenOnce is now only ever called from the DRI1 loader in Mesa's libGL, which is essentially unsupported since there haven't been DRI1 drivers in 7+ years. |
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.