gnome-terminal keeps tabs in memory

Bug #259930 reported by Michael Lustfield
4
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-terminal

I'm running Ubuntu 8.04. I regularly use gnome-terminal for a large majority of my terminal emulator usage.

If I open two tabs, start two tasks in each, such as copying 15GB which I occasionally do, then close that tab via the X, the tab is closed and can't be returned to - but the system resources are still being hogged up. I'm pretty sure that activity is still going on too.

This isn't usually much of an issue. However, in instances where the task is system intensive and keeps running, it is a problem.

Also, using the exit command does seem to kill the tab.

Revision history for this message
Bhavani Shankar (bhavi) wrote :

Thanks for your bug report.

go to file menu > close tab and try it out...

Regards

Revision history for this message
Michael Lustfield (michaellustfield) wrote :

Same thing still happens.

Here's how I test.

Open two tabs.
In tab #1, cp ~/test/15_GB_File ~/test/Another_File
In tab #2, watch du -h ~/test/*
Close tab #1

The watch will show you that the file is still growing.

I tried both methods of closing the terminal.

I know it's with gnome-terminal and not my laptop. I've seen this happen on other systems as well.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

could this be a duplicate of bug 207477?

Changed in gnome-terminal:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Michael Lustfield (michaellustfield) wrote :

This is not a duplicate of that bug.

It's still reproducible in 8.10. I no longer use gnome-terminal but it's easily reproduced. This is a potential huge memory leak and battery drain. This is the only reason I see it as a serious bug.

Changed in gnome-terminal:
status: Incomplete → Confirmed
Revision history for this message
Michael Lustfield (michaellustfield) wrote :

I also think it should be considered for a security flag because a user could start working on data in one tab that has private data and another user could read that stream even after the tab is closed.

Revision history for this message
Brian Murray (brian-murray) wrote :

I've tried recreating your test case multiple times without success, every time I close the tab the process being executed is killed. I'm also really not clear why you confirmed the bug when you say "I no longer use gnome-terminal but it's easily reproduced." Please either elaborate on your test case, so someone else can try and recreate it, or test it again in Intrepid.

Also please take a moment to review http://wiki.ubuntu.com/Bugs/Status which indicates that 'Confirmed bugs require confirmation from someone other than the original reporter'.

Changed in gnome-terminal:
status: Confirmed → Incomplete
Revision history for this message
Michael Lustfield (michaellustfield) wrote :

I'm sorry, I think I was working on too many bugs at once. I didn't mean to confirm this one.

I did try it again and it appears to have been taken care of.

Sorry for the hassle. I suppose a Fix Released or Invalid flag is more appropriate for this bug.

Revision history for this message
Brian Murray (brian-murray) wrote :

Invalid is the most appropriate status for this bug as there is no clear indication as what the fix for the bug report was. Thanks for following up!

Changed in gnome-terminal:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.