gnome-terminal doesn't kill processes when closing a tab

Bug #234753 reported by Alex Salt
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Terminal
Fix Released
Medium
gnome-terminal (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-terminal

OS Version: Ubuntu 8.04 Hardy
gnome-terminal version: 2.22.1-0ubuntu2

So, when I close a tab which has something running in it (man, ssh, less, nano) the process is not killed, bash process also stays alive.
The most fastest way to reproduce a bug: open some number of tabs and then close them. Run" ps aux | grep bash" - and you have lots of bashes running.

Revision history for this message
Jerzy Mansarliński (jmansar) wrote :

Thank you for your bug report. I can confirm this bug. This bug has already been reported in gnome bugtracker.

Changed in gnome-terminal:
status: New → Confirmed
Changed in gnome-terminal:
status: Unknown → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for the work here.

Changed in gnome-terminal:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Confirmed → Triaged
Changed in gnome-terminal:
status: New → Fix Released
Pedro Fragoso (ember)
Changed in gnome-terminal:
status: Triaged → Fix Committed
Changed in gnome-terminal:
status: Fix Released → New
Revision history for this message
gazel (joel-gazel) wrote : re: [Bug 234753] Re: gnome-terminal doesn't kill processes when closing a tab

merci utiliser lqngue française - please sene mail in french language <email address hidden>

> Message du 06/10/08 04:05
> De : "Bug Watch Updater" <email address hidden>
> A : <email address hidden>
> Copie à :
> Objet : [Bug 234753] Re: gnome-terminal doesn't kill processes when closing a tab
>
>
> ** Changed in: gnome-terminal
> Status: Fix Released => New
>
> --
> gnome-terminal doesn't kill processes when closing a tab
> https://bugs.launchpad.net/bugs/234753
> You received this bug notification because you are subscribed to gnome-
> terminal in ubuntu.
>
> Status in gnome-terminal: New
> Status in “gnome-terminal” source package in Ubuntu: Fix Committed
>
> Bug description:
> Binary package hint: gnome-terminal
>
> OS Version: Ubuntu 8.04 Hardy
> gnome-terminal version: 2.22.1-0ubuntu2
>
> So, when I close a tab which has something running in it (man, ssh, less, nano) the process is not killed, bash process also stays alive.
> The most fastest way to reproduce a bug: open some number of tabs and then close them. Run" ps aux | grep bash" - and you have lots of bashes running.
>
>

Revision history for this message
Artur Rona (ari-tczew) wrote :

Try to reproduce it with tvtime. This bug isn't fixed.

Revision history for this message
Alex Salt (holy.cheater) wrote :

Can you be more specific?
I've just tested this in intrepid (gnome-terminal version: 2.24.1-0ubuntu1): bug in the description is fixed.

Revision history for this message
Artur Rona (ari-tczew) wrote :

1. Open gnome-terminal
2. Execute command: tvtime
3. Close gnome-terminal's window by [x]
4. Tvtime's window will be shutdown, but sound from TV is alive
5. $ ps aux | grep tvtime : results 0

Revision history for this message
Michał Gołębiowski-Owczarek (mgol) wrote :

In Hardy it's not repaired. I noticed it today when I wanted to see how much memory gnome-terminal uses and I opened a lot of tabs and closed them soon; not even one bash process has been terminated.

It seems I have to restart gnome-terminal from time to time...

Changed in gnome-terminal:
status: Fix Committed → Confirmed
Revision history for this message
Alex Salt (holy.cheater) wrote : Re: [Bug 234753] Re: gnome-terminal doesn't kill processes when closing a tab

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michał Gołębiowski wrote:
> In Hardy it's not repaired. I noticed it today when I wanted to see how
> much memory gnome-terminal uses and I opened a lot of tabs and closed
> them soon; not even one bash process has been terminated.
>
> It seems I have to restart gnome-terminal from time to time...

Gnome-terminal leaks memory through time. It has nothing to do with the
tab processes bug.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklq/KIACgkQF+LKrinRMR5PbACfYL3sQ3PuxYnL51/6Dbh4+NZH
v7oAoIlSdgHhj+iPJxLv1r+f0lHD54JU
=s9JT
-----END PGP SIGNATURE-----

Revision history for this message
Michał Gołębiowski-Owczarek (mgol) wrote :

I don't understand - it behaves exactly as described in this bug, so how could it be not connected?

If I enter exit, bash process exits - if I close a tab manually, by mouse - it's still there until I close gnome-terminal completely. If I leave opened vim in one tab and I close the tab manually - it does not terminate until the exit of the whole gt.

Is it not just what this bug is about?

Revision history for this message
Alex Salt (holy.cheater) wrote :

Sorry, my bad. Misunderstood you a bit.
Well, the hardy's gnome-terminal is the same version as it was when the bug was reported. Obviously, it is not fixed.

Revision history for this message
Michał Gołębiowski-Owczarek (mgol) wrote :

I just thought that as Hardy is still supported (and will be till 2011 - it's an LTS release) a patch should be applied. Or am I wrong as it's not a security bug?

Changed in gnome-terminal:
status: Confirmed → Triaged
Revision history for this message
Andreas Moog (ampelbein) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - the Jaunty Jackalope. It won't be fixed in previous versions of Ubuntu because the package doesn't fit the requirements for backporting. See https://help.ubuntu.com/community/UbuntuBackports for more information.

Changed in gnome-terminal (Ubuntu):
status: Triaged → Fix Released
Changed in gnome-terminal:
importance: Unknown → Medium
Changed in gnome-terminal:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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