maintainer-feedback requested: [Bug 200609] multimedia/ffmpeg crashes with SIGBUS on armv6
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jun 3 02:04:08 UTC 2015
Randy Westlund <rwestlun at gmail.com> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to
multimedia at FreeBSD.org:
Bug 200609: multimedia/ffmpeg crashes with SIGBUS on armv6
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200609
--- Description ---
Created attachment 157388
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157388&action=edit
poudriere build log for ffmpeg armv6
ffmpeg-2.3.6_2,1 crashes with SIGBUS on armv6.
root at beaglebone:~ # uname -a
FreeBSD beaglebone.lan 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Wed Nov 12
04:09:07 UTC 2014
root at releng1.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/BEAGLEBONE arm
Cross compiled with poudriere in a 10.1-RELEASE jail.
Options :
AACPLUS : off
ALSA : off
AMR_NB : off
AMR_WB : off
ASS : off
CDIO : off
CELT : off
DEBUG : off
DOCS : on
FAAC : off
FDK_AAC : off
FFSERVER : on
FONTCONFIG : on
FREETYPE : on
FREI0R : on
GNUTLS : on
GSM : off
ICONV : on
JACK : off
LAME : off
LIBBLURAY : off
LIBV4L : on
MODPLUG : off
OPENAL : off
OPENCV : off
OPENJPEG : off
OPENSSL : off
OPTIMIZED_CFLAGS: off
OPUS : off
PULSEAUDIO : off
RTMP : off
SCHROEDINGER : on
SDL : off
SPEEX : off
THEORA : on
VAAPI : off
VDPAU : off
VORBIS : on
VO_AACENC : off
VO_AMRWBENC : off
VPX : off
X11GRAB : off
X264 : on
X265 : off
XVID : on
The command I'm running:
root at beaglebone:~ # gdb -q ffmpeg
(gdb) r -pixel_format h264 -f v4l2 -s 640x480 -r 15 -i /dev/video0 -c copy
http://10.0.0.1/feed1.ffm
Starting program: /usr/local/bin/ffmpeg -pixel_format h264 -f v4l2 -s 640x480
-r 15 -i /dev/video0 -c copy http://10.0.0.1/feed1.ffm
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...ffmpeg version 2.3.6 Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 3 2015 01:18:01 with FreeBSD clang version 3.4.1
(tags/RELEASE_34/dot1-final 208032) 20140512
configuration: --disable-libaacplus --disable-indev=alsa
--disable-outdev=alsa --disable-libopencore-amrnb --disable-libopencore-amrwb
--disable-libass --disable-libcdio --disable-libcelt --disable-libfaac
--disable-libfdk-aac --enable-ffserver --enable-fontconfig --enable-libfreetype
--enable-frei0r --disable-libgsm --enable-iconv --disable-indev=jack
--disable-libmp3lame --disable-libbluray --enable-libv4l2 --disable-libmodplug
--disable-openal --disable-indev=openal --disable-libopencv
--disable-libopenjpeg --disable-libopus --disable-libpulse
--disable-indev=pulse --disable-outdev=pulse --disable-librtmp
--enable-libschroedinger --disable-libspeex --enable-libtheora --disable-vaapi
--disable-vdpau --enable-libvorbis --disable-libvo-aacenc
--disable-libvo-amrwbenc --disable-libvpx --enable-libx264 --disable-libx265
--enable-libxvid --enable-gnutls --disable-openssl --prefix=/usr/local
--mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --enable-shared
--enable-gpl --enable-postproc --enable-avfilter --enable-avresample
--enable-pthreads --enable-memalign-hack --disable-libstagefright-h264
--disable-libutvideo --disable-libsoxr --cc=cc
--extra-cflags='-I/usr/local/include/vorbis -I/usr/local/include'
--extra-ldflags='-L/usr/local/lib ' --extra-libs=-lpthread --disable-debug
--disable-sse --disable-mmx --disable-ffplay --disable-outdev=sdl
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Program received signal SIGBUS, Bus error.
0x207ef140 in avpriv_find_start_code () from /usr/local/lib/libavcodec.so.55
(gdb)
(gdb) bt
#0 0x207ef140 in avpriv_find_start_code () from
/usr/local/lib/libavcodec.so.55
#1 0x204cca3c in avpriv_h264_has_num_reorder_frames () from
/usr/local/lib/libavcodec.so.55
#2 0x204cca3c in avpriv_h264_has_num_reorder_frames () from
/usr/local/lib/libavcodec.so.55
It may be related to the following bug, but I don't believe those optimization
flags are enabled.
http://lists.freebsd.org/pipermail/freebsd-toolchain/2013-September/001032.html
https://llvm.org/bugs/show_bug.cgi?id=12250
Poudriere build log attached.
More information about the freebsd-multimedia
mailing list