From owner-freebsd-multimedia@freebsd.org Thu Nov 26 18:57:37 2015 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 55D73A3AB8C for ; Thu, 26 Nov 2015 18:57:37 +0000 (UTC) (envelope-from rank1seeker@gmail.com) 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 37A3C1CBA for ; Thu, 26 Nov 2015 18:57:37 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 34350A3AB8B; Thu, 26 Nov 2015 18:57:37 +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 33B81A3AB8A for ; Thu, 26 Nov 2015 18:57:37 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D094C1CB9 for ; Thu, 26 Nov 2015 18:57:36 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: by wmec201 with SMTP id c201so42836199wme.0 for ; Thu, 26 Nov 2015 10:57:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:importance:mime-version :content-type:content-transfer-encoding; bh=lUlMW0n0/aA2o+C6F/CqgDPTf6H8UKNnPmEqcFdOq18=; b=R67+S1oIa0eRZ6SZCt1wjtVDYtkrwMYzBPy25J9hU1uvLE+dAbotOPRqwlGF03LFfV HQAE/dfqrlWmIdSaIMVeyev1D91sik0wtYnBlYvcayD9FMDtamCf6qTPXtlwlalyfriL tMflOMA7khc/PmVkG37a9v6hHFVIMRfci0AJQ5tQk8zlS7PooguLcsx7LOZKo5R5ZJxc PZMdMvLjDzt3sKsvHzB7Wh2o31JYmFCqOwsvY6vMMJlG525vLAbFHZBQNuEixlkBX9/h TvGmIPMU1lXGGXXML/Ft3tqXl81Kb1gOqFdq8JbqeLtHcAOZi05ZP521AW9Zqai06nPP v9ig== X-Received: by 10.28.210.137 with SMTP id j131mr5863130wmg.93.1448564254902; Thu, 26 Nov 2015 10:57:34 -0800 (PST) Received: from localhost ([193.198.56.245]) by smtp.gmail.com with ESMTPSA id l128sm3947024wmf.10.2015.11.26.10.57.34 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Nov 2015 10:57:34 -0800 (PST) Date: Thu, 26 Nov 2015 19:57:19 +0100 From: To: multimedia@FreeBSD.org Subject: ffmpeg core dumps on x264 Message-ID: <20151126195719.00006061@gmail.com> Importance: high X-Priority: 1 (Highest) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 26 Nov 2015 18:57:37 -0000 I get crash upon, or ANY other operation on file with x264 codec: # ffprobe file.mp4 Bus error (core dumped) 10.2-RELEASE-p7 Architecture: freebsd:10:x86:32 #0 ff_deblock_v_luma_8_sse2 () at libavcodec/x86/h264_deblock.asm:503 503 libavcodec/x86/h264_deblock.asm: No such file or directory. in libavcodec/x86/h264_deblock.asm [New Thread 2b403080 (LWP 100169/)] Current language: auto; currently asm (gdb) bt #0 ff_deblock_v_luma_8_sse2 () at libavcodec/x86/h264_deblock.asm:503 #1 0x0000000c in ?? () #2 0x2b494f5e in ?? () #3 0x00000000 in ?? () (gdb) l 503 in libavcodec/x86/h264_deblock.asm Dump of assembler code for function ff_deblock_v_luma_8_sse2: 0x28b7ba10 : push %ebx 0x28b7ba11 : push %esi 0x28b7ba12 : sub $0x24,%esp 0x28b7ba15 : mov 0x30(%esp),%eax 0x28b7ba19 : mov 0x34(%esp),%ecx 0x28b7ba1d : mov 0x38(%esp),%edx 0x28b7ba21 : mov 0x3c(%esp),%ebx 0x28b7ba25 : mov 0x40(%esp),%esi 0x28b7ba29 : lea (%ecx,%ecx,2),%esi 0x28b7ba2c : dec %edx 0x28b7ba2d : neg %esi 0x28b7ba2f : dec %ebx 0x28b7ba30 : add %eax,%esi 0x28b7ba32 : movdqa (%esi,%ecx,1),%xmm0 0x28b7ba37 : movdqa (%esi,%ecx,2),%xmm1 0x28b7ba3c : movdqa (%eax),%xmm2 0x28b7ba40 : movdqa (%eax,%ecx,1),%xmm3 0x28b7ba45 : movd %edx,%xmm4 0x28b7ba49 : movd %ebx,%xmm5 0x28b7ba4d : pshuflw $0x0,%xmm4,%xmm4 0x28b7ba52 : punpcklqdq %xmm4,%xmm4 0x28b7ba56 : pshuflw $0x0,%xmm5,%xmm5 0x28b7ba5b : punpcklqdq %xmm5,%xmm5 0x28b7ba5f : packuswb %xmm4,%xmm4 0x28b7ba63 : packuswb %xmm5,%xmm5 0x28b7ba67 : movdqa %xmm2,%xmm6 0x28b7ba6b : movdqa %xmm1,%xmm7 0x28b7ba6f : psubusb %xmm1,%xmm6 0x28b7ba73 : psubusb %xmm2,%xmm7 0x28b7ba77 : por %xmm6,%xmm7 0x28b7ba7b : psubusb %xmm4,%xmm7 0x28b7ba7f : movdqa %xmm1,%xmm6 0x28b7ba83 : movdqa %xmm0,%xmm4 0x28b7ba87 : psubusb %xmm0,%xmm6 0x28b7ba8b : psubusb %xmm1,%xmm4 0x28b7ba8f : por %xmm6,%xmm4 0x28b7ba93 : psubusb %xmm5,%xmm4 0x28b7ba97 : por %xmm4,%xmm7 0x28b7ba9b : movdqa %xmm2,%xmm6 0x28b7ba9f : movdqa %xmm3,%xmm4 0x28b7baa3 : psubusb %xmm3,%xmm6 0x28b7baa7 : psubusb %xmm2,%xmm4 0x28b7baab : por %xmm6,%xmm4 0x28b7baaf : psubusb %xmm5,%xmm4 0x28b7bab3 : por %xmm4,%xmm7 0x28b7bab7 : pxor %xmm6,%xmm6 0x28b7babb : pcmpeqb %xmm6,%xmm7 0x28b7babf : mov 0x40(%esp),%ebx 0x28b7bac3 : pcmpeqb %xmm3,%xmm3 0x28b7bac7 : movd (%ebx),%xmm4 0x28b7bacb : punpcklbw %xmm4,%xmm4 0x28b7bacf : punpcklbw %xmm4,%xmm4 0x28b7bad3 : movdqa %xmm4,0x10(%esp) 0x28b7bad9 : pcmpgtb %xmm3,%xmm4 0x28b7badd : movdqa (%esi),%xmm3 0x28b7bae1 : pand %xmm7,%xmm4 0x28b7bae5 : movdqa %xmm4,(%esp) 0x28b7baea : movdqa %xmm3,%xmm7 0x28b7baee : movdqa %xmm1,%xmm6 0x28b7baf2 : psubusb %xmm1,%xmm7 0x28b7baf6 : psubusb %xmm3,%xmm6 0x28b7bafa : psubusb %xmm5,%xmm7 0x28b7bafe : psubusb %xmm5,%xmm6 0x28b7bb02 : pcmpeqb %xmm7,%xmm6 0x28b7bb06 : pand %xmm4,%xmm6 0x28b7bb0a : pand 0x10(%esp),%xmm4 0x28b7bb10 : movdqa %xmm4,%xmm7 0x28b7bb14 : psubb %xmm6,%xmm7 0x28b7bb18 : pand %xmm4,%xmm6 0x28b7bb1c : movdqa %xmm1,%xmm4 0x28b7bb20 : pavgb %xmm2,%xmm4 0x28b7bb24 : pavgb %xmm4,%xmm3 0x28b7bb28 : pxor (%esi),%xmm4 0x28b7bb2c : pand 0xa8ff00,%xmm4 0x28b7bb34 : psubusb %xmm4,%xmm3 0x28b7bb38 : movdqa %xmm0,%xmm4 0x28b7bb3c : psubusb %xmm6,%xmm4 0x28b7bb40 : paddusb %xmm0,%xmm6 0x28b7bb44 : pmaxub %xmm4,%xmm3 0x28b7bb48 : pminub %xmm6,%xmm3 0x28b7bb4c : movdqa %xmm3,(%esi,%ecx,1) 0x28b7bb51 : movdqa (%eax,%ecx,2),%xmm4 0x28b7bb56 : movdqa %xmm4,%xmm3 0x28b7bb5a : movdqa %xmm2,%xmm6 0x28b7bb5e : psubusb %xmm2,%xmm3 0x28b7bb62 : psubusb %xmm4,%xmm6 0x28b7bb66 : psubusb %xmm5,%xmm3 0x28b7bb6a : psubusb %xmm5,%xmm6 0x28b7bb6e : pcmpeqb %xmm3,%xmm6 0x28b7bb72 : pand (%esp),%xmm6 0x28b7bb77 : movdqa 0x10(%esp),%xmm5 0x28b7bb7d : psubb %xmm6,%xmm7 0x28b7bb81 : pand %xmm6,%xmm5 0x28b7bb85 : movdqa (%eax,%ecx,1),%xmm3 0x28b7bb8a : movdqa %xmm1,%xmm6 0x28b7bb8e : pavgb %xmm2,%xmm6 0x28b7bb92 : pavgb %xmm6,%xmm4 0x28b7bb96 : pxor (%eax,%ecx,2),%xmm6 0x28b7bb9b : pand 0xa8ff00,%xmm6 0x28b7bba3 : psubusb %xmm6,%xmm4 0x28b7bba7 : movdqa %xmm3,%xmm6 0x28b7bbab : psubusb %xmm5,%xmm6 0x28b7bbaf : paddusb %xmm3,%xmm5 0x28b7bbb3 : pmaxub %xmm6,%xmm4 0x28b7bbb7 : pminub %xmm5,%xmm4 0x28b7bbbb : movdqa %xmm4,(%eax,%ecx,1) 0x28b7bbc0 : pcmpeqb %xmm4,%xmm4 0x28b7bbc4 : movdqa %xmm1,%xmm5 0x28b7bbc8 : pxor %xmm2,%xmm5 0x28b7bbcc : pxor %xmm4,%xmm3 0x28b7bbd0 : pand 0xa8ff00,%xmm5 0x28b7bbd8 : pavgb %xmm0,%xmm3 0x28b7bbdc : pxor %xmm1,%xmm4 0x28b7bbe0 : pavgb 0xa8ff40,%xmm3 0x28b7bbe8 : pavgb %xmm2,%xmm4 0x28b7bbec : pavgb %xmm5,%xmm3 0x28b7bbf0 : movdqa 0xa90840,%xmm6 0x28b7bbf8 : paddusb %xmm4,%xmm3 0x28b7bbfc : psubusb %xmm3,%xmm6 0x28b7bc00 : psubusb 0xa90840,%xmm3 0x28b7bc08 : pminub %xmm7,%xmm6 0x28b7bc0c : pminub %xmm7,%xmm3 0x28b7bc10 : psubusb %xmm6,%xmm1 0x28b7bc14 : psubusb %xmm3,%xmm2 0x28b7bc18 : paddusb %xmm3,%xmm1 0x28b7bc1c : paddusb %xmm6,%xmm2 0x28b7bc20 : movdqa %xmm1,(%esi,%ecx,2) 0x28b7bc25 : movdqa %xmm2,(%eax) 0x28b7bc29 : add $0x24,%esp 0x28b7bc2c : pop %esi 0x28b7bc2d : pop %ebx 0x28b7bc2e : ret 0x28b7bc2f : nop End of assembler dump. (gdb) x/i $eip 0x28b7ba32 : movdqa (%esi,%ecx,1),%xmm0