Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Nov 2006 17:26:20 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        freebsd-stable@freebsd.org
Subject:   firefox hangs on 6.2-PRERELEASE amd64
Message-ID:  <20061103162620.GA16689@slackbox.xs4all.nl>

next in thread | raw e-mail | index | archive | help

--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D`expr $pass_arg_count + 1`
              ;;
          esac
        done
       =20
        export MRE_HOME
       =20
        ## Start addon scripts
        moz_pis_startstop_scripts "start"
       =20
        if [ $debugging =3D 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=3D$?
       =20
        ## Stop addon scripts
        moz_pis_startstop_scripts "stop"
       =20
        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,0x7fffffffdc9=
8,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=3D0x415fc0 mask=3D0x0 code=3D0x0
 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=3D0x415fc0 mask=3D0x0 code=3D0x0
 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 /us=
r/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 se=
t pro
perly - see rc.conf(5).

But I'm not sure this is related either.

Help please? :-(

Roland
--=20
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)

--IS0zKkzwUGydFO0o
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFS22sEnfvsMMhpyURAsCYAJ9hisdHHtTbOl+kHHaViKBg3cVqmgCeOS+A
cOhRkgBPWbdFWdp+2ZCJ3Ws=
=kp74
-----END PGP SIGNATURE-----

--IS0zKkzwUGydFO0o--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061103162620.GA16689>