Comment 0 for bug 517410

Revision history for this message
Bao Liang (timbao) wrote : Firefox consumes 100% CPU when select a file to open or upload

Binary package hint: firefox-3.5

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu.

lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10

2) The version of the package you are using, via 'apt-cache policy packagename' or by checking in Synaptic.

firefox:
  Installed: 3.5.7+nobinonly-0ubuntu0.9.10.1
  Candidate: 3.5.7+nobinonly-0ubuntu0.9.10.1
  Version table:
 *** 3.5.7+nobinonly-0ubuntu0.9.10.1 0
        500 http://ubuntu.cn99.com karmic-updates/main Packages
        500 http://ubuntu.cn99.com karmic-security/main Packages
        100 /var/lib/dpkg/status
     3.5.3+build1+nobinonly-0ubuntu6 0
        500 http://ubuntu.cn99.com karmic/main Packages

3) What you expected to happen
Open any website which contains something to let you upload, such as composing an email. When you try to upload, Firefox will let you make selection.

Or just select "File->Open File..." from Firefox main menu to see the file selection dialog comes up.

I am expecting selecting a file will be quite smooth operation.

4) What happened instead

It takes ~6s to get file list shown completely in "Open File" dialog. If you scroll, refresh will take another ~5s. CPU usage will be 100% .

I can use shell to do ls in the directory that Firefox opens without any problem.

Recently I moved my home from a NFS mount to a local mount.
Previous:
my home is /home1/foo while /home1 is a NFS mount
Now,
my home is still /home1/foo but it's copied from previous NFS mount. And the NFS mount is now mounted at /home2.

Will this be the cause?

ProblemType: Bug
Architecture: i386
Date: Fri Feb 5 13:33:02 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/lib/firefox-3.5.7/firefox
NonfreeKernelModules: nvidia
Package: firefox-3.5 3.5.7+nobinonly-0ubuntu0.9.10.1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: firefox-3.5
Uname: Linux 2.6.31-17-generic i686