Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Sep 2018 00:12:35 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Jason Selwitz <jselwitz@verizon.net>
Cc:        gecko@freebsd.org
Subject:   Re: Firefox Core dumping.
Message-ID:  <sh2r-lfak-wny@FreeBSD.org>
In-Reply-To: <9fbbef81-945a-5648-f518-e59489904297@verizon.net> (Jason Selwitz's message of "Sun, 2 Sep 2018 13:46:41 -0400")
References:  <9fbbef81-945a-5648-f518-e59489904297@verizon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Jason Selwitz <jselwitz@verizon.net> writes:

> =C2=A0Hello 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.6=
2]
   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=3D WITH_DEBUG=3D BATCH=
=3D -C /usr/ports/www/firefox
  $ make clean all deinstall install NOCLEANDEPENDS=3D WITH_DEBUG=3D BATCH=
=3D -C /usr/ports/databases/sqlite3/
  $ make clean all deinstall install NOCLEANDEPENDS=3D WITH_DEBUG=3D BATCH=
=3D -C /usr/ports/security/nss/
  $ make clean all deinstall install NOCLEANDEPENDS=3D WITH_DEBUG=3D BATCH=
=3D -C /usr/ports/devel/nspr/
  $ make clean all deinstall install NOCLEANDEPENDS=3D WITH_DEBUG=3D BATCH=
=3D -C /usr/ports/devel/libevent/
  ...
  $ make install -C /usr/ports/devel/gdb
  $ gdb firefox
  (gdb) run
  <crash happens>
  (gdb) backtrace



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