From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 3 02:04:08 2015 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0FBE82C3 for ; Wed, 3 Jun 2015 02:04:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E407D147C for ; Wed, 3 Jun 2015 02:04:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t53247IN032866 for ; Wed, 3 Jun 2015 02:04:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: maintainer-feedback requested: [Bug 200609] multimedia/ffmpeg crashes with SIGBUS on armv6 Date: Wed, 03 Jun 2015 02:04:07 +0000 X-Bugzilla-Type: request Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 02:04:08 -0000 Randy Westlund has reassigned Bugzilla Automation 's request for maintainer-feedback to multimedia@FreeBSD.org: Bug 200609: multimedia/ffmpeg crashes with SIGBUS on armv6 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200609 --- Description --- Created attachment 157388 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D157388&action= =3Dedit poudriere build log for ffmpeg armv6 ffmpeg-2.3.6_2,1 crashes with SIGBUS on armv6. root@beaglebone:~ # uname -a FreeBSD beaglebone.lan 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Wed No= v 12 04:09:07 UTC 2014=20=20=20=20 root@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@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 640x4= 80 -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 sym= bols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging sym= bols 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=3Dalsa --disable-outdev=3Dalsa --disable-libopencore-amrnb --disable-libopencore-a= mrwb --disable-libass --disable-libcdio --disable-libcelt --disable-libfaac --disable-libfdk-aac --enable-ffserver --enable-fontconfig --enable-libfree= type --enable-frei0r --disable-libgsm --enable-iconv --disable-indev=3Djack --disable-libmp3lame --disable-libbluray --enable-libv4l2 --disable-libmodp= lug --disable-openal --disable-indev=3Dopenal --disable-libopencv --disable-libopenjpeg --disable-libopus --disable-libpulse --disable-indev=3Dpulse --disable-outdev=3Dpulse --disable-librtmp --enable-libschroedinger --disable-libspeex --enable-libtheora --disable-va= api --disable-vdpau --enable-libvorbis --disable-libvo-aacenc --disable-libvo-amrwbenc --disable-libvpx --enable-libx264 --disable-libx265 --enable-libxvid --enable-gnutls --disable-openssl --prefix=3D/usr/local --mandir=3D/usr/local/man --datadir=3D/usr/local/share/ffmpeg --enable-shar= ed --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --enable-memalign-hack --disable-libstagefright-h264 --disable-libutvideo --disable-libsoxr --cc=3Dcc --extra-cflags=3D'-I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags=3D'-L/usr/local/lib ' --extra-libs=3D-lpthread --disable-de= bug --disable-sse --disable-mmx --disable-ffplay --disable-outdev=3Dsdl 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)=20 (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 optimizat= ion flags are enabled. http://lists.freebsd.org/pipermail/freebsd-toolchain/2013-September/001032.= html https://llvm.org/bugs/show_bug.cgi?id=3D12250 Poudriere build log attached.=