Firefox Core dumping.

Jan Beich jbeich at FreeBSD.org
Sun Sep 2 22:12:42 UTC 2018


Jason Selwitz <jselwitz at verizon.net> writes:

>  Hello I was wondering if someone could provide a little insight or
> point me in the right direction, I'm running FreeBSD 10.4-RELEASE-p10 I
> recently performed a portupgrade on Firefox to bring it up to version
> 62.0_1,1 the upgrade went fine however now when I start it it just
> freezes and then core dumps, I have it configured with the following
> options..

portupgrade doesn't build ports in a clean environment which means you
have a chance to accidentally end up with mixed/partial upgrade where
dependencies don't match what firefox was built against. If you can't
build the whole package set against a single ports tree revision try
replacing packages one by one with those from pkg.freebsd.org until
firefox stops crashing.

Alternatively, try Firefox 63 just in case there's an upstream bug.
https://reviews.freebsd.org/D16356

> DBUS, FFMPEG, OPTIMIZED_CFLAGS, and PULSEAUDIO

These are... already default. I regularly test inside 10.4 jail but
mainly on i386 because amd64 is already overtested enough.

>
> I've tried starting it it safe mode to the same result. I would be happy
> to provide a copy of the core file or any other output that would be
> helpful.. thanks for the assistance.

core(5) files are near useless without symbols but FreeBSD doesn't have
central symbol server nor packages symbols separately. You'd have to
build Firefox itself and many library dependencies with symbols e.g.,

  $ readelf -d /usr/ports/.local/lib/firefox/libxul.so | fgrep NEED
   0x0000000000000001 (NEEDED)             Shared library: [libicui18n.so.62]
   0x0000000000000001 (NEEDED)             Shared library: [libplds4.so]
   0x0000000000000001 (NEEDED)             Shared library: [libssl3.so]
   0x0000000000000001 (NEEDED)             Shared library: [libsqlite3.so.0]
   0x0000000000000001 (NEEDED)             Shared library: [libevent-2.1.so.6]
   0x0000000000000001 (NEEDED)             Shared library: [libvpx.so.5]
  ...
  $ pkg which -o /usr/local/lib/libicui18n.so.62 /usr/local/lib/libplds4.so
  /usr/local/lib/libicui18n.so.62 was installed by package devel/icu
  /usr/local/lib/libplds4.so was installed by package devel/nspr
  ...
  $ make clean all deinstall install NOCLEANDEPENDS= WITH_DEBUG= BATCH= -C /usr/ports/www/firefox
  $ make clean all deinstall install NOCLEANDEPENDS= WITH_DEBUG= BATCH= -C /usr/ports/databases/sqlite3/
  $ make clean all deinstall install NOCLEANDEPENDS= WITH_DEBUG= BATCH= -C /usr/ports/security/nss/
  $ make clean all deinstall install NOCLEANDEPENDS= WITH_DEBUG= BATCH= -C /usr/ports/devel/nspr/
  $ make clean all deinstall install NOCLEANDEPENDS= WITH_DEBUG= BATCH= -C /usr/ports/devel/libevent/
  ...
  $ make install -C /usr/ports/devel/gdb
  $ gdb firefox
  (gdb) run
  <crash happens>
  (gdb) backtrace


More information about the freebsd-gecko mailing list