Summary: | [r600g] Memory leak with celestia, RV790 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Chris Rankin <rankincj> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Chris Rankin
2014-03-03 23:26:14 UTC
Having recompiled the current Mesa from git, it looks as if radeon_winsys_destroy() in src/gallium/winsys/radeon/drm/radeon_drm_winsys.c is not being called on exit. (In reply to comment #1) > Having recompiled the current Mesa from git, it looks as if > radeon_winsys_destroy() in src/gallium/winsys/radeon/drm/radeon_drm_winsys.c > is not being called on exit. That only explains 352 leaked bytes though, over the whole lifetime of the celestia process. Please describe the problem in more detail. Why do you think there is a leak? (In reply to comment #2) > Please describe the problem in more detail. Why do you think there is a leak? I think there's a leak because "Valgrind says there's a leak" and "Valgrind is a program that finds memory leaks". Simple, really. (In reply to comment #2) > Please describe the problem in more detail. Why do you think there is a leak? (There's also an underlying hypothesis that WoW cannot possibly be the only program in existence to be experiencing memory problems under Mesa. However, since valgrinding 32 bit WoW on a 64 bit box is currently beyond me, I am hunting for memory errors in other workloads instead, in the hope that they might provide some insight.) (In reply to comment #4) > [...] since valgrinding 32 bit WoW on a 64 bit box is currently beyond me, As suggested in your WoW bug report, please try valgrind on replaying an apitrace instead. > I am hunting for memory errors in other workloads instead, in the hope that > they might provide some insight.) valgrind finds one 352 byte leak with celestia. That can't possibly explain the issues you're having with WoW. (In reply to comment #5) > valgrind finds one 352 byte leak with celestia. That can't possibly explain > the issues you're having with WoW. I raised this as a separate issue for a reason... ;-). But I doubt that Mesa contains functionality that is *specific* to WoW; other apps *must* be affected by #74549 - although perhaps not as noticeably. Leaking a radeon_winsys allocation is hardly an issue. There is only one instance of the winsys per process anyway. This is really harmless. I wouldn't even bother trying to fix this leak (if there really is a leak). -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/499. |
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.