From owner-freebsd-ports-bugs@freebsd.org Wed Jan 6 15:15:50 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77C85A64DA9 for ; Wed, 6 Jan 2016 15:15:50 +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 6750F179F for ; Wed, 6 Jan 2016 15:15:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u06FFoSb077089 for ; Wed, 6 Jan 2016 15:15:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 205958] multimedia/ffmpeg libavcodec crashes with Bus error on i386 and using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX Date: Wed, 06 Jan 2016 15:15:50 +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: otacilio.neto@bsd.com.br X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org 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 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2016 15:15:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205958 Bug ID: 205958 Summary: multimedia/ffmpeg libavcodec crashes with Bus error on i386 and using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX Product: Ports & Packages Version: Latest Hardware: i386 OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: multimedia@FreeBSD.org Reporter: otacilio.neto@bsd.com.br Assignee: multimedia@FreeBSD.org Flags: maintainer-feedback?(multimedia@FreeBSD.org) libavcodec crashs with the message "Bus error" when calling avcodec_encode_video2 .=20 I am using libavcodec to encode video using AV_CODEC_ID_H264. After some ca= lls of avcodec_encode_video2 the program crashs with error=20 Bus error (imagem do n=C3=BAcleo gravada) Follow is the full log of my program: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [ota@Xbeaglebone /usr/home/ota/workspace/SOFTWARE_Espelho/ExemploWinCamServ= er]$ ./cameraserver xareu webcam 0 Versao da avutil 3546980 Versao da avcodec 3685476 Utiliando codec H264 [libx264 @ 0x29e22000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 A= VX [libx264 @ 0x29e22000] profile High, level 1.3 Conectado ao espelho em xareu OPEN Webcam configurada para: 320x240 at 25 fps Bus error (imagem do n=C3=BAcleo gravada) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This is my system: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [ota@Xbeaglebone /usr/home/ota/workspace/SOFTWARE_Espelho/ExemploWinCamServ= er]$ uname -a FreeBSD Xbeaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r292177M: Mon Dec = 14 05:35:35 BRT 2015 ota@Xbeaglebone:/usr/obj/usr/src/sys/GENERIC i386 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ffmpeg is compiled with this options: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [ota@Xbeaglebone /usr/home/ota/workspace/SOFTWARE_Espelho/ExemploWinCamServ= er]$ pkg info ffmpeg-2.8.4,1 ffmpeg-2.8.4,1 Name : ffmpeg Version : 2.8.4,1 Installed on : Wed Jan 6 11:55:17 2016 BRT Origin : multimedia/ffmpeg Architecture : freebsd:11:x86:32 Prefix : /usr/local Categories : multimedia net audio ipv6 Licenses : LGPL21 and GPLv2 Maintainer : multimedia@FreeBSD.org WWW : http://ffmpeg.org/ Comment : Realtime audio/video encoder/converter and streaming server Options : AACPLUS : off ALSA : off AMR_NB : off AMR_WB : off ASS : off BS2B : off CACA : off CDIO : off CELT : off DC1394 : off DEBUG : off DOCS : off FAAC : off FDK_AAC : off FFSERVER : on FLITE : off FONTCONFIG : on FREETYPE : on FREI0R : on FRIBIDI : off GME : off GNUTLS : on GPL3 : off GSM : off ICONV : on ILBC : off JACK : off LADSPA : off LAME : off LIBBLURAY : off MMX : on MODPLUG : off NONFREE : off OPENAL : off OPENCL : off OPENCV : off OPENGL : off OPENH264 : off OPENJPEG : on OPENSSL : off OPTIMIZED_CFLAGS: off OPUS : off PULSEAUDIO : off QUVI : off RTCPU : on RTMP : off SCHROEDINGER : on SDL : off SMB : off SNAPPY : off SPEEX : off SSE : off SSH : off THEORA : on TWOLAME : off V4L : off VAAPI : off VDPAU : off VIDSTAB : off VORBIS : on VO_AACENC : off VO_AMRWBENC : off VPX : on WAVPACK : off WEBP : off X11GRAB : on X264 : on X265 : off XCB : off XVID : on XVIDEO : off ZMQ : off ZVBI : off Shared Libs required: libX11.so.6 libXext.so.6 libtheoraenc.so.1 libschroedinger-1.0.so.0 libfreetype.so.6 libgmp.so.10 libvorbisenc.so.2 libx264.so.144 libxvidcore.so.4 libvorbis.so.0 libvpx.so.2 libopenjpeg.so.2 libfontconfig.so.1 libgnutls.so.28 libtheoradec.so.1 libXfixes.so.3 Shared Libs provided: libavfilter.so.5 libavcodec.so.56 libavdevice.so.56 libavformat.so.56 libavresample.so.2 libswresample.so.1 libpostproc.so.53 libswscale.so.3 libavutil.so.54 Annotations : cpe : cpe:2.3:a:ffmpeg:ffmpeg:2.8.4:::::freebsd11:x86 Flat size : 35.0MiB Description : FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library. WWW: http://ffmpeg.org/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D My processor is a i7 3517U and I am running this machine inside a virtual b= ox. --=20 You are receiving this mail because: You are the assignee for the bug.=