From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100972] r600g: vaapi encoder SIGFPE Date: Mon, 08 May 2017 15:48:38 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0146989453==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 583856E26E for ; Mon, 8 May 2017 15:48:38 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0146989453== Content-Type: multipart/alternative; boundary="14942585180.FDbdf.28315"; charset="UTF-8" --14942585180.FDbdf.28315 Date: Mon, 8 May 2017 15:48:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D100972 Bug ID: 100972 Summary: r600g: vaapi encoder SIGFPE Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: martin@serafean.cz QA Contact: dri-devel@lists.freedesktop.org Created attachment 131262 --> https://bugs.freedesktop.org/attachment.cgi?id=3D131262&action=3Dedit possible fix (is 0 a valid value?) Program received signal SIGFPE, Arithmetic exception. 0x00007fffe5c86f07 in handleVAEncSequenceParameterBufferType (drv=3D0x5555557ec2b0, context=3D0x555555a42c70, buf=3D0x555555819000) at /var/tmp/paludis/media-libs-mesa-9999/work/mesa-9999/src/gallium/state_trac= kers/va/picture.c:374 374 in /var/tmp/paludis/media-libs-mesa-9999/work/mesa-9999/src/gallium/state_trac= kers/va/picture.c What happens is that h264->intra_idr_period is 0, which with current parenthesizing results in a division by 0. Command used :=20 ffmpeg -loglevel debug -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i Elephants_Dream_HD.avi -vf format=3Dnv12,hwupload -map 0:0 -map 0:1 -y -f matroska -bf 0 -c:v h264_vaapi ~/test.mkv --=20 You are receiving this mail because: You are the assignee for the bug.= --14942585180.FDbdf.28315 Date: Mon, 8 May 2017 15:48:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 100972
Summary r600g: vaapi encoder SIGFPE
Product Mesa
Version git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/r600
Assignee dri-devel@lists.freedesktop.org
Reporter martin@serafean.cz
QA Contact dri-devel@lists.freedesktop.org

Created attac=
hment 131262 [details] [rev=
iew]
possible fix (is 0 a valid value?)

Program received signal SIGFPE, Arithmetic exception.
0x00007fffe5c86f07 in handleVAEncSequenceParameterBufferType
(drv=3D0x5555557ec2b0, context=3D0x555555a42c70, buf=3D0x555555819000)
    at
/var/tmp/paludis/media-libs-mesa-9999/work/mesa-9999/src/gallium/state_trac=
kers/va/picture.c:374
374     in
/var/tmp/paludis/media-libs-mesa-9999/work/mesa-9999/src/gallium/state_trac=
kers/va/picture.c

What happens is that h264->intra_idr_period is 0, which with current
parenthesizing results in a division by 0.

Command used :=20
ffmpeg -loglevel debug -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i
Elephants_Dream_HD.avi -vf format=3Dnv12,hwupload -map 0:0 -map 0:1 -y -f
matroska -bf 0 -c:v h264_vaapi ~/test.mkv


You are receiving this mail because:
  • You are the assignee for the bug.
= --14942585180.FDbdf.28315-- --===============0146989453== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0146989453==--