I'm not sure it was the same issue but I was having a problem where
opening gedit would result in 100% CPU usage. I started gedit with
strace and quickly realized my problem. I had previously opened a few
files in a directory that contains  about 65000 files:

edalquist@bohemia:~$ history |grep export/layout | grep gedit
 1956  gedit 
/home/edalquist/JavaClasses/workspace_37/UW_uPortal-HEAD/export/layout/lgkonrad.layout
 1957  gedit 
/home/edalquist/JavaClasses/workspace_37/UW_uPortal-HEAD/export/layout/cmnguyen2.layout
 1958  gedit 
/home/edalquist/JavaClasses/workspace_37/UW_uPortal-HEAD/export/layout/portal.user2.layout

Looking at strace it appears that gedit is scanning all of the files in
the /home/edalquist/JavaClasses/workspace_37/UW_uPortal-
HEAD/export/layout directory.

I renamed  /home/edalquist/JavaClasses/workspace_37/UW_uPortal-
HEAD/export to /home/edalquist/JavaClasses/workspace_37/UW_uPortal-
HEAD/export_temp and now gedit opens just fine.


Again not sure if this was the same issue but I figured more info is always 
helpful

** Attachment added: "strace-gedit.log"
   
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/575278/+attachment/2955513/+files/strace-gedit.log

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/575278

Title:
  gedit won't exit and consumes 100% CPU

Status in “gedit” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: gedit

  Start gedit and do nothing.
  Quit gedit
  check top and gedit is still in memory at at 200% CPU and system heats up.
  Kill gedit (with kill or from system monitor)
  CPU drops to normal levels.

  Let me know if you want more logs/info

  This bug is a potential system damage bug if fans in laptops and such
  can't keep up with a 100% duty cycle for extended periods.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: gedit 2.30.0git20100413-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-21-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Tue May  4 10:06:39 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: gedit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/575278/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to