[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)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 7 03:47:34 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205958

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

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


And this is the source code where the problem occurs:

libavcodec/libx264.c:283

 283 ===>     if (x264_encoder_encode(x4->enc, &nal, &nnal, frame? &x4->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:
===>0x29671740 <x264_add8x8_idct_avx2.skip_prologue+12488>: lds    (bad),%edi
    0x29671741 <x264_add8x8_idct_avx2.skip_prologue+12489>: stc    
    0x29671742 <x264_add8x8_idct_avx2.skip_prologue+12490>: outsl 
%ds:(%esi),(%dx)
    0x29671743 <x264_add8x8_idct_avx2.skip_prologue+12491>: add    $0xe,%al


Someone can help me to fix it?

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


More information about the freebsd-multimedia mailing list