Bug 117556 - x11-toolkits/gtk20 patch causes slow startup and high CPU usage with xfce4
Summary: x11-toolkits/gtk20 patch causes slow startup and high CPU usage with xfce4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
Depends on:
Reported: 2007-10-27 13:30 UTC by Stephen Hurd
Modified: 2007-11-02 21:00 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Hurd freebsd_committer 2007-10-27 13:30:00 UTC
The ports/x11-toolkits/gtk20/files/patch-gtk_gtkiconcache.c patch causes xfce4 applications to take a VERY long time to start up and use 100% CPU.

With a complete xfce4 installation on a dual P-III 1GHz system 1GB of RAM, it takes 7:24 to start an Xfce4 session with this patch applied.  If gtk+ is installed without the patch, the same login takes 0:21.  Further individual Xfce4 applications consume 100% CPU while starting.  Terminal takes 0:49 to start with the patch vs. < 0:02 without


Remove ports/x11-toolkits/gtk20/files/patch-gtk_gtkiconcache.c and reinstall GTK+
How-To-Repeat: Install and use an Xfce4 desktop
Comment 1 Edwin Groothuis freebsd_committer 2007-10-27 13:32:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2007-11-02 20:53:51 UTC
mezz        2007-11-02 20:53:38 UTC

  FreeBSD ports repository

  Modified files:
    x11-toolkits/gtk20   Makefile 
  Removed files:
    x11-toolkits/gtk20/files patch-gtk_gtkiconcache.c 
  Remove a patch that cause some GTK+2 (mostly xfce4) apps to start up too
  long and consume 100% CPU. If anyone want to revisit with improvement on
  this patch, I personal think it should be take up to upstream first before
  we can re-add it. Bump the PORTREVISION.
  PR:             ports/117556
  Submitted by:   Stephen Hurd <shurd@sasktel.net>
  Approved by:    portmgr (marcus)
  Revision  Changes    Path
  1.206     +1 -1      ports/x11-toolkits/gtk20/Makefile
  1.4       +0 -49     ports/x11-toolkits/gtk20/files/patch-gtk_gtkiconcache.c (dead)
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Jeremy Messenger freebsd_committer 2007-11-02 20:54:11 UTC
State Changed
From-To: open->closed

Committed, thanks!