firefox hangs on 6.2-PRERELEASE amd64

Roland Smith rsmith at xs4all.nl
Fri Nov 3 16:26:24 UTC 2006


Yesterday I updated my amd64 STABLE box to 6.2-PRERELEASE.

After the upgrade, firefox started to hang. I can reliably trigger this
my clicking on the [Manage...] button in the "Content" tab of the
preferences dialog. The same happens when trying to access some websites.

Both firefox 1.5.0.7 and 2.0 hang, which suggests something external.

I'm running a custum kernel. The only thing I added with the upgrade was:
options         HWPMC_HOOKS
device hwpmc


Running a ktrace on firefox didn't give very much;

<snip>
 14732 sh       NAMI  "/usr/local/lib/firefox/run-mozilla.sh"
 14732 sh       RET   stat 0
 14732 sh       CALL  eaccess(0x523620,0x1)
 14732 sh       NAMI  "/usr/local/lib/firefox/run-mozilla.sh"
 14732 sh       RET   eaccess 0
 14732 sh       CALL  geteuid
 14732 sh       RET   geteuid 0
 14732 sh       CALL  read(0xa,0x520fa0,0x3ff)
 14732 sh       GIO   fd 10 read 439 bytes
       "hift
              set -- "$@" "$arg"
              pass_arg_count=`expr $pass_arg_count + 1`
              ;;
          esac
        done
        
        export MRE_HOME
        
        ## Start addon scripts
        moz_pis_startstop_scripts "start"
        
        if [ $debugging = 1 ]
        then
          echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN "$\
        @"
        fi
        "$dist_bin/run-mozilla.sh" $script_args "$dist_bin/$MOZILLA_BIN" "$@"
        exitcode=$?
        
        ## Stop addon scripts
        moz_pis_startstop_scripts "stop"
        
        exit $exitcode
        # EOF.
       "
 14732 sh       RET   read 439/0x1b7
 14732 sh       CALL  madvise(0x52a000,0x1000,0x5)
 14732 sh       RET   madvise 0
 14732 sh       CALL  stat(0x525800,0x7fffffffdeb0)
 14732 sh       NAMI  "/usr/local/lib/firefox/init.d"
 14732 sh       RET   stat 0
 14732 sh       CALL  open(0x525800,0x4,0)
 14732 sh       NAMI  "/usr/local/lib/firefox/init.d"
 14732 sh       RET   open 3
 14732 sh       CALL  fstat(0x3,0x7fffffffdeb0)
 14732 sh       RET   fstat 0
 14732 sh       CALL  fcntl(0x3,0x2,0x1)
 14732 sh       RET   fcntl 0
 14732 sh       CALL  __sysctl(0x7fffffffdca0,0x2,0x800acb858,0x7fffffffdc98,0,0
)
 14732 sh       RET   __sysctl 0
 14732 sh       CALL  fstatfs(0x3,0x7fffffffdcd0)
 14732 sh       RET   fstatfs 0
 14732 sh       CALL  getdirentries(0x3,0x52b000,0x1000,0x52a028)
 14732 sh       RET   getdirentries 512/0x200
 14732 sh       CALL  getdirentries(0x3,0x52b000,0x1000,0x52a028)
 14732 sh       RET   getdirentries 0
 14732 sh       CALL  lseek(0x3,0,0,0)
 14732 sh       RET   lseek 0
 14732 sh       CALL  madvise(0x52b000,0x1000,0x5)
 14732 sh       RET   madvise 0
 14732 sh       CALL  madvise(0x52a000,0x1000,0x5)
 14732 sh       RET   madvise 0
 14732 sh       CALL  close(0x3)
 14732 sh       RET   close 0
 14732 sh       CALL  stat(0x525800,0x7fffffffdeb0)
 14732 sh       NAMI  "/root/.mozilla/firefox/init.d"
 14732 sh       RET   stat -1 errno 2 No such file or directory
 14732 sh       CALL  stat(0x523408,0x7fffffffdc70)
 14732 sh       NAMI  "/usr/local/lib/firefox/init.d/S*"
 14732 sh       RET   stat -1 errno 2 No such file or directory
 14732 sh       CALL  stat(0x523408,0x7fffffffdc70)
 14732 sh       NAMI  "/root/.mozilla/firefox/init.d/S*"
 14732 sh       RET   stat -1 errno 2 No such file or directory
 14732 sh       CALL  fork
 14732 sh       RET   fork 14736/0x3990
 14732 sh       CALL  getpgrp
 14732 sh       RET   getpgrp 14732/0x398c
 14732 sh       CALL  wait4(0xffffffff,0x7fffffffe2c4,0x2,0)
 14732 sh       RET   wait4 -1 errno 4 Interrupted system call
 14732 sh       PSIG  SIGINT caught handler=0x415fc0 mask=0x0 code=0x0
 14732 sh       CALL  sigreturn(0x7fffffffde70)
 14732 sh       RET   sigreturn JUSTRETURN
 14732 sh       CALL  wait4(0xffffffff,0x7fffffffe2c4,0x2,0)
 14732 sh       RET   wait4 14736/0x3990
 14732 sh       CALL  getpid
 14732 sh       RET   getpid 14732/0x398c
 14732 sh       CALL  kill(0x398c,0x2)
 14732 sh       RET   kill 0
 14732 sh       PSIG  SIGINT caught handler=0x415fc0 mask=0x0 code=0x0
 14732 sh       CALL  sigreturn(0x7fffffffdea0)
 14732 sh       RET   sigreturn JUSTRETURN
 14732 sh       CALL  sigprocmask(0x3,0x7fffffffe2f0,0)
 14732 sh       RET   sigprocmask 0
 14732 sh       CALL  sigaction(0x2,0x7fffffffe2b0,0x7fffffffe290)
 14732 sh       RET   sigaction 0
 14732 sh       CALL  getpid
 14732 sh       RET   getpid 14732/0x398c
 14732 sh       CALL  kill(0x398c,0x2)
 14732 sh       RET   kill 0
 14732 sh       PSIG  SIGINT SIG_DFL

After starting firefox, I see a defunct process, that's probably a child
of firefox:

16772  v0  I      0:00.00 /bin/sh /usr/local/bin/firefox
16776  v0  I      0:00.00 /bin/sh /usr/local/lib/firefox/run-mozilla.sh /usr/lo
16780  v0  S      0:01.87 /usr/local/lib/firefox/firefox-bin
16785  v0  Z      0:00.01 <defunct>

I tried attaching gdb to a running firefox-bin, but that produced an
internal error in gdb which made it dump core. :-(

Also, when starting firefox from an xterm, it produces a warning:

GConf Error: Failed to launch configuration server: Failed to execute child process "/usr/X11R6/libexec/gconfd-2" (Invalid argument)

GConf Error: Failed to launch configuration server: Failed to execute child process "/usr/X11R6/libexec/gconfd-2" (Invalid argument)

But I'm not sure if this is related.

During system startup I get the following message:

Nov  3 07:09:26 slackbox root: /etc/rc: WARNING: $compat5x_enable is not set pro
perly - see rc.conf(5).

But I'm not sure this is related either.

Help please? :-(

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061103/eb78bf46/attachment.pgp


More information about the freebsd-stable mailing list