Bug 1181309
| Summary: | gnome-shell memory leak | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bence Kiss <bence> | ||||
| Component: | gnome-shell | Assignee: | Owen Taylor <otaylor> | ||||
| Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 20 | CC: | admiller, algonkvel, andrew, awilliam, brian, chuck.lasher, collura, daniell1, danielsun3164, dhgutteridge, dmitryburstein, dossow, drago01, ego.cordatus, extras-qa, fmuellner, gabriel, gonzo, hrafnkellbrimar, htl10, iseeglass, johan.spee, mark.harfouche, m.gruys, mrsam, neumann, otaylor, pbrady, redhat_bugzilla, roidal, romano.giannetti, rpm, samkraju, sam.petrocelli, samuel-rhbugs, sandervv, steeve.mccauley, steve8988, tapani.mattila, tonylampada, txn2tahx3v, vchelban, walters | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 977387 | Environment: | |||||
| Last Closed: | 2015-01-14 22:12:00 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Bence Kiss
2015-01-12 20:28:24 UTC
The problem still persist, and reproduceable. The command executed: valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=20 --log-file=vgdump gnome-shell --replace Reproduce: clicking betveen threee windows (2 gnome-terminal and a firefox one) The rss memory footprint of gnome-shell incrased. so that looks like a case with the NVIDIA proprietary driver, right? I'm not sure if the devs can do anything in that case, but we can see. I am using nouveau (and get the leaky behavior without the weather extension mentioned in bug 960381), but when I run the above valgrind, the new gnome-shell never gets fully up and running before getting killed. While running top, I can see valgrind climb in memory and cpu and it exits with 'Killed' within 15 seconds. Seems like an OOM killing, although I don't see anything specifically mentioned in the log. So I'd like to try getting a valgrind memory check log, but I can't right now. I tried decreasing --num-callers to 8, but that didn't help. > so that looks like a case with the NVIDIA proprietary driver, right?
If I had a nickel for every time someone came to that conclusion...
I understand that it _looks_ that way, but that's only because the nVidia binary driver is ~200-300% more RAM hungry than any open source driver. The leak environment *absolutely* persists on every single video driver linux has to offer, on both VMs and real steel, but it just doesn't look nearly as bad for the open source drivers when Gnome-Shell begins life at 60M and leaks up to 120M over the course of an hour (whereas with the nVidia and Catalyst binary blobs, Gnome-Shell starts life at ~100M and can leak up to ~300M in the same time frame doing the same things).
In a lot of ways, this actually makes it a lot easier to troubleshoot, as the leaks are easier to see, but instead of doing that all of the devs I've worked with in the past come to the conclusion that it is _just_ the binary blobs that have the leak when that isn't the case (and it took considerable pleading to convince them otherwise).
It's not a conclusion. It's a factual note. The log provided is with the closed source driver, and a bunch of the potential leaks listed are in said driver. As I wrote over on the other bug, we can't do anything with bug reports for 'the leaky environment', we need bug reports with valgrind logs from specific reproducers. This is a bug with a valgrind log from a specific reproducer, for which we thank Bence. Please don't turn it into another talking shop which has to be closed down. If you have a specific leak reproducer with an open driver, please file a *separate* bug with a valgrind log. I will. Thanks. |