[Bug 213706] www/firefox BUS error using binary package on FreeBSD 9

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 7 16:48:23 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213706

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

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

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

DEBUG=on enables a lot of runtime checks poorly tested on FreeBSD. Better use
just debugging symbols (see below). If the stack trace isn't complete rebuild
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 += OPTIMIZED_CFLAGS
  CFLAGS += -g
  STRIP = # 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=<optimized out>,
uv_off=<optimized out>,
      y_off=<optimized out>, ctx=<optimized out>) at libavcodec/vp9.c:2719
  #2  intra_recon_8bpp (ctx=<optimized out>, y_off=<optimized out>, uv_off=32)
      at libavcodec/vp9.c:2761
  #3  0x000000082b24830c in decode_b (ctx=0x826645120, row=0, col=8,
lflvl=0x825e36960, yoff=64,
      uvoff=32, bl=BL_64X64, bp=PARTITION_NONE) at libavcodec/vp9.c:3324
  #4  0x000000082b24f19b in decode_sb (ctx=0x826645120, row=0, col=8,
lflvl=0x825e36960, yoff=64,
      uvoff=32, bl=BL_64X64) at libavcodec/vp9.c:3428
  #5  0x000000082b25ac44 in vp9_decode_frame (ctx=0x826645120,
frame=0x826882420,
      got_frame=0x82cbdd4d0, pkt=0x82cbdd468) at libavcodec/vp9.c:4181
  #6  0x000000082b08f225 in frame_worker_thread (arg=<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.

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


More information about the freebsd-gecko mailing list