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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205958 --- Comment #2 from otacilio.neto@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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205958-12827-btFQcWra4e>
