After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 140289 - gnome-terminal repeatedly eats cpu time, refresh stops for long time
gnome-terminal repeatedly eats cpu time, refresh stops for long time
Status: RESOLVED DUPLICATE of bug 138866
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other FreeBSD
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-04-16 19:04 UTC by fritz.heinrichmeyer
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description fritz.heinrichmeyer 2004-04-16 19:04:07 UTC
open more than one gnome terminal with heavy activities (i.e. compile kernel or
one port) and large window size.

Sometimes gnome-terminal eats all available cpu time (apart form the processes
running in the terminals) and screen update stalls for more a network timeout
period. This is an old gnome-terminal problem (as far as i use it, at least
under all gnome2-versions).
Comment 1 Eric Hopper 2004-04-24 20:50:48 UTC
This happens to me too.  Here is a more detailed description of the conditions
under which this happens:

Run irrsi 0.8.9 inside of screen 3.9.15 (other versions will probably work) and
log into an active discussion and stay there for awhile.  gnome-terminal will
eventually end up with a corrupt screen.

The bug seems to be tied to updates of the blue status bar between the
discussion and the text you type.  So, logging into several active channels and
moving between them so the channel activity indicators frequently change and
change color may help cause the bug to happen faster.

Also see these two mailing list messages, others are having the problem too:

http://www.redhat.com/archives/fedora-list/2004-January/msg00343.html
http://www.redhat.com/archives/fedora-list/2004-January/msg00450.html

This is a recent thing, and seems to be tied to gnome-terminal 2.5.x or 2.6.x
Comment 2 Karol Bryd 2004-04-28 12:57:55 UTC
the same thing happens to me, I use Mutt on screen and every few minutes
gnome terminal hangs with corrupted screen...unfortunately ALL other Gnome
terminals hang too :-( it makes my desktop very unusable (it takes 100% of
the CPU).

I use Debian and 2.6.1 version of the Gnome Terminal.

Here is backtrace of the GT process:

(gdb) bt full
  • #0 memcpy
    from /lib/tls/libc.so.6
  • #1 g_array_append_vals
    from /usr/lib/libglib-2.0.so.0
  • #2 _vte_trie_print
    from /usr/lib/libvte.so.4
  • #3 _vte_trie_print
    from /usr/lib/libvte.so.4
  • #4 vte_terminal_get_encoding
    from /usr/lib/libvte.so.4
  • #5 vte_terminal_set_default_colors
    from /usr/lib/libvte.so.4
  • #6 vte_terminal_fork_command
    from /usr/lib/libvte.so.4
  • #7 g_main_context_wakeup
    from /usr/lib/libglib-2.0.so.0
  • #8 g_main_depth
    from /usr/lib/libglib-2.0.so.0
  • #9 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #10 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #11 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #12 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 main

PLEASE do something with it! :-(
Comment 3 Eric Hopper 2004-05-23 16:49:47 UTC
Someone appears to be doing something with this.  This is a bug in the 'vte'
module.  Apparently gnome-terminal hands of most of the terminal emulation
duties to a pluggable module.  Anyway, here's a link to the vte bug that's
actually a duplicate of this one:

http://bugzilla.gnome.org/show_bug.cgi?id=117945
Comment 4 Mariano Suárez-Alvarez 2004-05-24 04:52:17 UTC
I can't see with such clarity why the two bugs are related.

In fact, I don't understand this bug at all... It seems to be a case of multiple
personality: the initial comment does -not- mention a crash, nor does the second
one. The third one, otoh, does.

Karol, could you get a stack trace with symbols? And post it on 138866.
In any case, the stack trace you provide in comment #2 is broken, because the
function vte_terminal_fork_command does not call
vte_terminal_set_default_colors. This happens in 138866 too...
Please make sure that the package was compiled with debugging symbols and see
http://bugzilla.gnome.org/getting-traces.cgi for more information about useful
stack traces.

---

I'll mark this as a dup of 138866, which has exactly the same stack trace.

*** This bug has been marked as a duplicate of 138866 ***