From owner-freebsd-multimedia@freebsd.org Thu Jan 7 03:47:34 2016 Return-Path: Delivered-To: freebsd-multimedia@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 63406A65120 for ; Thu, 7 Jan 2016 03:47:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4D0341F07 for ; Thu, 7 Jan 2016 03:47:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4A622A6511F; Thu, 7 Jan 2016 03:47:34 +0000 (UTC) Delivered-To: multimedia@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 49EB6A6511E for ; Thu, 7 Jan 2016 03:47:34 +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 395371F06 for ; Thu, 7 Jan 2016 03:47:34 +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 u073lYwp012229 for ; Thu, 7 Jan 2016 03:47:34 GMT (envelope-from bugzilla-noreply@freebsd.org) 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) Date: Thu, 07 Jan 2016 03:47:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: Message-ID: In-Reply-To: References: 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-multimedia@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2016 03:47:34 -0000 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 : lds (b= ad),%edi 0x29671741 : stc=20=20=20=20 0x29671742 : outsl=20 %ds:(%esi),(%dx) 0x29671743 : add $0xe,%al Someone can help me to fix it? --=20 You are receiving this mail because: You are the assignee for the bug.=