Bug 75270
| Summary: | Incredibly bad memory leaks in gnome-terminal, causing entire system to lock up when RAM/swap maxed | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <djdipaolo> | ||||||
| Component: | vte | Assignee: | Ray Strode [halfline] <rstrode> | ||||||
| Status: | CLOSED DEFERRED | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 8.0 | CC: | adam.greenfield, maine, mitr, pedrum, rhladik, wtogami | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i386 | ||||||||
| OS: | Linux | ||||||||
| URL: | http://strike.homelinux.org/~ddipaolo/screenshots/gnome-terminal | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2004-11-04 05:39:10 UTC | Type: | --- | ||||||
| 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
Need Real Name
2002-10-06 17:57:15 UTC
For me, runing 'seq 999999' has absolutely no effect on memory consumption. gnome-terminal-2.0.1-5, vte-0.8.19-1 This is awfully strange, we have several "leaks memory instantly at the drop of a hat" reports, but then it seems to work OK for most people. There's some detail of how to trigger it that we're missing. Well, I'm willing to cooperate (read: perform test scenarios) as much as you like, seeing as how I really want gnome-terminal as something I can use for more than 3 minutes. :) Feel free to contact me directly if you don't want to clutter up the bugzilla logs. I can also provide more hardware info if you need, but you have all the relevant software info, with maybe a few exceptions. Basically, this was experienced on a vanilla RedHat 8.0 install (checked install media with both md5sum and during the install). Actually, it was experienced with two installations on the same machine (this bug aggravated me to the point of desperately trying to reinstall instead of seeking further problems). Also, I ran the memory profiler on it and saved the leak info and memprof info if you would like me to attach it here. I don't know how useful it will be, considering I didn't really get to use the terminal ... it didn't seem to be the same problem. But, I can post the data if you like. I am also seeing this problem. I left gnome-terminal running overnight and when I came this morning, my hard drive was thrashing and reported about 400M of swap space in use! According to top, gnome-terminal was using about 350 or so megs. It's averaging about a 1mb/min just sitting there with no activiity. Xterm works fine. Looks like a potential dupe of: #74748, #74972, #75211, #75498 Not marking as a duplicate just yet, however. If you run "xdpyinfo", is RENDER one of the listed extensions? No, no RENDER extension. The i830M has no RENDER extension support yet, as far as I know. I don't think this is an X leak (as mentioned in a related bug), but rather a leak somewhere in Gnome 2. Today, after about 12 days of use, my system starting thrashing yet again and the main users of memory were gnome-panel[365Mb] and metacity[150Mb]. I also don't have the RENDER extension. These are the actual values if anyone cares... 114 #507 15 0 426M 87M 5556 S 1.1 17.4 3:39 gnome-panel 18274 #507 15 0 137M 83M 18596 R 10.9 16.6 70:40 mozilla-bin 1104 #507 15 0 274M 64M 4252 S 0.9 12.8 4:11 metacity 1395 root 25 0 65928 64M 28676 S 0.1 12.8 0:55 java 790 root 5 -10 48228 18M 2676 S < 7.2 3.5 4719m X 725 xfs 15 0 21432 10M 3160 S 0.0 2.1 0:18 xfs 7243 #507 15 0 11012 10M 3856 S 0.1 2.0 1:50 emacs 17727 #507 15 0 6496 6000 3772 R 0.1 1.1 21:32 xmms 4:11pm up 12 days, 3:23, 3 users, load average: 2.10, 1.95, 1 Created attachment 82785 [details]
with nolinear enabled
Created attachment 82786 [details]
nolinear removed and X restarted
I figured the problem out! It was indeed something withing X that was causing the leak, specifically Gnome2 would call some render routine inside X. See attached memprof logs, if you're curious. I am using the ATI driver (Rage XL) and had probem with a particular Mozilla theme (modern) getting corrupted, so I was told to set the "nolinear" option in my X configuration. When I remove this flag, the memory leaks disappear. Hi, This bug is quite old and Red Hat no longer maintains the version of Linux this bug is filed against. Does this problem persist in Fedora Core with xorg-x11? If so, please open a new bug file against the xorg-x11 component. Thanks. |