xfce4-terminal causes 100% cpu usage (xorg)

Bug #633085 reported by Simon Steinbeiß
80
This bug affects 12 people
Affects Status Importance Assigned to Milestone
xfce4-terminal (Ubuntu)
Fix Released
Medium
Lionel Le Folgoc

Bug Description

Binary package hint: xfce4-terminal

in xubuntu maverick beta (64bit) xfce4-terminal causes 100%cpu usage.
top tells me that the process sucking in the cpu is Xorg, but after closing xfce4-terminal the cpu-cycles drop to a normal level.

i don't really know how to further debug this, no relevant errors in ~/.xsession-errors, nothing in /var/log...

this happens with and without desktop effects (xfwm4-compositor) enabled. i'm using the nvidia proprietary driver btw.

Revision history for this message
Ricardo Arcos (rarcos) wrote :

I'm experimenting the same symptoms using the intel driver (high Xorg CPU usage, general unresponsiveness).

Switched to lxterminal as a workaround.

Revision history for this message
brot (schnitzelkuchen) wrote :

I am using 10.10 beta, and hit the same bug.

As soon as xfce4-terminal is started, X starts to use much CPU (as high as one complete core).

brot (schnitzelkuchen)
tags: added: regression-potential
Revision history for this message
Ochkoo (ochirkhuyag) wrote :

Using 10.10 beta. Same bug here.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. I am unable to reproduce this issue in Maverick. Opening xfce4-terminal, I see my cpu usage at a steady 4-5%. Perhaps this was fixed with a fix to the application? Can it still be reproduced in an updated Maverick system?

Changed in xfce4-terminal (Ubuntu):
status: New → Incomplete
Revision history for this message
Simon Steinbeiß (ochosi) wrote :

i can re-confirm the bug, even with no or trivial activity (like running "top") the terminal eats 100% cpu.

starting from xterm there are no errors.

xfce4-terminal 0.4.5-1ubuntu3

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

 Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here.

duplicate bug 633278 has a stacktrace attached.

Thanks for confirming this issue.

Changed in xfce4-terminal (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Andrew Simpson (andrew-simpson) wrote :

This bug seems to have been reported upstream then closed (after upgrading vte): http://bugzilla.xfce.org/show_bug.cgi?id=6513

While this appears similar to this bug, Maverick has a much later version of vte.

Gentoo has had a similar bug that was resolved by patching vte: http://bugs.gentoo.org/show_bug.cgi?id=324631

Bug #636942 is possibly a duplicate of this bug?

(This bug ate so much of my CPU, that my little Acer Aspire One repeatedly overheated and shut down!)

Revision history for this message
Andrew Simpson (andrew-simpson) wrote :

Upgrade for libvte9 arrived today in Ubuntu Maverick Beta (1:0.26.0-0ubuntu1). Changelog shows this is a new upstream version of libvte9 ("New upstream release v0.26.0").

Seems to have fixed this bug for me. If someone else can confirm.

Revision history for this message
Simon Steinbeiß (ochosi) wrote :

yep, you're right. i can confirm that the issue is resolved with the most recent libvte9 upgrade.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in xfce4-terminal (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Bertrand Croq (bcroq) wrote :

This bug seems to be back. I use Xubuntu Natty.

libvte9 1:0.27.4-0ubuntu1
xfce4-terminal 0.4.5-1ubuntu4

When I open an xfce4-terminal and run htop, I get Xorg that eats 60% of the CPU and xfce4-terminal that takes 13%.
when I launch xterm and run htop, Xorg doesn't take any CPU, nor xterm.

Revision history for this message
SteVe Cook (yorvyk) wrote :

I can confirm, 32 bit Natty same versions, same problem.

libvte9 1:0.27.4-0ubuntu1
xfce4-terminal 0.4.5-1ubuntu4

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

If this is back, please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in xfce4-terminal (Ubuntu):
status: Fix Released → Incomplete
Revision history for this message
Bertrand Croq (bcroq) wrote :

This bug is not about a crash, but about 100% CPU usage when xfce4-terminal is launched.

Changed in xfce4-terminal (Ubuntu):
status: Incomplete → In Progress
assignee: nobody → Lionel Le Folgoc (mrpouit)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xfce4-terminal - 0.4.6-0ubuntu2

---------------
xfce4-terminal (0.4.6-0ubuntu2) natty; urgency=low

  * debian/patches/01_fix-memleak-high-cpu-usage-vte-0.27.patch: fix a
    race between vte and xfce4-terminal when setting the terminal
    background (Xfce #6921, lp: #633085,#636942).
 -- Lionel Le Folgoc <email address hidden> Sun, 30 Jan 2011 22:52:09 +0100

Changed in xfce4-terminal (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Bertrand Croq (bcroq) wrote :

I confirm, this bug is now fixed.
Thanks.

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.