Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jan 2016 15:15:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 205958] multimedia/ffmpeg libavcodec crashes with Bus error on i386 and using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
Message-ID:  <bug-205958-12827-UADdLTLtJX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205958-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205958-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
otacilio.neto@bsd.com.br has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to
multimedia@FreeBSD.org:
Bug 205958: multimedia/ffmpeg libavcodec crashes with Bus error on i386 and
using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205958



--- Description ---
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205958-12827-UADdLTLtJX>