[Expired for firefox (Ubuntu) because there has been no activity for 60
days.]

** Changed in: firefox (Ubuntu)
       Status: Incomplete => Expired

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

Title:
  extremly slow startup of firefox if a nfs-share is not reachable

Status in firefox package in Ubuntu:
  Expired
Status in firefox-3.0 package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: firefox

  Firefox needs a few minutes for startup if a mounted filesystem is not
  reachable (i.e. a nfs-share).

  The "/usr/bin/firefox" wrapper-script uses "/bin/pwd" to gather the current 
working directory.
  --- Strace output 
  fstat64(3, {st_mode=S_IFDIR|0755, st_size=792, ...}) = 0
  close(4)                                = 0
  fstat64(3, {st_mode=S_IFDIR|0755, st_size=792, ...}) = 0
  fcntl64(3, F_GETFL)                     = 0x8000 (flags O_RDONLY|O_LARGEFILE)
  fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
  getdents64(3, /* 30 entries */, 4096)   = 808
  fstatat64(3, "bin", {st_mode=S_IFDIR|0755, st_size=2688, ...}, 
AT_SYMLINK_NOFOLLOW) = 0
  fstatat64(3, "dev", {st_mode=S_IFDIR|0755, st_size=13960, ...}, 
AT_SYMLINK_NOFOLLOW) = 0
  fstatat64(3, "etc", {st_mode=S_IFDIR|0755, st_size=8760, ...}, 
AT_SYMLINK_NOFOLLOW) = 0
  fstatat64(3, "lib", {st_mode=S_IFDIR|0755, st_size=5576, ...}, 
AT_SYMLINK_NOFOLLOW) = 0
  fstatat64(3, "nas",  <unfinished ...>
  ---

  The last fstat is blocking for a long time - replacing "/bin/pwd" by
  the shell-builtin "pwd" solves the problem.

  $ diff -u /usr/bin/firefox mozilla.fixed
  --- /usr/bin/firefox    2007-12-04 12:00:28.000000000 +0100
  +++ mozilla.fixed       2008-01-15 16:34:03.000000000 +0100
  @@ -106,7 +106,7 @@
     dist_bin="$curdir"
     found=1
   else
  -  here=`/bin/pwd`
  +  here=`pwd`
     while [ -h "$progname" ]; do
       bn=`basename "$progname"`
       cd `dirname "$progname"`
  ----

  Please submit this change to the firefox developer team if you think
  this change is useful....

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to