Bug 657080

Summary: Terminal leaks memory and has high cpu in Rawhide
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: TerminalAssignee: Kevin Fenzi <kevin>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dennis, dr.diesel, Felix.Braun, kevin, mattdm
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-31 03:24:29 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 Flags
output of Terminal running inside valgrind none

Description Adam Williamson 2010-11-24 20:42:06 UTC
Terminal seems to leak memory quite badly in Rawhide. I'm using it as a replacement for gnome-terminal which is crashy at the moment, but after it's been up a while with a few tabs open, it winds up using multiple GB of RAM, I have to close it and start it again. Should be fairly easy to reproduce, just run it with multiple tabs for a while and check top/htop.

Comment 1 Kevin Fenzi 2010-11-24 22:33:52 UTC
Interestingly this doesn't seem to happen to other vte using terminals (I tried roxterm). 

I'll try and valgrind it, or feel free to do so there and attach the output here.

Comment 2 Dennis Gilmore 2010-11-27 07:12:24 UTC
Created attachment 463206 [details]
output of Terminal running inside valgrind

Comment 3 Kevin Fenzi 2010-11-28 21:49:41 UTC
*** Bug 657951 has been marked as a duplicate of this bug. ***

Comment 4 Kevin Fenzi 2010-11-28 21:50:42 UTC
Fixing the title here. Sorry for the spam.

Comment 5 Kevin Fenzi 2010-12-06 02:07:08 UTC
Filed upstream: 

http://bugzilla.xfce.org/show_bug.cgi?id=6921

Comment 6 Adam Williamson 2010-12-06 04:45:50 UTC
It may be worth mentioning in the upstream report that all *other* VTE-based terminals don't have this problem in Rawhide, so there's definitely something Terminal-specific.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 7 Kevin Fenzi 2010-12-06 16:19:36 UTC
Sure. Can do.

Comment 8 Matthew Miller 2011-01-21 17:09:36 UTC
This is still going on. I had seen this bug, shrugged, and switched to gnome-terminal, but now that's broken in other ways. :)

Maybe upstream could use a nudge?

Comment 9 Kevin Fenzi 2011-01-21 19:13:35 UTC
Yep. I have been using roxterm here (which is a fine terminal program, but Xfce can't remember where you had positioned them, so you get only one in the wrong place on login). 

I'll see if we can get upstream interested...

Comment 10 Matthew Miller 2011-01-24 13:55:52 UTC
After the weekend:

20067 mattdm    20   0 6323m 3.1g 3088 3.1g S  8.0 80.1 153:29.09 Terminal      


Yeah. 3.1g for a terminal. Something ain't right. :)

Comment 11 Kevin Fenzi 2011-01-31 03:24:29 UTC
Terminal-0.4.6-2.fc15 should have this fixed now. ;) 

It should be in tomorrow's rawhide. If folks see this after upgrading to this version, please re-open or file a new bug on it. 

Thanks.