GNOME Bugzilla – Bug 99220
Eats all the CPU time when creating a new tab, it's fixed when swithing to existing tab and then back
Last modified: 2004-12-22 21:47:04 UTC
Package: gnome-terminal Severity: normal Version: GNOME2.1.2 2.1.1.20021121 Synopsis: Eats all the CPU time when creating a new tab, it's fixed when swithing to existing tab and then back Bugzilla-Product: gnome-terminal Bugzilla-Component: general Description: Description of Problem: I'm not quite sure if this is a gnome-terminal problem or vte problem. When a new tab is created, no shell window is displayed in the window. Instead gnome-terminal eats all the CPU it can. Program is still responsive, though. Switch back to 1st tab and then back to the newly created 2nd tab. CPU usage drops and the shell exists there as exepcted. This problem only occurrs when creating the 1st new tab during a gnome-terminal session, all further tabs are created OK. Steps to reproduce the problem: 1. Launch a new gnome-terminal session 2. Create a new tab 3. New shell fails to appear. Switch back to 1st tab and then back to this new 2nd tab. Actual Results: After creation, new tab is frozen with no shell. Expected Results: New tab with shell should be created. How often does this happen? Each time. Additional Information: Debian GNU/Linux, Athlon PC, Gnome 2.2 snapshot compiled from Gnome CVS on the 11/20/2002 and installed in clean prefix. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-11-21 14:43 ------- Unknown version 1.1.x in product gnome-terminal. Setting version to the default, "unspecified". The original reporter (tj@shakti.tky.hut.fi) of this bug does not have an account here. Reassigning to the exporter, unknown@bugzilla.gnome.org. Reassigning to the default owner of the component, hp@redhat.com.
I've seen this, and others on IRC mentioned it, including Luis. Confirming.
*** Bug 99963 has been marked as a duplicate of this bug. ***
*** Bug 100438 has been marked as a duplicate of this bug. ***
*** Bug 100484 has been marked as a duplicate of this bug. ***
*** Bug 100543 has been marked as a duplicate of this bug. ***
*** Bug 100690 has been marked as a duplicate of this bug. ***
I finally decided to get some traces of what gnome-terminal is doing. First, here's what happens when I do Shft+Control+T when attached to gnome-terminal with gdb: Program received signal SIGPIPE, Broken pipe. [Switching to Thread 1024 (LWP 1662)] 0x409d5754 in write () from /lib/libc.so.6 (gdb) thread apply all bt
+ Trace 31465
Thread 1 (Thread 1024 (LWP 1662))
Hopefully this helps. I'm bumping this bug up to high priority since it's getting so many duplicates.
As the original reporter I'm happy to say that this bug seems to be vanished by some change recently. I compiled a fresh GNOME 2.2 snapshot on the 27th of December and gnome-terminal is now working as expected. Probably improved vte helped here. Bug #100660 is also fixed. I guess you maintainers can close both bugs now.
Closing.
*** Bug 102713 has been marked as a duplicate of this bug. ***