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 382DC2C4 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 20577147D for ; Wed, 3 Jun 2015 02:04:08 +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 t53247up032869 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: [Bug 200609] multimedia/ffmpeg crashes with SIGBUS on armv6 Date: Wed, 03 Jun 2015 02:04:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rwestlun@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200609 Bug ID: 200609 Summary: multimedia/ffmpeg crashes with SIGBUS on armv6 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: multimedia@FreeBSD.org Reporter: rwestlun@gmail.com Flags: maintainer-feedback?(multimedia@FreeBSD.org) Assignee: multimedia@FreeBSD.org 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@beaglebone:~ # uname -a FreeBSD beaglebone.lan 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Wed Nov 12 04:09:07 UTC 2014 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 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. -- You are receiving this mail because: You are the assignee for the bug.