Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Nov 2016 16:48:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 213706] www/firefox BUS error using binary package on FreeBSD 9
Message-ID:  <bug-213706-21738-kkEoGuW03W@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213706-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213706-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213706

Jan Beich (mail not working) <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jbeich@FreeBSD.org

--- Comment #5 from Jan Beich (mail not working) <jbeich@FreeBSD.org> ---
(In reply to Hans Petter Selasky from comment #3)
> Is it possible to reproduce this with a debug build of Firefox ?

DEBUG=3Don enables a lot of runtime checks poorly tested on FreeBSD. Better=
 use
just debugging symbols (see below). If the stack trace isn't complete rebui=
ld
every package firefox depends. Note, you may need to hack some ports (e.g.
multimedia/ffmpeg) that don't respect STRIP variable in order to disable
stripping without turning off optimized assembly.

  # Put into /etc/make.conf or /usr/ports/www/firefox/Makefile.local
  OPTIONS_UNSET +=3D OPTIMIZED_CFLAGS
  CFLAGS +=3D -g
  STRIP =3D # empty

Here's what I get after rebuilding just multimedia/ffmpeg and www/firefox:

  (gdb) bt
  #0  0x000000082b3b2330 in ff_vp9_ipred_dc_left_32x32_avx2 () from
/usr/local/lib/libavcodec.so.56
  #1  0x000000082b214f2a in intra_recon (bytesperpixel=3D<optimized out>,
uv_off=3D<optimized out>,
      y_off=3D<optimized out>, ctx=3D<optimized out>) at libavcodec/vp9.c:2=
719
  #2  intra_recon_8bpp (ctx=3D<optimized out>, y_off=3D<optimized out>, uv_=
off=3D32)
      at libavcodec/vp9.c:2761
  #3  0x000000082b24830c in decode_b (ctx=3D0x826645120, row=3D0, col=3D8,
lflvl=3D0x825e36960, yoff=3D64,
      uvoff=3D32, bl=3DBL_64X64, bp=3DPARTITION_NONE) at libavcodec/vp9.c:3=
324
  #4  0x000000082b24f19b in decode_sb (ctx=3D0x826645120, row=3D0, col=3D8,
lflvl=3D0x825e36960, yoff=3D64,
      uvoff=3D32, bl=3DBL_64X64) at libavcodec/vp9.c:3428
  #5  0x000000082b25ac44 in vp9_decode_frame (ctx=3D0x826645120,
frame=3D0x826882420,
      got_frame=3D0x82cbdd4d0, pkt=3D0x82cbdd468) at libavcodec/vp9.c:4181
  #6  0x000000082b08f225 in frame_worker_thread (arg=3D<optimized out>)
      at libavcodec/pthread_frame.c:161
  #7  0x0000000801c58dc4 in ?? () from /lib/libthr.so.3
  #8  0x00007ffff9daf000 in ?? ()

Note, my CPU does support AVX2.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213706-21738-kkEoGuW03W>