Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jan 2016 03:47:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 205958] multimedia/ffmpeg libavcodec crashes with Bus error on i386 and beaglebone when using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX (i386) or  ARMv6 NEON (beaglebone black)
Message-ID:  <bug-205958-12827-btFQcWra4e@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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205958

--- Comment #2 from otacilio.neto@bsd.com.br ---
On i386 I have found that the problem is related with libx264.=20
Using gdb:

Program received signal SIGBUS, Bus error.
0x29671740 in x264_add8x8_idct_avx2.skip_prologue () from
/usr/local/lib/libx264.so.144
(gdb)=20


And this is the source code where the problem occurs:

libavcodec/libx264.c:283

 283 =3D=3D=3D>     if (x264_encoder_encode(x4->enc, &nal, &nnal, frame? &x=
4->pic:
NULL, &pic_out) < 0)
 284             return AVERROR_EXTERNAL;

And this is the asm code where the problem occurs:

Dump of assembler code from 0x29671740 to 0x29671840:
=3D=3D=3D>0x29671740 <x264_add8x8_idct_avx2.skip_prologue+12488>: lds    (b=
ad),%edi
    0x29671741 <x264_add8x8_idct_avx2.skip_prologue+12489>: stc=20=20=20=20
    0x29671742 <x264_add8x8_idct_avx2.skip_prologue+12490>: outsl=20
%ds:(%esi),(%dx)
    0x29671743 <x264_add8x8_idct_avx2.skip_prologue+12491>: add    $0xe,%al


Someone can help me to fix it?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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